All tools run in your browser — your files never leave your device.
All tools154

Text & Writing

Case Converter

Twelve cases: title, sentence, camel, snake, kebab, constant and more.

What it does. A case converter rewrites text into a different capitalization scheme. This tool offers twelve: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, aLtErNaTiNg and iNVERSE. Click any result to copy it. Conversion happens on your device.
Runs in your browserNothing uploadsNo signupWorks offline

How to use Case Converter

  1. Type or paste your text into the input box.
  2. Every one of the twelve cases renders at once in the results list.
  3. Click the case you want to copy it to your clipboard.

Which case should I use where?

Naming conventions are not arbitrary style preferences — most ecosystems enforce one, and mixing them is how you get an import that resolves on macOS and fails on Linux.

Which case should I use where?
CaseExampleStandard use
camelCaseuserAccountIdJavaScript and Java variables, JSON keys
PascalCaseUserAccountIdClass names, React components, C# everything
snake_caseuser_account_idPython variables, SQL columns, Ruby methods
CONSTANT_CASEUSER_ACCOUNT_IDEnvironment variables, compile-time constants
kebab-caseuser-account-idURLs, CSS classes, HTML attributes, npm packages
dot.caseuser.account.idConfig keys, Java packages, i18n message paths
Title CaseUser Account IDHeadlines, page titles, button labels
Sentence caseUser account idBody copy, form labels, UI microcopy

What is the difference between title case and sentence case?

Title case capitalizes the first letter of every significant word. Sentence case capitalizes only the first word plus proper nouns. Which one you use is a house-style decision, and the two dominant style guides disagree.

AP style — the default across US and Canadian news — uses title case for headlines and lowercases conjunctions, articles and prepositions under four letters. Chicago style raises that threshold and lowercases all prepositions regardless of length. The Guardian and the BBC both use sentence case for headlines, which is why British news reads differently at a glance.

For interface copy, sentence case has won. Apple, Google, GOV.UK and Shopify all specify it in their design systems, on the evidence that it scans faster and handles product names more gracefully. If you are writing buttons and form labels, use sentence case.

How does the title case converter handle small words?

This tool implements AP-style title case rather than naive per-word capitalization. Articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, yet, so) and prepositions of three letters or fewer (of, in, on, at, to, by, up) stay lowercase — unless they are the first or last word, which always capitalize.

So "the state of the art in web design" becomes "The State of the Art in Web Design", not "The State Of The Art In Web Design". Hyphenated compounds capitalize both halves: "state-of-the-art" becomes "State-of-the-Art" under AP rules.

Why does converting to camelCase lose my punctuation?

By design. camelCase, snake_case, kebab-case and their relatives are identifier formats, and identifiers in every mainstream language are restricted to letters, digits and one separator character.

The converter strips punctuation, collapses runs of whitespace, transliterates accented characters to their ASCII base (café becomes cafe), and joins what remains. "Order #42 — shipped!" becomes order42Shipped. That is the correct result, because the alternative would produce an identifier your compiler rejects.

If you need to preserve punctuation, use Title Case or Sentence case, which are display formats rather than identifier formats.

Does case conversion work on non-English text?

Yes, with one caveat worth knowing about. Case conversion uses locale-aware Unicode mapping, which handles German ß, Greek final sigma, and accented Latin correctly.

The caveat is Turkish. Turkish has a dotted and a dotless i, and uppercasing "i" gives "İ" in Turkish but "I" everywhere else. Getting this wrong is a well-documented source of bugs in international software. This tool uses your browser locale, so if you need the Turkish mapping specifically, set your browser language to Turkish first.

Frequently asked questions

How do I convert text to title case?

Paste the text and copy the Title Case row. The converter applies AP style, keeping short articles, conjunctions and prepositions lowercase unless they open or close the title.

What is the difference between camelCase and PascalCase?

Only the first character. camelCase starts lowercase (userName), PascalCase starts uppercase (UserName). PascalCase is sometimes called UpperCamelCase. Most languages use PascalCase for types and camelCase for values.

Can I convert a whole document?

Yes. There is no length limit beyond your device memory, and conversion runs on every keystroke without lag on documents of tens of thousands of words.

Does it preserve line breaks?

Display cases (upper, lower, title, sentence, alternating, inverse) preserve line breaks and paragraph structure exactly. Identifier cases (camel, snake, kebab, constant, dot) collapse all whitespace by definition.

Why is my ALL CAPS text not converting to title case properly?

It should. The converter lowercases first, then applies capitalization rules, so "HELLO WORLD" becomes "Hello World" rather than staying uppercase. Tools that skip the lowercase step leave all-caps input unchanged.

Is alternating case useful for anything?

Mostly for the mocking-tone internet meme. It is included because people search for it. It has no legitimate typographic use.

Does my text get uploaded?

No. Conversion is a pure string operation running in this page. Check the Network tab in developer tools while you type — nothing is sent.

Guides for Case Converter