Case Converter

Paste or type text and get it in every case at once: UPPERCASE, lowercase, Title Case, Sentence case and the code styles. Copy the row you need. Nothing is uploaded; the conversion runs in your browser.

71 characters, 15 words, 4 uppercase and 51 lowercase letters
UPPER CASE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. IT WAS NOT A NASA PROJECT.
lower case
the quick brown fox jumps over the lazy dog. it was not a nasa project.
Title Case
The Quick Brown Fox Jumps Over the Lazy Dog. It Was Not a NASA Project.
Sentence case
The quick brown fox jumps over the lazy dog. It was not a NASA project.
Capitalized Case
The Quick Brown Fox Jumps Over The Lazy Dog. It Was Not A NASA Project.
aLtErNaTiNg cAsE
tHe QuIcK bRoWn FoX jUmPs OvEr ThE lAzY dOg. It WaS nOt A nAsA pRoJeCt.
iNVERSE cASE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. IT WAS NOT A nasa PROJECT.
camelCase
theQuickBrownFoxJumpsOverTheLazyDogItWasNotANasaProject
PascalCase
TheQuickBrownFoxJumpsOverTheLazyDogItWasNotANasaProject
snake_case
the_quick_brown_fox_jumps_over_the_lazy_dog_it_was_not_a_nasa_project
kebab-case
the-quick-brown-fox-jumps-over-the-lazy-dog-it-was-not-a-nasa-project
CONSTANT_CASE
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG_IT_WAS_NOT_A_NASA_PROJECT

What each case means

CaseExampleWhere it is used
UPPERCASETHE QUICK BROWN FOXHeadings in some designs, warnings, acronyms, constants
lowercasethe quick brown foxFixing caps lock text, email addresses, tags, slugs
Title CaseThe Quick Brown Fox Jumps over the Lazy DogHeadlines, book and article titles. Short words such as "of" and "the" stay lowercase
Sentence caseThe quick brown fox. It jumps.Normal prose, and headings in most modern style guides
Capitalized CaseThe Quick Brown Fox Jumps Over The Lazy DogNames, labels. Every word gets a capital, small words included
aLtErNaTiNgtHe qUiCk bRoWn fOxMocking or joking tone in chats and memes
camelCase, PascalCasequickBrownFox, QuickBrownFoxVariable and class names in JavaScript, Java, C#
snake_case, CONSTANT_CASEquick_brown_fox, QUICK_BROWN_FOXPython and Ruby names, database columns, environment variables
kebab-casequick-brown-foxURLs, CSS classes, file names

For the exact rules behind title and sentence case, including which small words stay lowercase and how style guides differ, see the sentence case converter. It works on one case at a time, which suits long documents.

Change case without a converter

WhereHow
Microsoft WordSelect the text and press Shift+F3 to switch between upper case, lower case and title case. Ctrl+Shift+A makes text all upper case (Microsoft)
Excel and Google Sheets=UPPER(A1), =LOWER(A1), =PROPER(A1). PROPER capitalizes every word; there is no built-in sentence case
CSStext-transform: uppercase | lowercase | capitalize; changes how text is shown, not the text itself, so copying it gives the original
JavaScripts.toUpperCase(), s.toLowerCase(), s.toLocaleUpperCase('tr')
Pythons.upper(), s.lower(), s.title(), s.capitalize(), s.swapcase(), and s.casefold() for comparisons
Shelltr '[:lower:]' '[:upper:]' < in.txt, or in Bash 4 and later ${var^^} and ${var,,}
SQLUPPER(name), LOWER(name); PostgreSQL also has INITCAP(name)

Uppercase and lowercase are not always one to one

Changing case looks simple for English, but Unicode has letters where it changes the length of the text or depends on the language. This converter uses your browser's Unicode rules, so these all behave as shown:

InputResultWhat happens
straßeSTRASSEGerman ß becomes two letters in upper case, so the text gets longer
ΟΔΟΣοδος written as οδο + ςGreek sigma has a different lowercase shape at the end of a word
file (with the fi ligature)FILEOne ligature character becomes two capitals
İstanbuli̇stanbulTurkish dotted İ becomes i plus a combining dot under the default rules. Turkish needs toLocaleLowerCase('tr')
džDŽ (upper), Dž (title)A few letters have a third, title case form

Two practical results. First, converting to upper case and back does not always return the original text. Second, to compare strings without regard to case in code, do not upper-case both sides; use a case-folding or locale-aware comparison such as Python's casefold() or JavaScript's a.localeCompare(b, undefined, { sensitivity: 'accent' }).

Questions

How do I change uppercase to lowercase without retyping?

Paste the text above and copy the "lower case" row, or "Sentence case" if you want capitals back at the start of each sentence. In Word, select the text and press Shift+F3.

Why did my acronyms stay in capitals?

With "Keep acronyms" on, a word typed in capitals inside normal text is treated as an acronym in title and sentence case. Turn the option off to lowercase everything. The upper and lower rows always change every letter.

Does it change my code or links?

Not with the Markdown option on. Fenced code, inline code, URLs, link targets and HTML tags are set aside and put back unchanged, because case matters in all of them. The code style rows (camelCase and the rest) convert every line as a name, so they ignore that option.

Is my text sent anywhere?

No. The conversion is JavaScript running on this page.

Related tools