About the Case Converter
Fix text typed with Caps Lock, format headings in Title Case or turn phrases into variable names for code. Click a button and the text is converted immediately.
Changing the capitalisation of text by hand is slow, and retyping a paragraph because Caps Lock was on is frustrating. This converter changes the case of any text in one click, for writers, students, editors, social media managers and programmers.
For normal writing it offers UPPERCASE, lowercase, Title Case and Sentence case. For code and file names it turns phrases into camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE, which are the naming styles used in JavaScript, Python, CSS and configuration files. There is also an alternating style for playful social posts. Writing styles keep your line breaks; code styles turn each line into one name, so you can convert a whole list of phrases at once.
How to use the Case Converter
- 1Paste your text.
- 2Click the case you want.
- 3Copy the converted text.
Key features
- UPPER, lower, Title and Sentence case.
- camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
- Alternating case for fun posts.
- Converts many lines at once.
- Copy the result in one click.
Practical uses
- Fixing text typed with Caps Lock on.
- Formatting headings and titles consistently.
- Turning field labels into variable or column names.
- Creating CSS class names or URL-friendly words.
Example
The line “total order amount” becomes Total Order Amount in Title Case, totalOrderAmount in camelCase, total_order_amount in snake_case and TOTAL_ORDER_AMOUNT in CONSTANT_CASE.
Tips and common mistakes
- Title Case capitalises every word; style guides such as AP or Chicago leave short words like “of” lowercase, so check important headlines by eye.
- Sentence case lowercases everything else, so restore names and acronyms such as “Lahore” or “NASA” afterwards.
- For code names, remove punctuation first so it does not end up in the identifier.
Limitations
- The converter does not know proper nouns, so it cannot keep names capitalised in Sentence case.
- Scripts without upper and lower case, such as Urdu or Arabic, are not changed.
Privacy
Conversions run in your browser. Nothing you paste is uploaded or saved.
Frequently asked questions
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every word. Sentence case only capitalises the first letter of each sentence.
What is camelCase?
Words are joined without spaces and every word after the first starts with a capital, e.g. "myVariableName".
Does it keep line breaks?
Yes for UPPER, lower, Title and Sentence case. Code styles like camelCase join the words into one name per line.
What is kebab-case used for?
Words joined with dashes, such as main-menu, are standard for CSS classes, file names and URL slugs.
Is snake_case or camelCase better?
Neither is better; follow your language’s convention. Python and SQL usually use snake_case, JavaScript and Java use camelCase.