Title Case Converter

Published Updated

Paste a headline or a list of titles, one per line, and copy them back with small words in lowercase.

How little the converter does

The converter lowercases 19 small words in the middle of a line, capitalizes the first and last word of each line and the first word after a colon whatever they are, capitalizes everything else, and lowercases the rest of every word that starts with a letter. A word that starts with a digit is left as typed. There are no style options. Most of the useful information is in what it does not do.

Real input and output

Each result comes from running the converter's own function on the text on the left.

You typeYou get
the lord of the rings: the return of the kingThe Lord of the Rings: The Return of the King
how to use NASA data with python and SQLHow to Use Nasa Data With Python and Sql
apple iPhone 15 reviewApple Iphone 15 Review
what to look for in a mother-in-law's e-mailWhat to Look for in a Mother-in-Law's E-Mail
learning from mistakes via feedback loopsLearning From Mistakes via Feedback Loops
UNDERSTANDING THE BASICS OF TAX LAWUnderstanding the Basics of Tax Law

The last row shows the useful side: all-caps text is normalized in one step.

Where the output needs a second look

We ran the converter's own function (lib/titleCase.ts) in Node 22.23.1 on 28 test lines and read every result. These are the lines where a person would likely change something. The converter works on letters and does not know names, acronyms or Roman numerals, so those come out with the same pattern as any other word.

You typeYou getWhat differs from usual practice
he was born in the usa and works for ibmHe Was Born in the Usa and Works for IbmAcronyms are lowercased after the first letter, as in Usa and Ibm.
mcdonald's and o'brien's new menuMcdonald's and O'brien's New MenuNames with a capital inside are flattened.
chapter 3: the return, part iiChapter 3: The Return, Part IiRoman numerals lose their second capital.
1st place, 4k video and 3d printing1st Place, 4k Video and 3d PrintingA word that starts with a digit is left as typed.
how to use node.js and next.jsHow to Use Node.Js and Next.JsA dot inside a word starts a new capital.
q&a: how to write an e-mailQ&a: How to Write an E-MailThe A after the ampersand is read as the small word a and stays lowercase.
state-of-the-art tools for well-known problemsState-Of-The-Art Tools for Well-Known ProblemsAt the start of a line every part of a hyphenated word gets a capital.
how to - and why not to - quitHow to - and Why Not to - QuitThe word after a spaced dash is treated like any middle word.
ÉCOLE DES BEAUX-ARTS À PARISÉcole Des Beaux-Arts À ParisAccented letters work, but small words of other languages get capitals.

The same 28 lines went through the converter a second time and none changed, so running a result through again is safe in that sense. Several lines in one paste are handled one by one: in our three-line test each line got its own capital first and last word, and the spacing between words, including runs of spaces, was kept as typed.

For speed, we ran 1,000 lines of 83 characters and then 100,000 lines (8,299,999 characters) through the function in Node. They took 8 ms and 869 ms in single runs. On the page itself, we pasted generated headlines of 10 to 16 words into the empty box and timed until the result box was filled and laid out, median of 5 runs on one computer:

Lines pastedCharactersGoogle Chrome 157Firefox 155Playwright's WebKit build (not the Safari app)
1,00062,06524 ms20 ms18 ms
10,000624,522241 ms186 ms163 ms
100,0006,225,2582,490 ms1,932 ms1,787 ms

Time grew in step with the length, 1.6 to 2.5 ms per 100 lines. The whole text is converted again on every change to the box.

Other alphabets and special letters

These rows come from this page's converter and were the same in Chrome 157, Firefox 155 and the WebKit build:

You typeYou getWhat happens
financial report for the first quarter, with the fi ligature character (U+FB01)Financial Report for the First QuarterA ligature that starts a word becomes a capital F and a small i.
džungla and ljubljana by trainDžungla and Ljubljana by TrainThe one-character digraphs get their title-case forms Dž and Lj, not the all-capital DŽ and LJ.
İSTANBUL'DA BİR GÜNİstanbul'da Bi̇r GünNo Turkish rule is applied: the İ inside BİR lowercases to i plus a combining dot.
istanbul ve izmirIstanbul Ve IzmirA plain i becomes I, and ve is not on the small-word list.
ΤΟ ΣΠΙΤΙ ΩΣ ΤΗ ΘΑΛΑΣΣΑΤο Σπιτι Ως Τη ΘαλασσαA Σ at the end of a word becomes the final form ς.
война и мирВойна И МирOnly the 19 English small words stay lowercase, so и gets a capital.
der herr der ringeDer Herr Der RingeGerman articles are not on the list either.
the résumé guide, typed with combining accents (e plus U+0301)The Résumé GuideThe accents stay separate marks, and the word stays one word.

Quotes, brackets, slashes, numbers and emoji

Punctuation decides where a word starts and ends. Results from the same three browsers, again identical:

You typeYou getWhat happens
he said "of course" and leftHe Said "of Course" and LeftQuotes do not stop a small word from staying lowercase.
the 'of' problem, and the same with curly quotes ‘of’The 'of' Problem, The ‘of’ ProblemSingle quotes, straight or curly, work the same way as double quotes.
“the end” of the story“The End” of the StoryA quotation mark before the first word does not stop it getting a capital.
(part one) the beginning(Part One) the BeginningBrackets change nothing: the in the middle stays lowercase.
rock and/or rollRock and/or RollA slash separates words, so and and or stay lowercase. In either/or, or is the last word and becomes Or.
ac/dc live in parisAc/Dc Live in ParisEach side of the slash is a word of its own.
5km run for 10 kg weight loss5km Run for 10 Kg Weight Loss5km starts with a digit and stays as typed; kg after a space is a word and gets a capital.
4K TV and 3D glasses4K Tv and 3D Glasses4K and 3D start with a digit and stay as typed. TV starts with a letter, so the V is lowercased.
🎉 new year sale of the century🎉 New Year Sale of the CenturyAn emoji is not a word, so new is the first word.
sale of the 🎉Sale of The 🎉At the end the emoji is skipped too, so the is the last word and gets a capital.
batman vs. supermanBatman Vs. Supermanvs is not one of the 19 small words.
the end—or is itThe End—or Is ItAn em dash separates words, and or after it stays lowercase.

Converting a title to title case

  1. Step 1

    Paste your text

    One title, or a list with one title per line. Each line is treated as its own title.

  2. Step 2

    Read the result box

    It updates as you type, with the first and last word of every line and the first word after a colon capitalized.

  3. Step 3

    Fix the exceptions and copy

    Correct acronyms and the word after a dash by hand, then press Copy Result.

Check these after converting

These are the places where a person still has to decide. APA's title case rules lowercase short minor words of three letters or fewer and capitalize the first word after a colon:

  • Acronyms and brand names that mix cases.
  • The first word after a dash, which is not treated like a colon.
  • Short words that your style guide lowercases but this list capitalizes, such as if, so and yet.
  • Words of four letters or more, such as with and from, which this tool capitalizes.

For all-caps, all-lowercase or sentence case, use Case Converter instead.

Title case questions

Why did NASA become Nasa and iPhone become Iphone?

After the first letter, every letter of a word is lowercased. The tool has no list of acronyms or brand names, so retype NASA, SQL, iPhone, McDonald's and similar words after converting.

Is the word after a colon capitalized?

Yes. The first word after a colon and a space starts a subtitle and is always capitalized, so star wars: a new hope becomes Star Wars: A New Hope. A colon with no space after it, as in 10:30, is left alone. A dash does not count, so capitalize the word after a dash by hand if your style asks for it.

Which words stay lowercase?

Nineteen: a, an, the, and, but, or, nor, as, at, by, for, in, of, off, on, per, to, up and via. Words such as with, from, into and if are capitalized.

Does it follow AP, APA or Chicago style?

It follows none of them exactly. The list includes off, up and via and a word after a colon is capitalized, as APA asks, but APA's rule covers every conjunction of three letters or fewer, so it also lowercases words such as if, so and yet, which this tool capitalizes. Check the style guide your publisher uses before you print a headline.

How does it treat hyphenated words and contractions?

In a hyphenated word the first part is capitalized and later parts are too, unless they are one of the 19 small words, so mother-in-law becomes Mother-in-Law. Contractions with straight or curly apostrophes stay one word: Don't, not Don'T.

Can I convert a whole list at once?

Yes. The text is processed line by line, and each line's first and last word are capitalized, which is what you want for a list of headlines. A paragraph that wraps across lines will be capitalized at each line break.

Why did my acronym turn into Usa or Ibm?

The converter lowercases the rest of every word that starts with a letter and has no list of acronyms or brand names. In our test, usa came out as Usa and ibm as Ibm. Retype those words after converting.

Does converting twice change the result?

Not in our test. We ran 28 sample lines through the function twice, and the second pass changed none of them.

How many lines can I paste at once?

We ran 100,000 lines (about 8.3 million characters) through the function in Node in 869 ms. On the page, a paste of 100,000 generated headlines (6.2 million characters) showed its result after 2.5 s in Chrome 157, 1.9 s in Firefox 155 and 1.8 s in the WebKit build, median of 5 runs; 1,000 lines took 18 to 24 ms.

Why did vs. get a capital?

vs is not one of the 19 small words, so batman vs. superman becomes Batman Vs. Superman. The same goes for with, from, into and other words outside the list. Lowercase them by hand if your style guide asks for it.

Why did 4K stay 4K but TV become Tv?

A word that starts with a digit is left exactly as typed, so 4K and 3D keep their capitals. TV starts with a letter, so only its first letter stays a capital: 4K TV and 3D glasses became 4K Tv and 3D Glasses. Retype TV by hand.

Is the word after an emoji treated as the first word?

Yes. Emoji are not words to the converter, so 🎉 new year sale of the century became 🎉 New Year Sale of the Century. At the end of a line it works the other way: in sale of the 🎉, the is the last word and became The.

Does it handle fi ligatures, Greek and Turkish?

A fi ligature at the start of a word becomes Fi, so financial gives Financial, and a final Greek Σ becomes ς, as in Ως. Turkish gets no special rule: BİR becomes Bi̇r, with a combining dot on the i. Chrome 157, Firefox 155 and the WebKit build gave the same results.

Related Tools