Text rarely arrives in the case you need. A heading pasted from an email comes in ALL CAPS, a spreadsheet column holds words a database wants joined with underscores, and a title typed in a hurry has random capitalisation. Fixing it by hand is slow and easy to get wrong. A case converter takes whatever you give it and rewrites it into a chosen convention in one step. This guide explains the six formats the Case Converter produces - UPPERCASE, lowercase, Title Case, Sentence case, camelCase and snake_case - how each transformation actually works, and when to reach for each one. Everything runs in your browser, so your text is never uploaded: you paste once and copy whichever version you need.
Uppercase and lowercase
UPPERCASE turns every letter into its capital form and lowercase does the reverse; digits, spaces and punctuation are left untouched. They are the simplest conversions but among the most useful for cleanup - drop a heading someone typed with caps lock on into lowercase, or normalise a reference code to uppercase so it matches a system that treats case as significant. Because the change is purely mechanical, the original capitalisation is not stored anywhere: uppercasing and then lowercasing the same text leaves you with lowercase, not your original mix of capitals. Always convert from your source text rather than chaining one conversion onto another.
Title Case and the rules it does — and doesn't — apply
Title Case capitalises the first letter of every word and lowercases the rest, so "the great gatsby" becomes "The Great Gatsby". This is the fast, readable style for headings, book and article titles, product names and menu labels. Two details are worth knowing. First, it capitalises every word, including short ones like "a", "the", "of" and "and". Strict editorial styles such as AP and Chicago leave those small words lowercase unless they open the title, so if you are following a house style you may want to lowercase a few by hand afterwards. Second, because it lowercases the remainder of each word, an internal capital gets flattened: "iPhone" becomes "Iphone" and "McDonald" becomes "Mcdonald". For ordinary prose that is exactly right; for brand names with deliberate capitals, fix those few words after converting.
Sentence case
Sentence case rewrites the whole text in lower case and then capitalises the first letter of each sentence, detecting sentence boundaries at full stops, question marks and exclamation marks. It is the format for turning shouty or inconsistent text back into normal reading prose. Paste "THE EARTH ORBITS THE SUN. THE MOON ORBITS EARTH." and you get "The earth orbits the sun. The moon orbits earth." Because it lowercases everything first, it will not know that a place or a person's name is a proper noun, so those occasionally need a manual capital - but for cleaning up form entries, an imported CSV field or a paragraph that was pasted in caps, it does the bulk of the work instantly.
camelCase and snake_case for code
The last two formats are for programmers, where an identifier cannot contain spaces. camelCase removes the spaces and punctuation, keeps the first word lower case, and capitalises the first letter of every following word, so "user first name" becomes "userFirstName". It is the standard for variables and functions in JavaScript, Java and C#. snake_case instead joins the words with single underscores and keeps everything lower case, turning the same phrase into "user_first_name"; it is the convention for variables in Python and Ruby, for SQL and database column names, and for many configuration keys and file names. Both strip out anything that is not a letter or digit, so a messy label like "User's First-Name!" collapses to a clean identifier you can paste straight into code.
A worked example
To see all six at once, take the phrase User First Name and run it through the converter. Each format applies its own rule to the same three words:
- UPPERCASE — USER FIRST NAME
- lowercase — user first name
- Title Case — User First Name
- Sentence case — User first name
- camelCase — userFirstName
- snake_case — user_first_name
The Case Converter shows all six results side by side the moment you type, each with its own copy button, so you never have to run one conversion, undo it and try another - the exact version you need is already on screen.
Which case should you use?
The right case depends entirely on where the text is going. A quick guide to the common choices:
- Headings and titles: Title Case for a classic, emphatic look, or Sentence case for a calmer, modern one - both are common on the web, so pick one and stay consistent across a page.
- Body text, messages and captions: Sentence case, which is simply normal writing.
- Emphasis, tags and buttons: UPPERCASE, used sparingly - it reads as shouting across a paragraph but works for short labels and acronyms.
- Code variables and functions: camelCase in JavaScript, Java and C#; snake_case in Python, Ruby and SQL.
- File names and web addresses: lowercase with a separator - snake_case for files, and for a URL a hyphenated slug is the norm, which a dedicated tool like the Slug Generator will produce.
Because switching between these conventions by hand is exactly the kind of fiddly, error-prone edit that computers do perfectly, it is worth letting the tool do it. Paste your text, glance across the six versions, and copy the one that fits - then adjust only the handful of proper nouns or small words that a strict style guide requires.
Frequently asked questions
- What is the difference between Title Case and Sentence case?
- Title Case capitalises the first letter of every word - "The Quick Brown Fox" - and is used for headings, titles and product names. Sentence case capitalises only the first letter of each sentence and leaves the rest lower case - "The quick brown fox" - and is used for ordinary body text and, increasingly, for headings in an understated modern style. Title Case here capitalises even short words like "a" and "of", so if you follow AP or Chicago style you may lowercase those by hand; Sentence case does not re-capitalise proper nouns, so a name may need a manual capital.
- If I convert text to uppercase, can I get the original capitalisation back?
- No. Each conversion rewrites the letters by a fixed rule and does not remember what was there before, so switching to UPPERCASE and then to lowercase leaves everything lower case rather than restoring your original mix of capitals. Always convert from your source text rather than chaining one conversion onto another. Because the tool shows all six formats at once, each with its own copy button, you can simply copy the version you want without undoing anything.
- When should I use camelCase and when snake_case?
- Both write a multi-word identifier without spaces, and the choice is set by the language or system you are in. camelCase - "firstName" - is the convention for variables and functions in JavaScript, Java and C#. snake_case - "first_name" - is standard for variables in Python and Ruby, for SQL and database column names, and for many file names and configuration keys. Match whichever the surrounding code already uses; mixing the two in one codebase makes names harder to read and to search.