Text arrives in the wrong case all the time: a heading pasted from a PDF in all capitals, a spreadsheet column of names typed in lowercase, or a list of labels that needs to become variable names. Retyping is slow and error-prone. This case converter does it instantly and keeps your line breaks intact.
Common jobs it handles
- Headlines and titles. Turn “how to grow tomatoes in small spaces” into “How to Grow Tomatoes in Small Spaces” using headline rules, not just a capital on every word.
- Cleaning up data. Normalise names, cities or product titles before importing them into a CRM or online shop.
- Writing code. Convert a phrase like “user account id” into userAccountId, UserAccountId, user_account_id or user-account-id depending on the language or framework.
- Social and design text. Alternating and inverse case are popular for memes and playful captions.
How to use the Case Converter
- Paste your text into the Text to convert box.
- Click the case you want, for example Title Case for a headline or snake_case for a database column.
- Check the Result box. It updates as you edit the input, so you can fix typos without starting over.
- Click Copy result, or Download .txt to save it. Use Use result as input to chain conversions.
Features
- 13 styles: UPPERCASE, lowercase, Title Case, Sentence case, Capitalized Case, aLtErNaTiNg, iNVERSE, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case.
- Title Case follows headline style: short words such as “a”, “of” and “the” stay lowercase unless they start or end the title.
- Brand names and acronyms with inner capitals, such as iPhone or YouTube, are left as they are in Title Case.
- Programming styles split words smartly, so “parseHTTPResponse” becomes parse_http_response, and each line converts separately.
- Works with accented and non-Latin letters, using your browser’s Unicode-aware case rules.
Frequently asked questions
What is the difference between Title Case and Capitalized Case?
Capitalized Case puts a capital on the first letter of every word. Title Case is what newspapers and blogs use for headlines: it leaves short words like “and”, “in” and “of” lowercase unless they are the first or last word.
How do I fix text I typed with caps lock on?
Paste it in and choose Sentence case. It lowercases everything, then capitalises the first letter of each sentence and the word “I”. You may still need to recapitalise names by hand.
Which case should I use for code?
It depends on the language’s conventions. JavaScript and Java use camelCase for variables and PascalCase for classes. Python and SQL usually use snake_case. Constants are often CONSTANT_CASE, and URLs and CSS classes use kebab-case.
Can I convert many lines at once?
Yes. Paste a whole list. Text styles keep your line breaks, and programming styles convert each line into its own identifier, so a list of column names becomes a list of snake_case names.
Written by Dewan Razib