Case Converter
Switch text or an identifier between a dozen casing styles. Word boundaries are detected from spaces, punctuation and existing camelCase, so re-casing an identifier just works.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
The fourteen targets
The Convert to selector exposes fourteen targets in two families. Word-recombining styles — camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case and path/case — split the input into words and rejoin them. Whole-text styles — UPPER, lower, Title, Sentence, Capitalise Each Word, aLtErNaTiNg and iNVERSE — transform the string as given. Title and Sentence preserve your whitespace rather than rebuilding it.
How identifiers are split into words
The word-recombining styles detect boundaries rather than relying on spaces. They split on hyphens, underscores, dots and slashes, and also at every lowercase-to-uppercase transition and at acronym boundaries, so MyHTTPComponent becomes My + HTTP + Component instead of one lump. Whole-text styles skip that splitting entirely.
Inverse and alternating work character by character
iNVERSE swaps the case of every character individually, so an accidental All Caps paste can be flipped back. aLtErNaTiNg walks the string and flips case every other alphabetic character, leaving non-letters untouched. Both act on the given characters and ignore word structure, which is what makes them useful for undoing a bad paste rather than for styling prose.
Nothing is stored or sent
The conversion is a pure string operation in this tab, so the text never leaves your browser and no network connection is needed. Nothing is logged, and no state carries between runs.
Questions
How are words detected inside an identifier?
Runs are split on spaces, hyphens, underscores, dots and slashes, and also at lowercase→uppercase transitions and acronym boundaries (e.g. "HTTPServer" → "HTTP" + "Server").
Why does Title Case not touch my camelCase?
Title Case is whitespace-preserving and works on whole words, so it capitalises each space-separated word without splitting identifiers. To re-case an identifier, use camel, snake, kebab or one of the other word-recombining targets instead.
What is the difference between Title and Capitalise Each Word?
Title lowercases the rest of each word (hELLO → Hello) and preserves spaces, while Capitalise Each Word only uppercases the first letter and leaves the remainder untouched.
Related tools
See categorySlugify
Turn a title into a clean URL slug — lowercase, hyphenated, accent-folded.
Text Statistics
Count characters, words, sentences and paragraphs, with platform limits, readability scores and reading time.
Whitespace Visualizer
Reveal spaces, tabs, line endings, non-breaking spaces and zero-width formatting characters.
Add Line Numbers
Prefix every line with a running number, with configurable start, separator, zero-padding.