Case Converter
Paste your text and pick a case. The result updates as you type, and nothing leaves your browser.
Writing
Code
Other
Clean up
Shortcuts: Ctrl/Cmd + Enter copies the result, Ctrl/Cmd + Z undoes the last clean-up.
Which case should you use?
Most people arrive here after leaving Caps Lock on, or because a title needs to match a house style. The writing cases handle both. The code cases exist because renaming a variable by hand is tedious and error-prone.
| Case | Example | Where it is used |
|---|---|---|
| UPPERCASE | ANNUAL REPORT | Emphasis, headings, form labels. Hard to read in long runs. |
| lowercase | annual report | Fixing accidental caps, informal writing, email addresses. |
| Sentence case | Annual report | Body text, headlines in most British style guides, UI labels. |
| Title Case | The Annual Report | Headlines and titles, following a style guide's rules on short words. |
| Capital Case | The Annual Report | Every word capitalised regardless of length. Common in menus and buttons. |
| camelCase | annualReport | Variables and functions in JavaScript, Java and C#. |
| PascalCase | AnnualReport | Class and component names, including React components. |
| snake_case | annual_report | Python variables, database columns, file names. |
| CONSTANT_CASE | ANNUAL_REPORT | Constants and environment variables. |
| kebab-case | annual-report | URLs, CSS class names, HTML attributes. |
| dot.case | annual.report | Config keys, namespaced properties, some log formats. |
| path/case | annual/report | File paths and route segments. |
Title case is not one thing
Title Case here follows the most common convention: capitalise everything except short articles, conjunctions and prepositions, and always capitalise the first and last word. But style guides disagree about which words count as short, and about hyphenated compounds. AP capitalises prepositions of four letters or more; Chicago keeps them lowercase whatever the length.
If the difference matters for what you are writing, the title case converter lets you pick between AP, APA, Chicago and MLA and explains what changes between them.
Sentence case and the things that break it
Sentence case sounds simple — capitalise the first letter, lowercase the rest — but lowercasing everything destroys proper nouns, and naive tools capitalise after every full stop including the one in "Dr." or "e.g." This converter capitalises after sentence-ending punctuation, restores the standalone pronoun "I" and its contractions, and leaves existing capitals inside words alone so acronyms like NASA and names like iPhone survive. There is more on the edge cases on the sentence case page.
Working with longer text
Text pasted out of a PDF or an email arrives with problems that a case change will not fix: doubled spaces, line breaks in the middle of sentences, repeated lines from a bad copy. The clean-up buttons handle those separately from the case conversion, so you can strip the line breaks first and then apply Sentence case to what is left. Undo steps back through clean-ups one at a time if a change removes more than you wanted.
- Is my text sent anywhere?
- No. Every conversion runs in your browser using JavaScript. Nothing is uploaded, logged or stored, and the tool works offline once the page has loaded.
- Is there a length limit?
- No fixed limit. A full-length article converts instantly; very large documents, in the range of hundreds of thousands of words, may pause briefly while your browser works through them.
- Why does Title Case leave some words lowercase?
- Because that is what title case means in most style guides. Words like "of", "and" and "the" stay lowercase unless they open or close the title. If you want every word capitalised, use Capital Case instead.
- Does it handle accented characters and other alphabets?
- Yes. Case conversion uses your browser's built-in Unicode handling, so accented Latin characters, Greek and Cyrillic all convert correctly.
- Can I undo a clean-up?
- Yes. Undo steps back through your clean-up and replace actions in order. Switching between cases does not change your original text, so nothing is lost by trying a few.