TextBench Lab

Case Converter: Lowercase to Uppercase & More

Switch text to UPPERCASE, Title Case, Sentence case, camelCase, snake_case and more in one click. It runs in your browser, so your text is never uploaded.

How to use the text case converter

  1. Add your text

    Type in the top box or paste text from a document, email or code editor.

  2. Pick a case

    Click one of the case buttons. The selected one is marked, and the result appears at once.

  3. Adjust the options

    For Title, Sentence and Capitalize Each Word, tick Keep ALL-CAPS words to protect acronyms such as NASA.

  4. Copy or download

    Use Copy or Download .txt, or Use output as input to apply a second conversion.

Features

  • 13 cases

    Writing styles such as Title Case and Sentence case, plus code names such as camelCase and kebab-case.

  • Title Case with rules

    Small words like "of" and "the" stay lowercase, and hyphenated words are handled.

  • Unicode-safe

    Accented letters, German ß and non-Latin alphabets are converted without damage.

  • Fast on long text

    Hundreds of thousands of words convert instantly in your browser.

What text case means

Case is the choice between capital and small letters. The same words can look like a shout, a headline, a sentence or a variable name. This case converter switches your text between thirteen styles in one click, so you never retype anything. To check length afterwards, use the character counter or the word counter.

Lowercase to uppercase

Click UPPERCASE to turn every small letter into a capital. Numbers, symbols and spaces stay exactly where they were.

order #4521 ships on monday

becomes ORDER #4521 SHIPS ON MONDAY. Capitals suit labels, warnings and product codes, but they slow readers down in long text.

Uppercase to lowercase

Click lowercase to make every letter small. PLEASE CALL BACK BEFORE 5 PM becomes please call back before 5 pm.

Use it before you compare a list, because "Apple" and "apple" only match once both are in one case. It also fits tags, email addresses and file names, and the duplicate line remover can then drop the repeats.

Sentence case: fix text typed in all caps

Sentence case turns shouting back into normal prose: it lowercases everything, then capitalizes the first word of each sentence and the word "I".

WE MOVED THE MEETING TO FRIDAY. I WILL SEND THE NEW LINK.

becomes We moved the meeting to friday. I will send the new link.

Note "friday": all-caps text hides which words are names, so add those capitals back by hand. Leave Keep ALL-CAPS words off, or nothing changes. If caps lock reversed the letters ("tHE MEETING"), choose InVeRsE case.

Title case

Title case capitalizes the main words of a headline and keeps short words such as "a", "of" and "the" small. Capitalize Each Word is the simpler cousin: it capitalizes every word, small words included.

how to write a cover letter for a job in tech
  • Title Case: How to Write a Cover Letter for a Job in Tech
  • Capitalize Each Word: How To Write A Cover Letter For A Job In Tech

Capitalize Each Word fits names, product lists and menu items.

Which case should you use?

CaseExampleUse it for
UPPERCASESALE ENDS TODAYLabels, warnings, acronyms
lowercasesale ends todayLists, tags, email addresses
Sentence caseSale ends todayBody text, buttons, many modern headings
Title CaseSale Ends TodayArticle and book titles
camelCasesaleEndsTodayVariable names in code

Cases for code

Code names cannot contain spaces, so programmers join the words. For "Customer first name":

  • camelCase: customerFirstName
  • PascalCase: CustomerFirstName, common for class names
  • snake_case: customer_first_name
  • CONSTANT_CASE: CUSTOMER_FIRST_NAME, for constants
  • kebab-case: customer-first-name, common in URLs and CSS
  • dot.case: customer.first.name, seen in config keys

The tool converts each line separately, so a list of field names becomes a list of identifiers.

The exact rules this tool follows

Words. A word is a run of letters, digits and accent marks. An apostrophe inside a word keeps it together, so "don't" is one word.

Title Case. The first and last word of each line, and the first word after a full stop, exclamation mark, question mark or colon, always get a capital. Every other word gets one unless it is one of these small words: a, an, the, and, but, or, for, nor, on, at, to, from, by, of, in, with, as, vs, via.

In a hyphenated word, the first and last parts get capitals and small words in the middle stay small, giving "Well-Known" and "State-of-the-Art".

Sentence case. The tool lowercases everything, then capitalizes the first word of the text, of each line and of each sentence.

A sentence ends at a full stop, exclamation mark or question mark followed by a space. The word "I" and its contractions I'm, I'll, I've and I'd keep their capital.

Keep ALL-CAPS words. When you tick it, words of two or more letters that are already all capitals, such as NASA, stay as they are in Title Case, Sentence case and Capitalize Each Word.

Code cases. The tool splits each line at spaces, hyphens, underscores, dots and camelCase boundaries. It drops punctuation and apostrophes, so "it's" becomes "its".

Change case in Word, Excel and Google Docs

Each of these apps has its own case feature. Word has a Change Case button, Excel uses the formulas UPPER, LOWER and PROPER, and Google Docs has a Capitalization menu.

Excel's PROPER capitalizes every word, so it gives "The Cat In The Hat", and none of the three builds code names such as snake_case. Our guide to changing case in Word, Excel and Docs shows the exact steps. For headlines, compare title case and sentence case; for code, see camelCase, snake_case and kebab-case.

Common mistakes

Acronyms. Lowercasing first turns "NASA" into "Nasa". Tick Keep ALL-CAPS words when your text contains acronyms.

Names and brands. The tool cannot know that "iPhone" or "McDonald" has its own capitals, so it writes "Iphone" and "Mcdonald". Fix such names by hand afterwards.

Small words. Style guides disagree about which short words to lowercase, and about longer ones such as "from" or "with".

This tool uses the list above. For formal work, check your own style guide.

Abbreviations in Sentence case. A full stop followed by a space starts a new sentence, so "see e.g. this one" becomes "See e.g. This one".

Your text stays private

The conversion runs entirely in your browser. Your text is not uploaded or stored, and you need no account. The privacy policy explains how the site handles data.

Frequently asked questions

How do I change lowercase to uppercase?

Paste your text into the top box and click UPPERCASE. Every letter becomes a capital at once, and you can copy the result or download it as a .txt file.

How do I convert uppercase to lowercase?

Click lowercase to make every letter small. If you want readable sentences instead, click Sentence case, which also puts a capital at the start of each sentence.

What is the difference between title case and sentence case?

Title case capitalizes the main words of a heading, as in "The Cat in the Hat". Sentence case capitalizes only the first word and names, as in "The cat in the hat".

How do I fix text that was typed in all caps?

Choose Sentence case and leave Keep ALL-CAPS words off. Then add capitals back to names by hand. If caps lock reversed every letter, InVeRsE case restores it.

Does it work with text copied from Word or Excel?

Yes. Paste a paragraph from Word or a column of cells from Excel. The tool keeps line breaks, so each cell stays on its own line, but bold and fonts are not kept.

What happens to acronyms like NASA?

UPPERCASE keeps them. lowercase, Sentence case and Title Case lowercase them to "nasa" or "Nasa", unless you tick Keep ALL-CAPS words, which leaves words of two or more capitals as they are.

What is the difference between Title Case and Capitalize Each Word?

Capitalize Each Word puts a capital on every word. Title Case follows the headline style and keeps small words such as "of", "the" and "and" lowercase, unless they come first or last.

How are code cases such as snake_case created?

The tool splits each line into words at spaces, hyphens, underscores, dots and camelCase boundaries, drops punctuation, and joins the words in the style you picked.

Does it work with accented letters and other languages?

Yes. It uses your browser's Unicode case rules, so é becomes É and ß becomes SS in capitals. Languages with their own rules, such as Turkish, follow the standard mapping.

Is my text uploaded or saved?

No. The conversion runs in your browser. Your text is not sent to a server and is not stored, so it disappears when you close or refresh the page.

Which style guide does Title Case follow?

It uses one simple, documented rule set for the small words listed on this page. Style guides such as AP, APA and Chicago differ in details, so check your own guide for formal work.

Related guides