Case Converter
Convert text to camelCase, snake_case, kebab-case, and more. Supports 13 different case formats with smart detection.
About this ToolHow it works, benefits & use casesTap to collapse
Renaming a variable or normalizing a list of identifiers usually means retyping the same words in a different shape. The Case Converter does it in one pass: type or paste any text, hit Convert, and it produces all 13 case formats at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, SCREAMING-KEBAB-CASE, Train-Case, Title Case, Sentence case, lower case, and UPPER CASE. It splits words intelligently, so it reads existing camelCase, snake_case, hyphenated, and space-separated input correctly (including separating numbers from letters) before reformatting. It also detects the case your input is already in and labels it. Each result has its own copy button and a character count, so you grab exactly the format you need. Everything runs in your browser — no upload, no sign-up.
How to Use
- 1Type or paste your text into the input box — a single word, an identifier, or a short phrase.
- 2Watch the "Detected" badge, which tells you what case the tool thinks your input is currently in.
- 3Click "Convert to all cases" (or press Cmd/Ctrl + Enter) to generate all 13 formats at once.
- 4Scan the result cards — each shows the format name, a short description, a typical use case, and a character count.
- 5Click the copy icon on the card for the exact format you need; the format matching your input is highlighted as "Current".
Key Benefits
- Generates all 13 case formats from one input in a single click
- Smart word splitting reads existing camelCase, snake_case, kebab-case, dotted, and spaced input
- Separates numbers from letters so identifiers like html5Parser split cleanly
- Auto-detects and labels the case your input is already in
- Per-format copy buttons and live character counts — take only what you need
- Title Case follows real style rules, leaving small words (a, an, the, of) lowercase mid-title
- Runs entirely in your browser with no upload or account
Common Use Cases
- Renaming a variable from snake_case to camelCase to match a JS/TS codebase
- Turning a feature title into a kebab-case URL slug or CSS class name
- Producing CONSTANT_CASE names for environment variables and config keys
- Converting a Python field to a database column or an API route path
- Creating Train-Case or SCREAMING-KEBAB-CASE strings for HTTP headers
Enter any text — we'll convert it to all 13 case formats
Quick Reference: When to Use Each Case
camelCase
For JavaScript/TypeScript variables and functions
PascalCase
For React components and class names
snake_case
For Python variables and database columns
kebab-case
For URLs, CSS classes, and file names
CONSTANT_CASE
For constants and environment variables
Title Case
For headings and proper nouns
Was this tool helpful?
Share Your Experience
Help others discover this tool!
Related tools
- Component Name GeneratorTurn a description into ranked, kind-aware component names with a file scaffold and a name validator (casing, collisions, clarity)
- Regex TesterTest and debug regular expressions
- Color ConverterConvert between HEX, RGB, HSL, and HSV
- cURL to Code ConverterConvert cURL commands to code in various languages
- HTML to MarkdownConvert HTML to Markdown
- JSON to CSVConvert JSON to CSV format
Thirteen in total: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, SCREAMING-KEBAB-CASE, Train-Case, Title Case, Sentence case, lower case, and UPPER CASE. Every conversion is generated at once, each in its own card with a copy button.
It normalizes your input before reformatting: it splits on a lowercase-to-uppercase boundary (so camelCase is read as two words), separates letters from digits, and treats underscores, hyphens, dots, slashes, and spaces as word boundaries. That means it correctly re-cases input that is already in another format.

