String utilities: every case, slug, counts and more
Transform one string every common way at once: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, Sentence case, upper and lower; a URL slug (accents removed); reversed; trimmed and whitespace-collapsed; and counts of characters, letters, digits, words and lines. Splits identifiers like userIDValue or XMLHttpRequest correctly. Use when naming fields, files and routes or cleaning user input.
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | The string (up to 10,000 characters) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/pack/string-toolbox?text=Hello%20World%2C%20user%20profile%20ID%2042"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/pack/string-toolbox?text=Hello%20World%2C%20user%20profile%20ID%2042&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"cases": {
"camel": "helloWorldUserProfileId42",
"pascal": "HelloWorldUserProfileId42",
"snake": "hello_world_user_profile_id_42",
"kebab": "hello-world-user-profile-id-42",
"constant": "HELLO_WORLD_USER_PROFILE_ID_42",
"dot": "hello.world.user.profile.id.42",
"path": "hello/world/user/profile/id/42",
"title": "Hello World User Profile Id 42",
"sentence": "Hello world user profile id 42",
"upper": "HELLO WORLD, USER PROFILE ID 42",
"lower": "hello world, user profile id 42"
},
"slug": "hello-world-user-profile-id-42",
"reversed": "24 DI eliforp resu ,dlroW olleH",
"collapsed": "Hello World, user profile ID 42",
"counts": {
"characters": 31,
"letters": 23,
"digits": 2,
"words": 6,
"lines": 1
}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_string_toolbox, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp