Sentence Case Converter
Paste text and change its case: sentence case, Title Case, UPPER, lower, or code styles like camelCase and snake_case. It keeps acronyms such as NASA and leaves Markdown code, links and URLs alone, so you can fix a whole README or post at once.
127 characters, 25 words, 5 sentences
What each case does
| Case | Example | Rule used here |
|---|---|---|
| Sentence case | The quick brown fox. It jumps. | Everything lower case, then a capital for the first letter of the text, of each line and after . ! ?. "I", "I'm", "I'll" stay capitalized. |
| Title Case | The Lord of the Rings: The Return of the King | Capitalize every word except articles, short conjunctions and prepositions of three letters or fewer, unless the word is first or last, or starts or ends a sentence or a colon phrase |
| Capitalized Case | The Lord Of The Rings | Capitalize every word, small words included |
| UPPER / lower | THE FOX / the fox | Every letter, using the language rules built into your browser (so ß becomes SS) |
| aLtErNaTiNg / iNVERSE | tHe FoX / tHE fOX | Every other letter, or every letter swapped |
| camelCase, PascalCase | quickBrownFox, QuickBrownFox | Words joined, split on spaces, punctuation and existing capitals (XMLHttpRequest becomes xml http request) |
| snake_case, kebab-case, CONSTANT_CASE | quick_brown_fox, quick-brown-fox | Same words joined with _ or -. Each line is converted on its own, so you can paste a list of names |
Title case differs between style guides
There is no single title case. Style guides disagree mostly about prepositions: AP style capitalizes words of four letters or more, so "Over" and "With" get capitals, while Chicago lowercases prepositions of any length. This tool keeps only the short ones lowercase (a, an, the, and, but, or, nor, for, so, yet, as, if, at, by, in, of, off, on, per, to, up, via, vs), which matches most headline styles for short titles. If your publication follows a guide strictly, check longer prepositions such as "about", "into" and "with" by hand.
Why "Markdown safe" matters
Changing the case of a whole document breaks anything where case is meaningful: `myVariable` in inline code, file names like README.md inside code, URL paths (which are case sensitive on most servers), and link targets such as [docs](/Guide/Setup). With the option on, the converter sets these aside, converts the rest and puts them back unchanged. It protects fenced code blocks, inline code, the (...) part of links and images, bare and angle-bracket URLs, and HTML tags. Link text, headings and list items are converted normally.
| Input | Upper case, Markdown safe off | Markdown safe on |
|---|---|---|
run `npm install` | RUN `NPM INSTALL` | RUN `npm install` |
[guide](/docs/Setup) | [GUIDE](/DOCS/SETUP) (now a broken link) | [GUIDE](/docs/Setup) |
see https://x.com/AbC | SEE HTTPS://X.COM/ABC | SEE https://x.com/AbC |
Case in code
| Language | Sentence and title case are not built in; upper and lower are |
|---|---|
| JavaScript | s.toUpperCase(), s.toLowerCase(), and s.toLocaleUpperCase('tr') for Turkish dotted İ |
| Python | s.upper(), s.lower(), s.capitalize(), and s.title(), which capitalizes after every apostrophe ("They'Re") |
| Excel and Google Sheets | =UPPER(A1), =LOWER(A1), =PROPER(A1) (capitalized case, not title case) |
| Microsoft Word | Shift+F3 cycles through UPPER, lower and capitalized; Home, Change Case has sentence case |
Questions
Does sentence case keep names capitalized?
Only names already written in capitals, like NASA, when "Keep acronyms" is on. A name like "London" becomes "london" in the middle of a sentence because nothing in the text says it is a name. Read the result and fix proper nouns.
Why did my acronyms turn lowercase?
If most of your text is in capitals (caps lock text), every word looks like an acronym, so the converter ignores the option and the page shows a note. Fix the acronyms by hand afterwards.
Does it change Markdown headings and lists?
The text in them, yes. The marks stay put, and sentence case treats the start of each line as the start of a sentence, so - item becomes - Item.
Related tools
- Remove Line Breaks: join lines broken by PDFs and emails, keeping paragraphs.
- Markdown to Plain Text: strip Markdown symbols from pasted text.
- Small Caps Generator: ꜱᴍᴀʟʟ ᴄᴀᴘꜱ letters you can paste anywhere.
- Markdown Word Count: words, reading time and counts that ignore Markdown syntax.
- Hidden character finder: find zero width spaces and other invisible characters.