Skip to content

Case Converter

Paste text and pick a case. Five text cases and five code cases, one click each, converted in your browser. Title Case follows the real rule — short prepositions stay lowercase, so you get "Gone With the Wind" and not "Gone With The Wind".

Text
Code

Runs in your browser. Nothing uploaded.

How to use it

  1. Paste your text into the left box.
  2. Pick a case. Five text cases on the left, five code cases on the right. One click each.
  3. Read the result on the right, then copy or download it.
  4. Chain conversions with “Use result as input” if you need to go from one case to another.

Changing the text re-applies whichever case is selected, so you can keep editing without clicking again.

How to convert uppercase to lowercase

Paste the text and press lower case. Every letter folds down, including accented ones, and spacing and punctuation are untouched.

This is the single most-searched version of the task, usually because someone has a block of text that arrived in capitals — a spreadsheet export, a form submission, an email from someone with caps lock on — and needs it readable.

Elsewhere:

Where How
Microsoft Word Select the text and press Shift+F3. It cycles lower → UPPER → Capitalised.
Google Docs Format → Text → Capitalisation → lowercase.
Excel =LOWER(A1). There is no Shift+F3 in Excel.
Google Sheets =LOWER(A1), same as Excel.
VS Code Select, then Ctrl+Shift+P → “Transform to Lowercase”.

How to convert lowercase to uppercase

Press UPPER CASE. Accented characters convert properly — café becomes CAFÉ rather than losing the accent, which some naive converters do.

Worth knowing before you use it on anything long: uppercase text is measurably slower to read. Lowercase letters have distinct shapes — ascenders, descenders, round bowls — and readers use those shapes to recognise words without spelling them out. Capitals are all the same height and strip that cue away. Fine for a heading of three words. Not fine for a paragraph.

Screen readers also treat some all-caps words as initialisms and spell them out letter by letter.

What each case actually is

Case Example Use it for
Sentence case The quick brown fox jumps Body text, UI labels, most headings on the modern web
lower case the quick brown fox jumps Normalising data, email addresses, tags, slugs
UPPER CASE THE QUICK BROWN FOX JUMPS Short labels, acronyms, legal notices that must be conspicuous
Title Case The Quick Brown Fox Jumps Book and article titles, headlines in AP or Chicago style
Capitalized Case The Quick Brown Fox Jumps Names, menu items, anywhere every word should be capitalised

Title Case and Capitalized Case look identical in that example, on purpose. They diverge as soon as a small word appears in the middle — which is most real titles.

Title Case, done properly

Type “the lord of the rings” into most case converters and you get The Lord Of The Rings. That is not title case. It is every word capitalised, which is Capitalized Case wearing a different label.

Real title case has rules. The tool follows AP and APA, which is the right default for anything published on the web:

  • Always capitalise the first word and the last word, whatever they are.
  • Lowercase articles: a, an, the.
  • Lowercase the coordinating conjunctions: and, but, or, nor, for, yet, so.
  • Lowercase prepositions of three letters or fewer: at, by, in, of, off, on, to, up, via.
  • Capitalise everything else, including prepositions of four letters or more.
  • Capitalise the word after a colon — it begins a new clause.

That last-but-one rule is the one nearly everyone misses.

Chicago and MLA disagree with that rule, and it is the only real split in title case. They lowercase every preposition regardless of length, so where AP writes Gone With the Wind, Chicago writes Gone with the Wind. Neither is a typo. If you are writing for a journal or a publisher, check which one they use; for a web page, AP is the safer default.

If what you actually want is a specific word — is is capitalised, is to, is and — our guide to which words to capitalise in a title has a lookup table of the words people stop on, with both conventions side by side.

Input Naive converters Correct title case
the lord of the rings The Lord Of The Rings The Lord of the Rings
gone with the wind Gone With The Wind Gone With the Wind
a tale of two cities A Tale Of Two Cities A Tale of Two Cities
what to look for in a partner What To Look For In A Partner What to Look for in a Partner
what is it for What Is It For What Is It For

Row two is the interesting one. With is a preposition, so people assume it stays lowercase — but it is four letters, so it is capitalised. That is why the film is Gone With the Wind and not Gone with the Wind. Row five shows the last-word rule overriding everything: for is normally lowercase, but it ends the title, so it is capitalised.

The tool above applies all six rules. If you specifically want every word capitalised, that is what Capitalized Case is for.

Changing case in Excel, Word and Sheets

Excel has three case functions and no button. Word has a button and no functions. Neither does title case correctly.

What you want Excel / Google Sheets Word
UPPERCASE =UPPER(A1) Shift+F3, or Home → Aa → UPPERCASE
lowercase =LOWER(A1) Shift+F3 cycles to it
Capitalized Case =PROPER(A1) Home → Aa → Capitalize Each Word
Sentence case =UPPER(LEFT(A1,1))&LOWER(MID(A1,2,LEN(A1))) Home → Aa → Sentence case
Proper Title Case No function does this No option does this

PROPER() is the one that catches people out. It is not title case — it capitalises every word, so you get The Lord Of The Rings, and it also capitalises after any non-letter, which turns o'brien into O'Brien (fine) and ID-4021 into Id-4021 (not fine). Word’s “Capitalize Each Word” has the same behaviour.

That is the gap this tool fills for spreadsheet work: copy the column, paste it here, pick Title Case, paste the result back. It is also why there is no Excel formula in that last row — doing it properly needs a word list, and a formula cannot hold one.

There is no keyboard shortcut for all caps in Excel. In Word it is Ctrl+Shift+A, and Shift+F3 cycles through the three basic cases, which is the shortcut most people are looking for.

Developer cases

Case in code is a convention, not a preference. Using the wrong one is not a style disagreement — in most codebases it is a lint error.

Case Example Where it is the convention
camelCase userIdNumber JavaScript and Java variables and functions; JSON keys in most APIs
PascalCase UserIdNumber Classes and types nearly everywhere; C# methods; React components
snake_case user_id_number Python and Ruby variables and functions; SQL columns; Rust
kebab-case user-id-number CSS classes, HTML attributes, URL slugs, npm package names
CONSTANT_CASE USER_ID_NUMBER Constants and environment variables in almost every language

The converters round-trip between all five. Paste camelCaseInput and press snake_case and you get camel_case_input, because the converter splits on capital letters as well as on separators. Paste MAX_RETRY_COUNT and press PascalCase and you get MaxRetryCount.

Two details that catch naive implementations out. Runs of separators collapse, so a b--c__d becomes a_b_c_d rather than producing empty segments. And consecutive capitals are treated as an acronym boundary, so XMLHttpRequest becomes xmlHttpRequest and not xMLHttpRequest.

Worked example

Start with a heading pasted from a spreadsheet:

ANNUAL REPORT ON THE STATE OF THE MARKET

Press Result
Sentence case Annual report on the state of the market
Title Case Annual Report on the State of the Market
Capitalized Case Annual Report On The State Of The Market
kebab-case annual-report-on-the-state-of-the-market
snake_case annual_report_on_the_state_of_the_market

Title Case keeps on, the and of lowercase. Capitalized Case does not. The kebab-case output is a usable URL slug as-is.

The Turkish i problem

Case conversion looks like the most boring operation in computing. It has one famous trap, and it is worth knowing about because it has broken real systems.

In English, the uppercase of i is I. In Turkish and Azerbaijani it is not. Those languages have two separate letters:

Lowercase Uppercase Letter
i İ Dotted i
ı I Dotless i

So on a computer set to Turkish, lowercasing ID gives ıd, not id. Code that lowercases a string before comparing it to "id" then fails — but only for Turkish users, which is why this class of bug reaches production. It has hit .NET, Java and Android apps often enough to have a name: the Turkish i problem.

This tool uses invariant casing, the English rules, regardless of your system language. That is the right default for the thing people actually paste here — headings, titles, data, code — and it means ID always lowercases to id.

The practical lesson for developers: when you lowercase a string to compare it against a fixed value, ask for the invariant rules explicitly. toLowerCase() in JavaScript and ToLowerInvariant() in C# are safe; toLocaleLowerCase() and a locale-aware ToLower() are not, for that purpose.

Why text arrives in the wrong case

Most people are here because text turned up looking wrong, not because they woke up wanting to convert case. The usual sources:

  • Form submissions and CSV exports. Names typed in all caps by users, or normalised to uppercase by a legacy system that stored everything that way.
  • Spreadsheet headers. Column names arrive as CUSTOMER_NAME and need to become Customer name for a report, or customerName for code.
  • Copy from a design file. A heading styled with CSS text-transform: uppercase looks uppercase but is not — copy it and you get the original lowercase text, or the reverse.
  • Caps lock. Still the leading cause.

That third one catches people out regularly. If text looks uppercase on a web page but pastes as sentence case, the capitals were never in the text — they were a style rule. Converting with this tool makes them real.

What this tool leaves out, deliberately

No alternating case, no inverse case, no upside-down text, no Zalgo, no Morse code, no Wingdings. Those exist on other converters and they are the reason those pages feel like an arcade rather than a tool.

There are no ads, nothing to remove ads, no browser-extension prompt, and no account. The text is converted in the page you are reading — nothing is uploaded and nothing is stored.

Things that survive a case change

Converting case changes letters and nothing else. Spacing, line breaks and punctuation come through exactly as they went in.

That includes characters you may not want. Text pasted from Word or Google Docs often carries curly quotes, non-breaking spaces and zero-width characters, and none of them are affected by a case conversion — a common surprise when the “cleaned up” text still breaks a form or a CSV import. The invisible character detector finds and strips them.

If you also need the numbers on a piece of text, the word counter gives words, characters, sentences and pages live. For turning text into a URL-safe value rather than a slug, use the URL encoder.

Frequently asked questions

How do I convert uppercase to lowercase?

Paste the text above and press "lower case". Every letter is folded down, including accented letters, and the text is otherwise untouched. In Excel the equivalent is the LOWER function; in Word it is Shift+F3, which cycles through lower, upper and capitalised.

How do I convert text to uppercase?

Paste the text and press "UPPER CASE". Accented characters are handled properly, so "café" becomes "CAFÉ" rather than losing the accent. Note that uppercase text is measurably slower to read, so it is worth avoiding for anything longer than a heading.

What is the difference between Title Case and Capitalized Case?

Capitalized Case puts a capital on every single word: "The Lord Of The Rings". Title Case follows publishing rules and keeps small words lowercase: "The Lord of the Rings". Title Case is what you want for headlines and book titles. Both are offered above because both have legitimate uses.

Which words stay lowercase in a title?

Articles (a, an, the), the coordinating conjunctions (and, but, or, nor, for, yet, so), and prepositions of three letters or fewer (at, by, in, of, on, to, up). Everything else is capitalised, including four-letter prepositions — which is why it is "Gone With the Wind". The first and last words are always capitalised no matter what they are.

What is the difference between camelCase and snake_case?

camelCase joins words with no separator and capitalises each word after the first: userIdNumber. snake_case joins them with underscores in lowercase: user_id_number. Which one you use is a language convention, not a preference — JavaScript and Java use camelCase, Python and Ruby use snake_case, CSS and URLs use kebab-case, and constants use CONSTANT_CASE in most languages.

Does converting case change my text in any other way?

No. Spacing, line breaks and punctuation are preserved exactly, and only letter case changes. The one exception is the code cases, which have to strip separators by definition. Nothing is uploaded and nothing is stored — the conversion happens in the page you are reading.

Guides that use this tool

Last updated: August 14, 2026