Home / APIs / String Toolkit

String Toolkit API

Case conversion, slugify, escape/unescape, transforms, and string stats.

Get it on RapidAPI ↗

A collection of pure‑compute string utilities that never store your data.

Change case across 11 styles (camel, pascal, snake, kebab, constant, title, and more), generate URL-safe slugs, escape/unescape HTML, URLs, Base64, and JSON, run transforms (reverse, trim, collapse whitespace, truncate, strip accents), and count characters, words, lines, and bytes. Stateless, full-Unicode, and nothing stored — ideal for sanitizing input, generating slugs, and quick text stats.

Endpoints

MethodPathDescription
POST/casechange case
POST/slugifyURL slug
POST/transformreverse/trim/truncate/etc
POST/escapehtml/url/base64/json
POST/countchar/word/byte counts

Quick start

cURL (via RapidAPI)
curl --request curl \
  --url 'https://string-toolkit2.p.rapidapi.com/-X POST "https://string-toolkit2.p.rapidapi.com/slugify" -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: string-toolkit2.p.rapidapi.com" -H "Content-Type: application/json" -d '' \
  --header 'X-RapidAPI-Key: YOUR_KEY' \
  --header 'X-RapidAPI-Host: string-toolkit2.p.rapidapi.com' \
  --header 'content-type: application/json' \
  --data '{"text":"Hello World! 2023"}''
JavaScript (fetch)
const res = await fetch('https://string-toolkit2.p.rapidapi.com/-X POST "https://string-toolkit2.p.rapidapi.com/slugify" -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: string-toolkit2.p.rapidapi.com" -H "Content-Type: application/json" -d '', {
  method: 'curl',
  headers: {
    'X-RapidAPI-Key': 'YOUR_KEY',
    'X-RapidAPI-Host': 'string-toolkit2.p.rapidapi.com',
    'content-type': 'application/json'
  },
  body: JSON.stringify({"text":"Hello World! 2023"}')
});
const data = await res.json();
Example response
{
  "input": "Hello World! 2023",
  "slug": "hello-world-2023"
}

Pricing

Subscribe on RapidAPI. Start free; upgrade as you scale.

Basic
Free
1,000 requests / mo
Pro
$5 / mo
100,000 requests / mo
Ultra
$20 / mo
1,000,000 requests / mo
Mega
$50 / mo
2,000,000 requests / mo

Frequently asked questions

Does it handle Unicode?

Yes, all endpoints support full Unicode strings.

Are there rate limits?

Standard RapidAPI limits apply; no additional throttling.

Is the service stateless?

All operations are performed in‑memory with no persistence.

Ready to build with String Toolkit?

Grab your key on RapidAPI and start on the free tier.

Get it on RapidAPI ↗