What is a text case converter?
“Case” is the word for whether letters are upper or lower, and a case converter rewrites text from one convention to another in one click. The conventions look trivial until you meet them in the wrong place: a headline typed in all capitals, a variable name written with spaces, a database column that needs underscores, a URL slug that needs hyphens. Fixing any of these by hand is slow and error-prone; a converter does it instantly and consistently.
The cases this tool handles cover the real ones. UPPERCASE and lowercase are the obvious pair. Sentence case capitalises the first letter of each sentence, the way normal prose works. Title Case capitalises the important words in a headline and leaves small words — a, an, the, and, of — in lowercase, the way style guides require — and you can pick the guide: AP, Chicago, APA or MLA, because they disagree on the details (see the table below). Capitalized Words capitalises every word, which is what some headings and labels want. Then the programmer’s cases: camelCase for JavaScript variables, PascalCase for class names, snake_case for Python and database columns, SCREAMING_SNAKE_CASE for constants, kebab-case for URLs and CSS classes, and dot.case for config keys. Slugify turns a title into a clean URL slug, and Inverse flips every letter’s case — the one-click fix for text typed with Caps Lock on. The alternating case button is there for fun — and for the occasional meme.
How to convert text case
- Paste your text into the box — a headline, a variable name, a sentence, a whole paragraph, or a list with one item per line — or upload a .txt or .md file. The counts under the box update with every keystroke.
- Pick a style guide for Title Case if your publisher or teacher asks for one — AP, Chicago, APA or MLA. The note under the dropdown tells you how the chosen style differs.
- Click the case you want. The result appears immediately, with the line, word and character counts underneath. Typing more text re-runs the same conversion live, so you can keep editing without clicking again.
- Copy the result, download it as a .txt file, or load it back as the input to chain another conversion — Title Case first, then Slugify, for example.
Lists stay lists: paste several lines and every line is converted in place — line breaks are preserved, and Sentence case and Title Case treat the start of each line as the start of a new sentence or title, so a small word like “the” at the start of a list item is still capitalised. Slugify is the one exception: it produces one slug per line, so a list of titles becomes a list of slugs. The stats line under the result shows how many lines you pasted.
Title Case by style guide: AP, Chicago, APA, MLA
“Title Case” is not one rule — it is four, and they disagree on exactly the words that trip people up. All four agree on the basics: capitalise the first and last word, capitalise nouns, verbs, adjectives, adverbs and pronouns, and lowercase articles (a, an, the). The differences are in the small words:
| Rule | AP | Chicago | APA | MLA |
|---|---|---|---|---|
| Prepositions of 4+ letters (through, with, over) | Capitalised | Lowercase | Capitalised | Lowercase |
| Short prepositions (in, on, of, to) | Lowercase | Lowercase | Lowercase | Lowercase |
| Coordinating conjunctions (and, but, or, nor, for, so, yet) | All lowercase | “yet” and “so” capitalised | All lowercase | All lowercase |
| “as” and “if” | Lowercase | “as” lowercase, “if” capitalised | Lowercase | Capitalised |
| Last word always capitalised? | Yes | Yes | No — a trailing preposition stays lowercase | Yes |
| Example: “a walk through the woods” | A Walk Through the Woods | A Walk through the Woods | A Walk Through the Woods | A Walk through the Woods |
| Example: “what we wished for” | What We Wished For | What We Wished For | What We Wished for | What We Wished For |
Which one should you use? If nobody specified a style, AP is the safe default for news and web headlines, Chicago for books, APA for academic papers and MLA for humanities essays. The converter also keeps acronyms and brands as written — NASA stays NASA, iPhone stays iPhone — in Title Case and Sentence case, and it capitalises every part of a hyphenated compound (well-known → Well-Known) while keeping a small word inside it lowercase (mother-in-law → Mother-in-Law). No automatic tool knows every proper noun, so give names a quick look before you publish.
Four everyday uses
1. Fixing headlines and titles
A headline pasted from a document often arrives in the wrong case — all capitals from a shouty source, or all lowercase from a casual one. Title Case is the fix, and the small-words rule is what makes it look professional rather than mechanical: “The Quick Brown Fox Jumps over the Lazy Dog” is correct, because “over” and “the” stay lowercase. Without that rule, every word gets capitalised and the headline looks like a ransom note.
2. Renaming variables, files and database columns
Code has strict naming rules and no patience for spaces. A variable written as “user name” must become userName in JavaScript, user_name in Python, UserName for a class, and user-name for a URL slug or a CSS class. Converting by hand means retyping and introduces typos; converting with the tool means the name is right in every convention, first time.
3. Cleaning up pasted text
Text copied from PDFs, chat messages and old documents often arrives in ALL CAPS or all lowercase. Sentence case restores normal prose in one click: the first letter of each sentence is capitalised and the rest is lowered. It is the fastest way to make pasted text presentable before it goes into an email, a document or a form.
4. Preparing URLs, file names and code names
Web addresses and file names cannot contain spaces, and code cannot contain them either — but the names usually start life as plain words. Slugify turns “Hello World! My New Post” into hello-world-my-new-post, ready for a URL. The same words become MAX_RETRIES for a constant with SCREAMING_SNAKE_CASE, app.name.version for a config key with dot.case, and maxRetries for a JavaScript variable with camelCase. One source phrase, every convention, no retyping — and because Slugify works line by line, a list of article titles becomes a list of slugs in one pass.
Common mistakes to avoid
- Using UPPERCASE for whole paragraphs. All-caps text is harder to read and reads as shouting. Reserve it for short labels and warnings, and use sentence case for everything else.
- Capitalising small words in titles. “The Lord Of The Rings” looks wrong because “of” and “the” should stay lowercase in title case. The converter handles this for you.
- Mixing naming conventions in one project. Pick camelCase or snake_case for a codebase and stick to it. Mixed conventions are a reliable sign of a project that grew without a style guide.
- Putting spaces in URLs and file names. Spaces in a URL become %20 and break in emails; spaces in file names break scripts. Use kebab-case for URLs and snake_case for files.
- Forgetting that case can change meaning. In most programming languages,
Useranduserare different things. Converting case on code identifiers is a rename, not a cosmetic change — check every use.
One last habit worth building: convert the text before you paste it, not after. Fixing case inside a document means hunting through paragraphs for the one headline that is still shouting; fixing it in the converter means the text arrives correct and stays correct. The same applies to code — run the rename through the converter and paste the result, rather than retyping a variable name from memory and introducing a typo that only shows up at runtime, when the program complains that userName is not defined because you actually typed username somewhere else.
Frequently asked questions
- What is the difference between Title Case and Capitalized Words?
- Title Case leaves small words (a, an, the, and, of, in, on, for, to) in lowercase unless they are the first or last word. Capitalized Words capitalises every word. Style guides use Title Case for headlines; Capitalized Words is for labels and some headings.
- When should I use snake_case vs kebab-case?
- snake_case (underscores) for Python variables, database columns and file names. kebab-case (hyphens) for URLs, CSS classes and HTML attributes — hyphens are the web’s convention, and search engines treat them as word separators.
- Does the converter change numbers or punctuation?
- No. Numbers, punctuation and symbols pass through unchanged. Only letters change case, and word boundaries are detected so camelCase and snake_case split correctly.
- Can I convert a whole document at once?
- Yes — paste the whole text and pick a case, or upload a .txt or .md file. Sentence case works on paragraphs; the other cases work on any length of text. For very long documents, convert in sections so you can check the result, then download the result as a .txt file.
- Which Title Case style should I use — AP, Chicago, APA or MLA?
- Use the style your publisher, teacher or newsroom asks for. If nobody specified one, AP is the safe default for news and web headlines, Chicago for books, APA for academic papers and MLA for humanities essays. The visible differences are small: AP and APA capitalise prepositions of 4 letters or more (Through, With), Chicago and MLA keep every preposition lowercase, and APA leaves a preposition at the end of a title lowercase (“What We Wished for”).
- Can I upload a file instead of pasting?
- Yes. Upload a plain .txt or .md file and its text is loaded into the converter. The file is read in your browser and never sent anywhere. You can also download the converted result as a .txt file, or load the result back as the input to chain another conversion.
- What is Slugify, and when do I need it?
- Slugify turns a title into a URL slug: lowercase, spaces become hyphens, punctuation and accents are stripped. “Hello World! My New Post” becomes “hello-world-my-new-post”. Use it for article URLs, file names and anywhere a web address must contain only letters, numbers and hyphens. One slug is produced per line, so a pasted list of titles becomes a list of slugs.
- Does the converter keep acronyms like NASA and brands like iPhone?
- Yes, in Title Case and Sentence case. A small built-in list of common acronyms and brands (NASA, IBM, iPhone, iOS, eBay, Wi-Fi) is kept as written, and any word you type in full capitals or with an internal capital is preserved too. No tool can know every proper noun, so check names in formal or publication-ready text.
- Is this case converter free?
- Yes. No account, no limits, and everything runs in your browser.
Privacy
Your text is converted locally in your browser and never sent to a server. Paste with confidence — close the tab and it is gone.
Worked example: one messy headline, every case
Take the headline “the quick brown fox jumps over the lazy dog” and run it through each case, so you can see exactly what changes:
| Case | Result | Use it for |
|---|---|---|
| UPPERCASE | THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG | Short warnings and labels |
| lowercase | the quick brown fox jumps over the lazy dog | Normalising messy input |
| Sentence case | The quick brown fox jumps over the lazy dog | Prose and emails |
| Title Case | The Quick Brown Fox Jumps over the Lazy Dog | Headlines and article titles |
| Capitalized Words | The Quick Brown Fox Jumps Over The Lazy Dog | Labels and some headings |
| camelCase | theQuickBrownFoxJumpsOverTheLazyDog | JavaScript variables |
| PascalCase | TheQuickBrownFoxJumpsOverTheLazyDog | Class and component names |
| snake_case | the_quick_brown_fox_jumps_over_the_lazy_dog | Python variables, database columns |
| kebab-case | the-quick-brown-fox-jumps-over-the-lazy-dog | URLs, file names, CSS classes |
| SCREAMING_SNAKE_CASE | THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG | Constants, environment variables |
| dot.case | the.quick.brown.fox.jumps.over.the.lazy.dog | Config keys, namespaces |
| Slugify | the-quick-brown-fox-jumps-over-the-lazy-dog | URL slugs, one per line |
| Inverse | THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG | Fixing Caps Lock text |
Notice the two details that separate a good converter from a naive one. First, Title Case leaves “over” and “the” in lowercase, because style guides treat them as small words — a converter that capitalises everything produces “The Quick Brown Fox Jumps Over The Lazy Dog”, which a copy editor would correct. Second, camelCase and the programmer’s cases split on word boundaries first, so “userName” and “user_name” and “user-name” all convert cleanly to each other instead of producing “username” or “userName” with the seam in the wrong place.
A practical workflow: when you inherit a project, pick one naming convention and convert everything to it in one pass — file names to kebab-case, database columns to snake_case, JavaScript identifiers to camelCase. Then add the convention to the project’s readme, so the next person does not reintroduce the mix. Consistency is the whole value; any single convention is fine, but two conventions in one codebase is a bug waiting to happen.
Share this tool
Copy the link below and paste it anywhere — a chat message, an email, a document. Whoever opens it gets the same free tool, with no account and nothing to install.