← All blog posts

Case Converter formula — how it actually works

WhiteUI · A plain-English guide to the Case Converter

A case converter is not guessing: it applies one fixed rule to every letter, and the same input always gives the same output. The Case Converter runs four rules, and knowing them tells you exactly what will come out before you click. Here are the rules, the edge cases, and the examples that prove them.

The four conversion rules: UPPERCASE makes every letter capital, lowercase makes every letter small, Title Case capitalises each word, Sentence case capitalises each sentence
Four rules, nothing hidden: each case is one simple change applied to every letter in the text.

The four rules

UPPERCASE = every letter uppercased
lowercase = every letter lowercased
Title Case = first letter of each word uppercased
Sentence case = first letter of each sentence uppercased

UPPERCASE and lowercase are the simplest: every letter goes up or every letter goes down, and nothing else moves. “hello world” becomes “HELLO WORLD” in one and stays “hello world” in the other. Digits, spaces and punctuation are untouched in both, because there is no capital form of a number or a full stop.

How Title Case really works

Title Case works in two passes. First it lowercases the whole text, then it capitalises the first letter of each word. That first pass is why “NASA launched the rocket” becomes “Nasa Launched The Rocket”: the acronym is lowered to “nasa” before its first letter is raised. It is also why a word with a full stop attached, like “whiteui.”, becomes “Whiteui.” — the word is one unit, the full stop rides along, and only the W changes. Numbers are left alone: “quarterly sales report 2026” becomes “Quarterly Sales Report 2026”, and the 2026 is identical in both.

How Sentence case finds a sentence

Sentence case also lowercases everything first, then capitalises the first letter of the text and the first letter after each full stop, question mark or exclamation mark that is followed by a space. So “hello world. this is whiteui.” becomes “Hello world. This is whiteui.”, with exactly 2 capitals. A colon does not count as a sentence break: “chapter 3: the water cycle” becomes “Chapter 3: the water cycle”, with the T in “the” staying small. That one detail surprises people who expect every punctuation mark to restart the capitalisation.

Worked example

Run “NASA launched the rocket” through all four rules. UPPERCASE gives “NASA LAUNCHED THE ROCKET”: 21 uppercase letters, 0 lowercase. Lowercase gives “nasa launched the rocket”: 0 uppercase, 21 lowercase. Title Case gives “Nasa Launched The Rocket”: 4 uppercase, 17 lowercase. Sentence case gives “Nasa launched the rocket”: 1 uppercase, 20 lowercase. Every version is 24 characters long, because changing case never adds or removes a character.

The common mistake

People expect Sentence case to capitalise after a colon, a comma or a dash, because those marks feel like pauses. They do not. Only a full stop, a question mark or an exclamation mark followed by a space starts a new sentence in this tool. If your text uses colons for headings, check the words after them by hand.

Frequently asked questions

What is the rule for Title Case?

Every word is lowercased first, then its first letter is capitalised. That is why “NASA” becomes “Nasa” and “whiteui.” becomes “Whiteui.”

What counts as a new sentence for Sentence case?

A full stop, question mark or exclamation mark followed by a space. A colon does not start a new sentence.

Are numbers and punctuation changed?

No. Only letters change case; digits, spaces and punctuation stay exactly where they are.

Is my text sent anywhere?

No. Everything runs in your browser. Nothing is uploaded, stored or logged.

More guides on the Case Converter

Try it yourself

Try the Case Converter — free, in your browser.

Open the Case Converter