Case Converter
Convert text between camelCase, snake_case, kebab-case, PascalCase, and every other common format.
Input
————————————About this tool
A free case converter that handles every common text format programmers and writers use. Paste any text in any case — the tool intelligently splits it into words and shows all 12 conversions side by side, ready to copy.
How to use it
Quick steps to get the most out of this utility.
- 1
Paste any text
Works with text in any existing case — the tool detects word boundaries automatically.
- 2
See all conversions
Twelve different case formats appear immediately, each with its own copy button.
- 3
Copy what you need
Click the Copy button on any row to put that conversion on your clipboard.
Why naming conventions matter
Every programming community has its preferred conventions. Mixing them in one codebase creates friction that slows everyone down. JavaScript uses camelCase for variables and PascalCase for classes. Python uses snake_case for variables. Constants are usually CONSTANT_CASE everywhere. URLs and CSS class names are usually kebab-case.
When you migrate data, generate code, or build slugs from titles, converting between cases is something you do constantly. Doing it by hand for one identifier is fine. Doing it for a list of fifty is the kind of repetitive work that the case converter exists to eliminate.
Frequently asked questions
Where is each case typically used?+
camelCase: JavaScript variables and functions. PascalCase: React components and TypeScript types. snake_case: Python and database columns. CONSTANT_CASE: environment variables and constants. kebab-case: URLs and CSS classes.
Can it handle mixed input like "myVariableName"?+
Yes. The tool splits camelCase and PascalCase input by detecting case transitions (lowercase→uppercase). It also splits on spaces, hyphens, underscores, and dots.
What is Train-Case?+
Train-Case is HTTP-Header-Style — capitalized words joined by hyphens. Used in HTTP headers (Content-Type, X-Forwarded-For) and occasional UI conventions.
Why does the tool sometimes lowercase letters that were uppercase in my input?+
Each conversion enforces its own case rules. snake_case is always lowercase. CONSTANT_CASE is always uppercase. To preserve original casing exactly, use one of the formats that matches it (Title Case, lowercase, UPPERCASE, etc.).
Keep exploring
More utilities and reading from Toolisk.