Case Converter
Case Converter switches text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and kebab-case, locally with zero uploads.
About this tool
Every conversion runs locally using Unicode-aware JavaScript. Title Case splits tokens while respecting minor English words (“a”, “an”, “the”, “of”, “in”, “on”, “to”, “for”, “and”); developer modes tokenize each line into alphanumeric words before joining with camel casing, underscores, or hyphens.
How to use the case converter
- Paste or type the text you want to change into the box.
- Choose one of the case buttons: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case or kebab-case.
- Read the result in the same box. The change applies to the whole text, so select only part of it first if you need a partial change.
- Copy the text, or download it as a .txt file, when it looks right.
- Use Clear to start again, or Sample to load an example and try each case.
What each case does
UPPERCASE and lowercase change every letter. Title Case capitalises the first letter of each word, leaving small connecting words such as of, and and the in lower case where usual. Sentence case capitalises only the first letter of each sentence, which suits body copy and most headlines in a newsletter.
camelCase joins words with no spaces and capitalises every word after the first, as in userProfileName. snake_case uses underscores in lower case, as in user_profile_name, and is common for database fields and Python names. kebab-case uses hyphens in lower case, as in user-profile-name, and is standard in web addresses and CSS class names.
A worked example
Paste customer invoice number for the march renewal into the box. Title Case gives Customer Invoice Number for the March Renewal. camelCase gives customerInvoiceNumberForTheMarchRenewal. snake_case gives customer_invoice_number_for_the_march_renewal. kebab-case gives customer-invoice-number-for-the-march-renewal, which you can paste straight into a web address or a file name.
Each line of a multi-line text is converted separately for the code cases, so a list of names becomes a list of identifiers, one per line, ready to paste into code.
- Turn a list of headings into Title Case before you paste them into a slide deck.
- Convert a column of product names into kebab-case for a list of web addresses.
Where people use case conversion
- Writers and editors who need headings in a house style, such as Title Case for articles.
- Developers converting a feature name into a variable, a database column or a CSS class.
- Designers and content editors fixing text that was pasted in ALL CAPS by mistake.
- Teachers and students formatting titles for reports and assignments.
- Anyone turning a messy list into consistent, readable text before publishing.
Tips and common mistakes
- Title Case rules differ between style guides. Check your guide for words such as with, from and over.
- Code cases remove spaces and punctuation, so check the output before you use it as a real identifier.
- Names with accents, such as Zoë, keep their accents in every case, so check the result against the original spelling.
- Sentence case lowercases everything after the first letter. Acronyms such as NASA will need to be fixed by hand.
- The conversion runs in your browser. Nothing is sent to us, so private text stays private.
Frequently asked questions
Word Counter
Word Counter counts words, unique words, characters without spaces, sentences, reading and speaking time, and keyword density, locally with zero uploads.
Remove Duplicate Lines
Remove Duplicate Lines strips repeated lines from any list or text file, with case-sensitive, trim-whitespace, blank-line and A-Z sort options in your browser.
Text Diff Checker
Text Diff Checker compares original and edited text side by side, counting added, removed and unchanged lines locally with zero uploads.
No matching tools. Clear the filter to see all.