Case Converter Guide: Uppercase, Lowercase, Title Case and camelCase

What each case conversion does, a worked example cleaning an all-caps spreadsheet column, and where automatic conversion gets acronyms, brands and names wrong.

Case Converter Guide: Uppercase, Lowercase, Title Case and camelCase
Share this article:

Text rarely arrives in the case you need. A CRM export shouts every company name in capitals, a headline needs Title Case for the CMS, and a column header has to become a variable name. Retyping is slow and error-prone; a case converter does the whole block in one click.

This guide shows what each conversion in the case converter does, with real input and output, where automatic conversion gets things wrong, and how to fix the leftovers quickly.

The six conversions

Paste text into Enter Text and click a button. The result replaces the text in the same box, so copy it out or keep a copy of the original if you may want to try another style.

Button"the quick BROWN fox" becomesTypical use
UPPERCASETHE QUICK BROWN FOXShort labels, codes, constants
lowercasethe quick brown foxNormalizing tags, emails, imported data
Title CaseThe Quick Brown FoxHeadlines, product names, table headers
Sentence caseThe quick brown foxBody copy, UI labels, descriptions
camelCasetheQuickBrownFoxJavaScript variables, JSON keys
snake_casethe_quick_brown_foxPython variables, database columns

Every conversion except UPPERCASE starts by lowercasing the whole text, so stray capitals in the input never survive by accident. That is usually what you want, and occasionally the cause of the problems below.

Worked example: cleaning a shouting spreadsheet column

A CRM export has 400 rows like ACME MANUFACTURING LTD. The report needs readable names.

1. Copy the column from the spreadsheet and paste it into the converter. Line breaks are kept, so each row stays on its own line.

2. Click Title Case. ACME MANUFACTURING LTD becomes Acme Manufacturing Ltd.

3. Copy the result and paste it back as a new column next to the original.

4. Scan for the names that need a manual fix, using the list in the next section.

Four hundred names take seconds; the review takes a few minutes. That is still far faster than retyping, but the review step is not optional.

Where automatic conversion gets it wrong

The converter applies simple rules with no dictionary, so it cannot know that a word is an acronym or a brand. Here is real output for some awkward input:

InputTitle Case outputProblem
IBM partner programIbm Partner ProgramAcronyms lose their capitals
o'brien's state-of-the-art caféO'Brien'S State-Of-The-Art CaféEvery letter after an apostrophe or hyphen is capitalized, including the S of 's
the art of warThe Art Of WarShort words like "of" are capitalized; AP and Chicago style keep them lowercase
iPhone case for eBay listingIphone Case For Ebay ListingBrand names with internal capitals are flattened

Sentence case has its own limits. It capitalizes the first letter of the text and the first letter after a period followed by a space, but not after a question mark or exclamation mark:

Input:  the order shipped. is it late? yes! thanks.
Output: The order shipped. Is it late? yes! thanks.

It also lowercases every proper noun and acronym after the first word, so "paris" and "nasa" need fixing by hand.

The practical approach: convert, then search the result for the names you know are special (acronyms, brands, Mc and O' names) and fix those few by hand.

Case conversion for code

camelCase and snake_case turn readable labels into identifiers:

InputcamelCasesnake_case
user-name fielduserNameFielduser-name_field
Order Total (USD)orderTotalUsd)order_total_(usd)
ACME MANUFACTURING LTDacmeManufacturingLtdacme_manufacturing_ltd

camelCase treats any run of non-alphanumeric characters as a word break, so hyphens, spaces and underscores all work. snake_case only replaces spaces; hyphens and punctuation stay. And neither strips a trailing bracket, as the second row shows. Clean punctuation out of labels first, or use the slug generator with its Underscores (_) option, which removes punctuation and accents and produces order_total_usd from the same input.

Two warnings for code and data:

  • Do not convert URLs or code wholesale. Paths and variable names are case-sensitive on most servers and in most languages, so lowercasing a URL path or a function name can break it.
  • Accented and non-English letters are handled with JavaScript's standard rules, which cover most languages but not every locale rule, such as Turkish dotted and dotless i.

Common jobs and the button to use

  • ALL-CAPS email from a customer you want to quote: Sentence case, then fix names.
  • Headline for a blog or product page: Title Case, then lowercase short words like "of", "and" and "the" if your style guide asks for it.
  • Tags or categories with inconsistent case: lowercase, so "SEO", "Seo" and "seo" become one tag.
  • CSV headers to JSON keys: camelCase, then convert the file with the CSV to JSON converter.
  • Caps lock accident: lowercase, then Sentence case.

After converting, the word counter confirms the length is unchanged (case conversion never adds or removes words), and compare text will show every changed letter if you want to see exactly what moved. If you are converting a headline into a URL, URL slug best practices covers the rules that matter there.

Convert text case →

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word ("The Quick Brown Fox"). Sentence case capitalizes only the first letter of the text and of each new sentence after a period ("The quick brown fox").

Does it follow AP or Chicago headline style?

No. It capitalizes every word, including short ones like "of" and "the". Fix those by hand if your publication's style keeps them lowercase.

Will it keep acronyms like NASA or brands like iPhone?

No. It has no dictionary, so Title Case gives "Nasa" and "Iphone". Search the result for known acronyms and brands and fix them after converting.

Can I convert a whole list at once?

Yes. Paste one item per line and every line is converted, with line breaks preserved.

Is my text sent anywhere?

No. Conversion runs in your browser, and nothing is uploaded or stored.