Case Converter
Convert text between upper, lower, title, sentence, camelCase, PascalCase, snake_case and kebab-case instantly in your browser.
Related tools
All Text tools →This tool runs entirely in your browser. Nothing you enter is sent to our servers, so there is nothing for us to store or see.
About the Case Converter
Convert text between every casing convention you are likely to need: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
The programming cases do real word-boundary detection rather than just swapping separators, so XMLHttpRequest correctly becomes xml_http_request instead of the x_m_l_http_request that naive implementations produce. Mixed input containing spaces, hyphens, underscores and existing camelCase is all handled.
Title Case follows editorial style: articles, short prepositions and conjunctions are lowercased unless they are the first or last word, so you get "The Lord of the Rings" rather than "The Lord Of The Rings". Everything runs in your browser.
How to use the Case Converter
-
Paste your text
Type or paste into the left box, or drop a text file onto it.
-
Choose a case
Pick from the dropdown. The result updates immediately, so you can try several and compare.
-
Check the result
The converted text appears on the right. Your original stays untouched on the left so you can switch cases without re-pasting.
-
Copy or download
Copy puts the result on your clipboard, or download it as a text file.
Frequently asked questions
What is the difference between title case and capitalised case?
Capitalised case simply uppercases the first letter of every word. Title case follows editorial convention: it keeps articles, coordinating conjunctions and short prepositions lowercase unless they begin or end the title. So "the lord of the rings" becomes "The Lord of the Rings", not "The Lord Of The Rings".
How does it handle camelCase input like XMLHttpRequest?
It detects real word boundaries, including consecutive capitals followed by a lowercase letter. XMLHttpRequest is split into XML, Http and Request, producing xml_http_request in snake_case. A naive converter that inserts a separator before every capital would give x_m_l_http_request instead.
Which case should I use for what?
camelCase for JavaScript variables and JSON keys, PascalCase for class and component names, snake_case for Python and most SQL databases, kebab-case for URLs, CSS classes and file names, and CONSTANT_CASE for configuration values and environment variables.
Does it work with accented and non-English text?
Yes for upper and lower case, which use Unicode-aware conversion and handle accents, Greek, Cyrillic and other cased scripts correctly. The programming cases strip characters outside ASCII, because identifiers containing them are not portable across languages and tools.
Is my text uploaded anywhere?
No. Conversion happens entirely in your browser and nothing is transmitted or stored. You can disconnect from the internet after the page loads and the tool will keep working.