3tej home
← Writing & Text

What is Sentence Case Converter?

A Sentence Case Converter converts data from one format to another using a deterministic mapping. It parses the input, transforms it according to the relevant standard, and returns a ready-to-use result. Only the first letter of each sentence (and proper nouns) is capitalized.

Interactive converter

Case converter

Sentence, title, upper, lower, camel, snake, kebab, and constant case.

Sentence case-
Title Case-
UPPER CASE-
lower case-
camelCase-
PascalCase-
snake_case-
kebab-case-
CONSTANT_CASE-

Sentence Case Converter

Convert any text - including ALL CAPS, mixed case, or messy data - into proper sentence case where only the first letter of each sentence is capitalized.

About the sentence case converter

The sentence case converter takes any text (ALL CAPS, mixed case, messy paste from a PDF) and returns it as lowercase prose with the first letter of each sentence capitalized. It is the everyday body-text style of English writing, distinct from title case and ALL CAPS.

Sentence case matters because it is the most readable default. Studies of reading fluency consistently find that all-caps text slows readers by roughly 10 to 15 percent: every glyph becomes a uniform rectangle, so the word-shape cues that fluent readers rely on disappear. Sentence case preserves ascenders and descenders, keeps the visual rhythm of normal prose, and signals where one thought ends and the next begins. That is why product UIs, news sites, and most modern style guides have shifted headings and buttons from Title Case toward sentence case over the last decade.

The tool above is broader than its name: it shows nine related transformations at once (sentence, title, upper, lower, camel, Pascal, snake, kebab, and constant case) so you can compare the same string across every convention a writer or developer needs. Everything runs in your browser; the text you paste never leaves the page.

How it works

The algorithm is a two-step regex transform: lowercase the whole string, then uppercase the first letter after the start-of-string, after sentence-terminating punctuation (period, exclamation mark, question mark) followed by whitespace, and after a newline.

step 1: s.toLowerCase()
step 2: s.replace(/(^\s*\S|[.!?]\s+\S|\n\s*\S)/g, m => m.toUpperCase())

boundaries detected:
  - first non-space character of string
  - non-space character after . ! ?
  - non-space character after newline
  • Lowercase first: normalises the input regardless of caps lock or shift-key noise.
  • Boundary regex: matches the punctuation plus the first letter so both upper-case together.
  • Limitation: a pure algorithm cannot detect proper nouns (London, Apple, Tuesday). Manual touch-up required.

Worked example

Input: "THIS IS AN EXAMPLE. it's all caps AND lowercase MIXED. each sentence WILL BE FIXED."

  1. Lowercase: "this is an example. it's all caps and lowercase mixed. each sentence will be fixed."
  2. Find boundaries: position 0 ("t"), position 21 after ". " ("i"), position 56 after ". " ("e").
  3. Uppercase boundaries: T, I, E.
  4. Output: "This is an example. It's all caps and lowercase mixed. Each sentence will be fixed."
Result: Three sentence starts capitalized, everything else lowercase. If the original contained proper nouns like "London" or "I", they would also be lowercased and need manual correction.

Case style reference

StyleRuleExampleUse case
Sentence caseFirst letter of sentence + proper nounsThe quick brown fox.Body prose, modern headings
Title Case (AP)First letter of every major wordThe Quick Brown FoxHeadlines, book titles
UPPER CASEEvery letter capitalizedTHE QUICK BROWN FOXEmphasis, legal warnings
lower caseNo capitalsthe quick brown foxCasual, branded (e.g. bell hooks)
camelCaseFirst word lower, rest capped, no spacestheQuickBrownFoxJavaScript / Java identifiers
PascalCaseEvery word capped, no spacesTheQuickBrownFoxClass names, types
snake_caseLowercase, underscore separatorsthe_quick_brown_foxPython / Ruby identifiers
kebab-caseLowercase, hyphen separatorsthe-quick-brown-foxURLs, CSS class names
CONSTANT_CASEUppercase, underscore separatorsTHE_QUICK_BROWN_FOXEnvironment vars, constants

Common pitfalls

  • Proper nouns get lowercased. London becomes london, Apple becomes apple, the pronoun I becomes i. Re-capitalize manually after conversion.
  • Abbreviations break. "Dr. Smith arrived." becomes "Dr. Smith arrived." but "U.S.A. exports" produces wrong boundaries because every period looks like sentence end.
  • Ellipses confuse the regex. "wait... what?" might capitalize the "w" after the three dots even mid-sentence.
  • No locale awareness. Turkish dotless i and German eszett do not round-trip through naive JavaScript toLowerCase(). Use locale-aware tooling for non-English copy.
  • Inline quotes. Sentence case capitalizes the first word after an opening quotation mark, but the regex above does not handle smart-quote whitespace patterns.
  • HTML and markdown leak through. The tool treats markup as text, so "WHATEVER" becomes "whatever" with the tag intact and the content lowercased.

Related tools and glossary

Frequently asked questions

What is sentence case?

Sentence case capitalizes only the first letter of each sentence and any proper nouns. Everything else stays lowercase. It is the default style for body prose in English, contrasting with Title Case (every major word) and ALL CAPS (every letter).

How does the tool detect sentence boundaries?

It lowercases the input, then uppercases the first non-space character after the start of the string, after any period, exclamation mark, question mark followed by whitespace, and after a newline. Edge cases like abbreviations (Dr., U.S.A.) and ellipses are not corrected.

Does it preserve proper nouns?

No. A pure algorithmic sentence case converter lowercases everything except sentence starts. Names like 'London', 'Apple', and 'I' get lowercased and must be re-capitalized manually. Heuristic detection of proper nouns requires NLP and produces false positives on common nouns.

What is the difference from title case?

Sentence case: 'The quick brown fox jumps over the lazy dog.' Title case (AP style): 'The Quick Brown Fox Jumps Over the Lazy Dog.' Sentence case is for body prose; title case is for headings, headlines, and book titles. Most blog and article copy uses sentence case for headings now.

Is the text I paste sent to a server?

No. The conversion runs entirely in JavaScript inside your browser tab. Nothing you type or paste is uploaded, logged, or stored, so it is safe for sensitive drafts, contracts, or unpublished copy. Closing the tab discards the text completely.

Sources

  • Chicago Manual of Style, 17th edition, section 8.158 (sentence case in headings).
  • Associated Press Stylebook, capitalization rules for headlines.
  • MDN Web Docs, String.prototype.toLowerCase() and locale considerations.

Last updated 2026-05-28.