MockFoxAdvertise

Case Converter

Updated Free mock REST & WebSocket APIs

Paste text and pick a case. Title Case follows standard style-guide rules: short words like “of” and “the” stay lowercase, and acronyms like NASA and names like iPhone keep their casing. The developer formats (camelCase, snake_case, kebab-case, CONSTANT_CASE) convert each line separately.

Result · Title Case

🔒 Runs in your browser — nothing you paste is uploaded.

How to change text case

  1. Type or paste your text into the top box.
  2. Click a case button. The result appears instantly below.
  3. Copy it, download it, or click Use as input to apply another conversion.

Which case to use

CaseExampleUsed for
Title CaseThe Lord of the RingsHeadlines, book and article titles
Sentence caseThe lord of the ringsUI labels, email subjects, most headings (Google and Apple style)
UPPER CASETHE LORD OF THE RINGSShort labels, acronyms, warnings
camelCaselordOfTheRingsJavaScript, Java and JSON variables
PascalCaseLordOfTheRingsClass names, React components, C# methods
snake_caselord_of_the_ringsPython, Ruby, database columns
kebab-caselord-of-the-ringsURLs, CSS classes, file names
CONSTANT_CASELORD_OF_THE_RINGSConstants and environment variables

Title Case rules

Style guides disagree on details, but most agree on these, and the converter follows them:

  • Always capitalize the first and last word, and the first word after a colon.
  • Lowercase articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet) and short prepositions (at, by, in, of, off, on, per, to, up, via).
  • Capitalize prepositions of four letters or more (With, From, Over, Into), as AP style does.
  • Capitalize each part of a hyphenated compound: Self-Driving, Twenty-First.
  • Keep acronyms (NASA, HTML) and brand casing (iPhone, eBay). If the input is all caps, the tool can't tell acronyms from shouting, so every word is converted.

Programming cases split words at spaces, punctuation and existing capital letters, so XMLHttpRequest becomes xml_http_request and user-ID 2 becomes userId2.

Related tools

Embed this tool on your site

Browse all embeddable tools →

Free for blogs, HR, payroll and contractor sites: copy one snippet — the widget sizes itself and matches your colors.

Get the embed code

Frequently asked questions

Is my text uploaded anywhere?

No. Everything runs in your browser, so your text never leaves your device. Nothing is logged or stored on a server.

What's the difference between Title Case and Capitalized Case?

Capitalized Case capitalizes every word, including 'of' and 'the'. Title Case follows style-guide rules and keeps short articles, conjunctions and prepositions lowercase unless they're first or last.

Does Sentence case keep proper nouns capitalized?

No. It can't tell names from ordinary words, so everything except the first letter of each sentence and the pronoun 'I' becomes lowercase. Re-capitalize names afterwards.

Does it work with accented letters and other alphabets?

Yes. Accented Latin, Greek and Cyrillic letters convert correctly. Some letters change length: German ß becomes SS in uppercase.

Your business here? Sponsor this tool from $16/week. See placements