Utilities

Text Utilities

Transform or analyze text: slugify, count words, change case, reverse, base64, URL-encode and hash. Also accepts POST with a JSON body {"text": "..."} for longer input (10,000 characters max).

GET/api/text?op=&text=

Query parameters

NameTypeRequiredDescription
opstringRequiredOne of: slugify, count, case, reverse, base64encode, base64decode, urlencode, urldecode, hash.
textstringRequiredThe input text (GET only; use a JSON body for POST).
stylestringOptionalFor op=case: upper, lower, title, sentence, camel, pascal, snake or kebab.
algorithmstringOptionalFor op=hash: md5, sha1, sha256 or sha512. Default sha256.

Try it

Saved only in this browser. Requests use your key and count toward your quota. Get a key

GET /api/text

Example request

curl "https://your-app.com/api/text?op=slugify&text=Hello%20World!%20It's%20me" \
  -H "x-api-key: YOUR_API_KEY"

Response

{ "result": "hello-world-it-s-me" }

// op=count
{
  "characters": 25,
  "charactersNoSpaces": 21,
  "words": 5,
  "sentences": 2,
  "lines": 1,
  "readingTimeMinutes": 1
}