Case Converter
Paste text, click a style, copy the result. Fixes ACCIDENTAL CAPS LOCK, formats titles, and makes code-style names — instantly, in your browser.
Which case for what?
| Style | Example | Typical use |
|---|---|---|
| Title Case | The Quick Brown Fox | Headlines, book & video titles |
| Sentence case | The quick brown fox | Normal writing, UI labels |
| UPPERCASE | THE QUICK BROWN FOX | Emphasis, acronyms, forms |
| camelCase | theQuickBrownFox | JavaScript/Java variable names |
| PascalCase | TheQuickBrownFox | Class names in most languages |
| snake_case | the_quick_brown_fox | Python variables, database columns |
| kebab-case | the-quick-brown-fox | URLs, CSS classes, file names |
Why naming style matters in code
Programming languages don't just prefer a case style — their communities enforce one. Python's official style guide (PEP 8) expects snake_case functions and PascalCase classes; JavaScript linters flag variables that aren't camelCase; CSS class names and URL slugs break tooling conventions if they aren't kebab-case. Renaming by hand across dozens of identifiers invites typos — paste a list here, convert once, and every entry follows the same rule.
Worked example: cleaning up a spreadsheet header row
Say you export a spreadsheet with headers like "First Name", "EMAIL ADDRESS", "Date-of-Birth" and need database column names. Paste them in, click snake_case, and you get first_name, email_address, date_of_birth — consistent, lowercase, and safe for SQL. Need them back as report labels later? Convert to Title Case and they read "First Name, Email Address, Date Of Birth."
Title case has no single standard, and this page shows you both
Ask three style guides how to capitalise a headline and you get three answers. The disagreement is not about obscure edge cases; it is about ordinary words like with, from, into and between:
| Style | Rule | "a guide to working with data from home" |
|---|---|---|
| AP | Capitalise anything of four letters or more | A Guide to Working With Data From Home |
| Chicago | Lowercase prepositions whatever their length | A Guide to Working with Data from Home |
Both are correct; they belong to different houses. This converter applies AP by default, and when Chicago would produce something different it shows you that version too rather than leaving you to wonder whether your title is wrong. Every style agrees on two things, and this page follows them: the first and last words are always capitalised, and an acronym stays an acronym — NASA never becomes Nasa.
If you are writing for a publication, an employer or a course, the house style beats any general rule. If nobody has told you, pick one and stay consistent within the document; inconsistency is the only version that reads as an error.
Sources
- Chicago Manual of Style — Capitalisation in titles Q&A — freely readable, and the source for the preposition rule this page's Chicago variant implements.
- The Chicago Manual of Style, 18th edition, 8.160 — the underlying rule, including the first-and-last-word exception. Deliberately not linked: the online edition is subscription-only and the section URL redirects to a login wall, which is not a source you can check.
- The Associated Press Stylebook — the four-letter rule used as this page's default. The full text is a paid product; the capitalisation rule itself is widely reproduced and is what most newsrooms and marketing teams follow.
Frequently asked questions
Is my text sent anywhere?
No — conversion happens entirely in your browser. Nothing you type leaves your device.
Why fix caps lock text here instead of retyping?
Click "Sentence case" and a WHOLE PARAGRAPH TYPED WITH CAPS LOCK ON becomes normal writing in one click, keeping sentence starts capitalized.
Does camelCase/snake_case handle punctuation?
Yes — spaces, hyphens, underscores, and punctuation between words become the separator of the chosen style, and everything else is stripped, so "Hello, World! 2.0" becomes hello_world_2_0.