Text case converter
Convert text to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPER and lower case at once.
How it works
Type or paste text and every case appears at once; click one to copy it. Words are split on spaces, punctuation, underscores, hyphens and lower-to-upper case changes, so "userIDNumber" and "user_id_number" both work.
Programming conventions: camelCase for JavaScript variables, PascalCase for classes and components, snake_case for Python and SQL, kebab-case for URLs and CSS, CONSTANT_CASE for environment variables.
Questions
- How are acronyms handled?
- "parseHTTPResponse" splits into parse, HTTP, Response. In camelCase it becomes parseHttpResponse.
- Does Title Case keep small words lower case?
- Yes: a, an, the, and, or, of, in, on, at, to and for stay lower case except at the start.
Do this in your code
The same job is one call to the APIStack API, from any language or as a tool for AI agents over MCP. The free plan includes it.
curl "https://apistack.online/api/utilities/text-case-converter/v1/camel-case?text=hello%20world%20from%20api" \
-H "x-api-key: $APISTACK_API_KEY"