Case Converter
Fix text typed with Caps Lock on, capitalise a headline properly, or turn a phrase into a variable name. Choose a case and the converted text is ready to copy.
- Runs in your browser
- No sign-up
- Free to use
How to use Case Converter
- Type or paste your text into the input box.
- Select the case you want: writing styles such as Title Case, or programming styles such as snake_case.
- The converted text appears instantly on the right.
- Copy the result, or switch to another case to compare.
Case Converter features
Eleven case styles
UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, alternating and inverted.
Smart title case
Small words such as “of”, “and” and “the” stay lower case unless they start the title.
Sentence detection
Sentence case capitalises the first letter after each full stop, question mark or exclamation mark.
Programming-friendly
Identifier styles split correctly on spaces, hyphens, underscores and existing camelCase boundaries.
Unicode aware
Accented and non-Latin letters are converted correctly.
Instant and private
Conversion happens as you type, in your browser.
When to use Case Converter
- Repairing a paragraph typed accidentally in capitals.
- Formatting headlines, titles and email subject lines consistently.
- Converting column headers or labels into variable, constant or CSS class names.
- Normalising a list of names or product titles copied from different sources.
Case Converter FAQ
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of each major word, as in “The Lord of the Rings”. Sentence case capitalises only the first word of each sentence, as in ordinary prose.
Which words stay lower case in Title Case?
Short articles, conjunctions and prepositions: a, an, the, and, but, or, for, nor, of, on, in, to, at, by, as and similar. The first and last words are always capitalised.
What are camelCase, snake_case and kebab-case used for?
They are naming conventions in programming. camelCase is common for JavaScript and Java variables, PascalCase for class names, snake_case for Python and database columns, kebab-case for URLs and CSS classes, and CONSTANT_CASE for constants and environment variables.
Does it handle acronyms?
When converting to sentence or title case, the text is lower-cased first, so acronyms such as NASA become Nasa. Check proper nouns and acronyms after converting.
Will line breaks be kept?
Yes for the writing styles. For identifier styles, each line is converted separately so a list of phrases becomes a list of identifiers.
Capitalisation conventions
How text is capitalised signals what kind of text it is. Sentence case reads as normal writing. Title case marks headings and names of works, though style guides disagree on details: some capitalise every word of four letters or more, others lower-case all prepositions. This tool follows the widely used rule of keeping short function words in lower case.
In code, case carries meaning by convention. Because identifiers cannot contain spaces, multi-word names are joined with capital letters, underscores or hyphens, and each language community has settled on its own style. Converting between them is a mechanical job of finding the word boundaries and rejoining the words, which is tedious by hand and instant here.