Whitespace options
Converted text
Key takeaway
Paste text and choose a case format to convert it.
- Input words
- 0
- Output characters
- 0
How this case converter works
The tool converts pasted text into the selected case format in your browser. Identifier-style formats split text into word tokens before joining them as camelCase, PascalCase, kebab-case or snake_case.
Common case formats
Uppercase, lowercase, sentence case and title case are useful for writing. camelCase, PascalCase, kebab-case and snake_case are useful for simple labels, filenames and code-like identifiers.
What this tool does not include
This is not a code formatter, grammar tool, slug SEO tool or style-guide-perfect casing engine.
Key terms and assumptionsShort notes about identifier tokens, acronyms, line breaks and browser processing.
- Identifier tokens
- camelCase, PascalCase, kebab-case and snake_case split text into word tokens from spaces, punctuation, hyphens and underscores.
- Acronyms
- Acronyms are not preserved automatically in identifier-style outputs.
- Line breaks
- When line-break preservation is enabled, conversion is applied line by line where practical.
- Browser processing
- The text is processed in the browser and does not need to be sent to a server.
Related tools
Browse the Text tools hub for more browser-based text tools.
- Title Case Converter Convert pasted titles and headings into practical title case, sentence case, uppercase or lowercase.
- Text Cleaner Clean pasted text by trimming whitespace, removing extra spaces, removing blank lines and normalising line breaks.
- Remove Duplicate Lines Remove duplicate lines from pasted text while keeping the first occurrence.
- Word Counter Count words, characters, sentences, paragraphs and estimated reading time from pasted text.
FAQs
What cases can this convert to?
It supports uppercase, lowercase, sentence case, title case, camelCase, PascalCase, kebab-case and snake_case.
Can I use this for code identifiers?
It can help with simple identifiers, but it is not a language-specific code formatter.
What happens to punctuation?
Identifier-style cases split on punctuation and join word tokens in the selected format.
Does it preserve line breaks?
It can preserve line breaks when that option is enabled.
Does it handle acronyms perfectly?
No. Acronyms and proper names may need manual review.
Is my text uploaded?
No. Conversion happens in the browser.