Sentence Case Converter
Convert text to sentence case.
About this tool
Paste text in capitals or random case and press Run. The tool lowercases it all, then capitalises the first letter of the text and the first letter after each full stop, exclamation mark or question mark.
How to use
How it works
Sentence boundaries are detected as. ! or ? followed by whitespace, and a Spanish ¿ or ¡ after the boundary is skipped so the next letter is capitalised. Accented and non-Latin letters work. Only the start of the text and these boundaries are capitalised. A new line on its own does not start a sentence, so a line after a line break stays lowercase unless the previous line ended with punctuation and a space.
Worked example
Shouted text
- Input
- hello WORLD. this is TEXT! is it? yes
- Output
- Hello world. This is text! Is it? Yes
- Walkthrough
- All letters drop to lowercase, then the first letter and each letter after. ! or ? is capitalised.
Limitations
- Proper nouns, the pronoun I and acronyms are lowercased and need manual fixing.
- A new line without ending punctuation is not capitalised.
- Abbreviations such as e.g. trigger a capital after the dot.
Questions
How do I fix text typed in all caps?
Will it capitalise names?
Why is the second line still lowercase?
Features
- Lowercases then re-capitalises
- Detects. ! ? boundaries
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
HTML Crash Course For Absolute Beginners
Traversy Media
Text on the web often starts as HTML you clean or count.
Watch on YouTubeLearn JSON - Full Crash Course
freeCodeCamp.org
Structured text formats often sit next to plain-text tools.
Watch on YouTube
- RFC 3629 — UTF-8
IETF
UTF-8 rules behind character-counting tools.
- String
MDN
JS string methods that mirror case, trim, and split tools.