Text Utilities
Text manipulation tools — REST and TypeScript SDK via slug-based POST.
TypeScript SDK
Namespace: ty.text. Each slug below → ty.text.{camelCase}(body) (e.g. text-case-converter → textCaseConverter). Full table: SDK Tool Map → Text Utilities.
import { ToolYour } from "@toolyour/sdk";
const ty = ToolYour({ apiKey: process.env.TOOLYOUR_API_KEY! });
await ty.text.textCaseConverter({ text: "hello world", case: "uppercase" });
await ty.text.convertToSlug({ text: "My Blog Post Title" });
await ty.text.textStats({ text: "Paste article here…" });Base path: /api/v1/text-utilities
List tools
curl -s "https://api.toolyour.com/api/v1/text-utilities/catalog"No API key required for the catalog.
Run a tool
curl -X POST "https://api.toolyour.com/api/v1/text-utilities/text-case-converter" \
-H "Content-Type: application/json" \
-H "X-Api-Key: $API_KEY" \
-d '{"text":"hello world","case":"uppercase"}'Available slugs
text-case-converter, reverse-text, remove-spaces, remove-line-breaks, convert-to-slug, convert-to-hashtags, comma-separate, sort-words, sort-lines, repeat-text, dummy-text-generator, random-word-generator, number-to-words, words-to-number, compare-texts, text-stats, convert-to-xml-tags
Request body fields vary by tool — check the Text Utilities entries in the API reference.