Change text to UPPER, lower, Sentence or Title case in AP, APA, Chicago or MLA style, or names to camelCase, snake_case and more
Paste text and pick a case: UPPER, lower, Title and Sentence case for writing, camelCase, snake_case, kebab-case and more for code, a line at a time.
How to use it
Paste text or a list of names, one a line, or open a text file. Pick the case in To, and for Title Case the style guide; Keep holds words that keep their own spelling. Copy or download the result.
Examples
A headline in Title Case
the lord of the rings: a guide to middle-earth
The Lord of the Rings: A Guide to Middle-Earth
of and the stay small; A is capitalized after the colon.
Names to snake_case, one a line
userAccountId XMLHttpRequest sha256Hash
user_account_id xml_http_request sha256_hash
Shouting to Sentence case
PLEASE READ THIS. i think it matters!
Please read this. I think it matters!
Every case it writes
| Case | “user account id” becomes | Used for |
|---|---|---|
lower case | user account id | tags, emails, normalizing text |
UPPER CASE | USER ACCOUNT ID | headings, labels, emphasis |
Sentence case | User account id | body text, UI labels, buttons |
Title Case | User Account Id | headlines, titles of books and articles |
Capitalized Case | User Account Id | every word capitalized, small words too |
aLtErNaTiNg | uSeR AcCoUnT Id | mocking text, memes |
iNVERSE cASE | USER ACCOUNT ID | undoing text typed with Caps Lock on |
camelCase | userAccountId | JavaScript, Java and JSON names |
PascalCase | UserAccountId | classes, types, React components |
snake_case | user_account_id | Python, Ruby, SQL columns |
kebab-case | user-account-id | URLs, CSS classes, file names |
CONSTANT_CASE | USER_ACCOUNT_ID | constants, environment variables |
dot.case | user.account.id | config keys, log fields |
Header-Case | User-Account-Id | HTTP headers |
Title Case style guides
| Style | Kept small | “a guide to living with less: what to give up” |
|---|---|---|
Chicago | articles; and, but, for, or, nor; every preposition; to, as | A Guide to Living with Less: What to Give up |
AP | articles, conjunctions and prepositions of 3 letters or fewer | A Guide to Living With Less: What to Give up |
APA | as AP: words of 3 letters or fewer that are articles, short conjunctions or prepositions | A Guide to Living With Less: What to Give up |
MLA | articles, every preposition, and, but, for, or, nor, so, yet; to | A Guide to Living with Less: What to Give up |
AMA | articles; and, but, for, or, nor; prepositions of 3 letters or fewer | A Guide to Living With Less: What to Give up |
New York Times | a, and, as, at, but, by, en, for, if, in, of, on, or, the, to, v., via, vs. | A Guide to Living With Less: What to Give Up |
Wikipedia | articles, and, but, or, nor, for, so, yet, prepositions of 4 letters or fewer | A Guide to Living with Less: What to Give up |
Bluebook | articles, conjunctions, prepositions of 4 letters or fewer; the last word too | A Guide to Living with Less: What to Give up |
Sources: APA Style: Title case capitalization, Wikipedia: Manual of Style/Capital letters
Sentence case, names and quotes
How it finds the words in a name
Questions
- What is the difference between camelCase and PascalCase?
Both join the words without spaces and start each word with a capital. camelCase starts with a small letter (userAccountId), PascalCase with a capital (UserAccountId). JavaScript uses camelCase for variables and PascalCase for classes and components. - How are acronyms like HTTP or JSON converted?
In the code cases an acronym is one word, written like any other word: XMLHttpRequest becomes xml_http_request in snake_case and xmlHttpRequest in camelCase, as most style guides ask. Title Case keeps a word in capitals as it is, so “intro to the JSON API” becomes “Intro to the JSON API”; a line written all in capitals, like “JSON API” alone, becomes “Json Api”. - Which Title Case style should I use?
The one your publication follows: AP for news and many blogs, APA for psychology and social science papers, Chicago for books, MLA for humanities papers, AMA for medical writing. The table above shows how each treats the same headline; when no guide is set, Chicago is a safe default. - Why did my acronym or brand name lose its capitals?
Turn on Keep names, so words in capitals or mixed case stay as they are; a sentence written all in capitals is lowered, since there every word is in capitals. For a name the page doesn’t know, type it in Keep: “ACME, iPhone, New York” writes those as typed in every case for writing. - Can I convert a whole list of names at once?
Yes. Each line is converted on its own, so paste a column of names, keys or headings, one a line, and they come back in the same order, each in the new case. - Why did ß become SS in upper case?
That is the Unicode rule: the standard capital of the German ß is SS (a capital ẞ exists but is rarely used), so UPPER CASE writes Straße as STRASSE. Greek gets its final ς in lower case by the same rules, and the result is the same in every browser language. - Is the text I convert uploaded?
No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.