π Case Converter β Change Text Case Instantly
Paste text and pick a case style. Conversion happens instantly on your device with no uploads.
What this tool does
The case converter rewrites text into nine common casing styles: uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Buttons apply the transformation immediately, and the original text remains in the input box so you can try another style.
It is aimed at everyday writing and development tasks: preparing a heading, turning a label into a variable name, or converting a list of CSS class names without retyping them.
When to use it
- Converting a phrase into camelCase or snake_case for code identifiers.
- Standardising headings in title case or sentence case.
- Turning labels into kebab-case for CSS classes or URL slugs.
- Changing a block of shouted uppercase text back into readable lowercase.
How it works
- Paste or type your text into the input box.
- Click one of the case style buttons to transform the text.
- The result appears instantly. Everything runs locally in your browser.
Worked example
Paste hello world and choose Title Case to get Hello World. Choosing camelCase instead produces helloWorld, while snake_case produces hello_world and kebab-case produces hello-world. Switching between them takes one click and leaves the input unchanged for comparison.
- "hello world" to Title Case becomes "Hello World".
- "Hello World" to camelCase becomes "helloWorld".
- Use snake_case for variable names or kebab-case for CSS classes and slugs.
Accuracy and limitations
- Word splitting is based on spaces, punctuation and existing capital letters. Acronyms and unusual identifiers can produce unexpected splits or lowercased letters.
- The converter is not locale-aware for languages with special capitalisation rules, and it does not preserve rich formatting such as bold or links.
- Casing is a presentation change only. Renaming a variable or class also requires updating every place that references it.
Privacy and data handling
Conversion happens entirely in your browser. The text you paste is never uploaded, logged or stored by the site.
Frequently asked questions
Is my text uploaded to a server?
No. All conversion happens entirely in your browser using JavaScript. Your text never leaves your device.
What is Title Case?
Title Case capitalizes the first letter of each word, which is common for headings, titles, and button labels.
Does it handle punctuation and multiple spaces?
Yes. The converters extract words carefully and produce clean results for the chosen style.
Which casing styles are supported?
Uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
Does it keep line breaks?
Line breaks are preserved for the whole-text styles. Identifier styles may reflow the text because they treat whitespace as a word separator.
Related tools
More Text tools βWord Counter
Count words and characters with reading time and keyword highlights.
Remove Duplicate Lines
Remove duplicate lines and keep only unique entries.
Extract Emails & URLs
Pull every email address and URL out of a block of text in one click.
Reading Level Analyzer
Check how easy a text is to read with Flesch scores and grade levels.