Skip to content
Sealpaste

Delete all recent work?

This removes the 0 items saved in this browser. Your settings stay.

Stop saving recent work?

New work won't be saved in this browser. The 0 items already saved can stay or go.

Case Converter

Text

Paste text, or

CtrlV paste · Ctrl↵ run now

Converted
Ready
Ln 1, Col 1
Runs in your browser. Nothing you paste is uploaded unless you share it.

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

  1. Paste text or a list of names, one a line, or open a text file.
  2. Pick the case in To, and for Title Case the style guide; Keep holds words that keep their own spelling.
  3. Copy or download the result.

Examples

A headline in Title Case

Input
the lord of the rings: a guide to middle-earth
Result
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

Input
userAccountId
XMLHttpRequest
sha256Hash
Result
user_account_id
xml_http_request
sha256_hash

Shouting to Sentence case

Input
PLEASE READ THIS. i think it matters!
Result
Please read this. I think it matters!

Every case it writes

Pick one in To. Each line of the input is converted on its own, so a list of names stays a list and blank lines stay where they are.

Case“user account id” becomesUsed for
lower caseuser account idtags, emails, normalizing text
UPPER CASEUSER ACCOUNT IDheadings, labels, emphasis
Sentence caseUser account idbody text, UI labels, buttons
Title CaseUser Account Idheadlines, titles of books and articles
Capitalized CaseUser Account Idevery word capitalized, small words too
aLtErNaTiNguSeR AcCoUnT Idmocking text, memes
iNVERSE cASEUSER ACCOUNT IDundoing text typed with Caps Lock on
camelCaseuserAccountIdJavaScript, Java and JSON names
PascalCaseUserAccountIdclasses, types, React components
snake_caseuser_account_idPython, Ruby, SQL columns
kebab-caseuser-account-idURLs, CSS classes, file names
CONSTANT_CASEUSER_ACCOUNT_IDconstants, environment variables
dot.caseuser.account.idconfig keys, log fields
Header-CaseUser-Account-IdHTTP headers

Title Case style guides

Pick the guide in Style. Each one capitalizes the first word and the word after a colon, and all but Bluebook the last word; they differ in which small words stay small in the middle. Each part of a hyphenated word is capitalized unless it is a small word (Out-of-Date).

The page can’t tell how a word is used, so a word that is a preposition in one title and an adverb in another (“Give Up”, “Look It Up”) follows the list; fix it by hand, or add it to Keep.

StyleKept small“a guide to living with less: what to give up”
Chicagoarticles; and, but, for, or, nor; every preposition; to, asA Guide to Living with Less: What to Give up
AParticles, conjunctions and prepositions of 3 letters or fewerA Guide to Living With Less: What to Give up
APAas AP: words of 3 letters or fewer that are articles, short conjunctions or prepositionsA Guide to Living With Less: What to Give up
MLAarticles, every preposition, and, but, for, or, nor, so, yet; toA Guide to Living with Less: What to Give up
AMAarticles; and, but, for, or, nor; prepositions of 3 letters or fewerA Guide to Living With Less: What to Give up
New York Timesa, 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
Wikipediaarticles, and, but, or, nor, for, so, yet, prepositions of 4 letters or fewerA Guide to Living with Less: What to Give up
Bluebookarticles, conjunctions, prepositions of 4 letters or fewer; the last word tooA 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

Sentence case writes small letters, then capitalizes the first letter of the line and of each sentence after a full stop, question mark or exclamation mark, and writes I on its own as a capital. The full stop of an abbreviation such as e.g. or etc. doesn’t start a new sentence.

With Keep names on, Sentence, Title and Capitalized Case keep a word in capitals or mixed case as it is (NASA, JSON, iPhone), unless the whole sentence is in capitals, and put back the capitals of about 400 names the page knows: days, months, languages, countries, big cities and tech names (JavaScript, GitHub, PostgreSQL). Names that are also everyday words, such as May or Apple, are left alone. Type your own terms in Keep, separated by commas, and every case for writing spells them as you typed them.

Quotes changes straight quotes (" and ') to curly ones (“ ” ‘ ’, the apostrophe ’) or back, for text going into a book, a web page or code.

How it finds the words in a name

For the code cases, a name is first cut into words, whatever case it is in: spaces, underscores, hyphens, dots and slashes separate words, and so does a capital after a small letter or a digit (userId is user + Id). A run of capitals is one word that ends before the capital starting the next (XMLHttpRequest is XML + Http + Request), and digits stay with their word (sha256Hash is sha256 + Hash). So userAccountId, USER_ACCOUNT_ID and user-account-id all convert to the same thing.

Letters with accents and other scripts count as letters (Größe, Привет), apostrophes are dropped (don’t becomes dont), and anything else, such as an emoji, separates words.

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.

Related tools