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
| Method | Path | Description |
|---|---|---|
| POST | /case | change case |
| POST | /slugify | URL slug |
| POST | /transform | reverse/trim/truncate/etc |
| POST | /escape | html/url/base64/json |
| POST | /count | char/word/byte counts |
Quick start
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"}''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();{
"input": "Hello World! 2023",
"slug": "hello-world-2023"
}Pricing
Subscribe on RapidAPI. Start free; upgrade as you scale.
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 ↗