Quick answer: A case converter rewrites text in another capitalization style without retyping it. This tool offers 13 styles: UPPERCASE, lowercase, Sentence case, Title Case, Capitalized Case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, aLtErNaTiNg and iNVERSE. “hello world example” becomes helloWorldExample in camelCase and hello_world_example in snake_case.
Retyping text just to change its capitalization is tedious, especially when the text is long. This tool converts it in one click. It handles everyday writing (sentence case, title case, all caps) and the naming styles programmers use for variables, files and URLs.
Fix a paragraph typed with caps lock on, format a headline, turn a phrase into a URL slug, or convert a column of names to camelCase. Your text stays in your browser.
The cases explained
- Sentence case: the first letter of each sentence is capitalized. “the cat sat. it purred.” becomes “The cat sat. It purred.”
- Title Case: major words are capitalized and short words such as “a”, “of” and “to” stay lowercase, apart from the first. “the lord of the rings” becomes “The Lord of the Rings”. Style guides differ slightly, so check the result against yours.
- Capitalized Case: every word starts with a capital letter.
- camelCase and PascalCase: words are joined with no spaces. “the quick brown fox” becomes “theQuickBrownFox” and “TheQuickBrownFox”.
- snake_case, CONSTANT_CASE, kebab-case, dot.case: words are joined with underscores, hyphens or dots. Kebab-case is the usual choice for URLs.
- aLtErNaTiNg and iNVERSE: for memes and emphasis. Alternating switches every letter, and inverse flips the case of each letter.
For the programming cases, each line of your text is converted separately, so you can paste a list and convert it all at once.
A worked example
Example. Starting from “the quick brown fox”, the tool gives “The Quick Brown Fox” in title case, “theQuickBrownFox” in camelCase, “the_quick_brown_fox” in snake_case and “the-quick-brown-fox” in kebab-case.
Case styles at a glance
| Style | Result for “hello world example” | Common use |
|---|---|---|
| UPPERCASE | HELLO WORLD EXAMPLE | Headings, acronyms |
| Title Case | Hello World Example | Titles and headlines |
| camelCase | helloWorldExample | JavaScript and Java variables |
| PascalCase | HelloWorldExample | Class and component names |
| snake_case | hello_world_example | Python and database columns |
| CONSTANT_CASE | HELLO_WORLD_EXAMPLE | Constants and environment variables |
| kebab-case | hello-world-example | URLs and CSS class names |
| dot.case | hello.world.example | Configuration keys |
Programming styles remove spaces and mark word boundaries with capitals or separators.
Common mistakes to avoid
- Trusting automatic title case for headlines. Style guides differ on small words such as “of” and “the”, so read the result before you publish.
- Using the wrong style for code. Variables, files and URLs each have conventions, for example snake_case in Python and kebab-case in web addresses.
- Converting text with names or acronyms to lowercase and forgetting to fix them, for example “NASA” or “iPhone”.
Frequently asked questions
What is the difference between title case and capitalized case?
Title case leaves small words like “and”, “of” and “the” in lowercase, as most style guides require. Capitalized case simply starts every word with a capital letter.
Can it convert code identifiers?
Yes. It splits words at spaces, punctuation and changes of case, so “myVariableName” and “my-variable-name” both convert cleanly into snake_case or camelCase.
Does it keep my line breaks?
Yes. Line breaks are preserved. The programming cases treat each line as its own identifier.
Does it work with other languages?
It works with any script that has upper and lower case, such as Latin, Greek and Cyrillic. Scripts without case, such as Arabic or Chinese, are left unchanged.
People also search for this as: change case online, uppercase to lowercase converter, title case converter, sentence case converter, camelCase converter, snake_case converter.
Sources and further reading
Formulas on this page are checked by automated tests against independent references. See how we test our tools.