← All tools

Case converter

Type once, get every case. Updates as you type

How to use the case converter

  1. Type or paste into the text box — all nine conversions update live as you type, so there's no convert button to press.
  2. Read the prose cases first: UPPERCASE, lowercase, Title Case (every word capitalized) and Sentence case (first letter only).
  3. Below those are the developer cases: camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
  4. Paste code identifiers directly — the splitter recognizes camelCase boundaries as well as spaces, underscores and hyphens, so myVariableName, my_variable_name and my-variable-name all convert cleanly into any other style.
  5. Click Copy next to the row you need; the button flashes to confirm the text is on your clipboard.

Common uses

  • Rename identifiers between coding conventions: a JavaScript camelCase variable to Python snake_case, a CSS kebab-case class, or a CONSTANT_CASE environment variable.
  • Build URL slugs and file names — My Draft Post becomes my-draft-post in kebab-case, safe for links and file systems.
  • Rescue a paragraph typed with caps lock on: paste it and grab the lowercase or Sentence case version instead of retyping.
  • Make headings, button labels or spreadsheet columns consistent when several people wrote them in different styles.
  • Draft Title Case headlines for posts and slides, then flip the same text to sentence case for body copy.

Tips & limitations

  • Title Case capitalizes every word, including small ones like “a”, “of” and “the”. Style guides such as AP and Chicago lowercase those, so give headlines a quick manual pass afterwards.
  • Sentence case capitalizes only the first letter of the whole text — it doesn't detect sentence boundaries, so multi-sentence text needs recapitalizing after each period yourself.
  • The word-splitting cases (Title plus the five developer cases) treat punctuation as a separator and drop it: don't comes out as don_t in snake_case. UPPERCASE, lowercase and Sentence case keep punctuation intact.
  • Splitting is ASCII-only: accented letters like é act as separators in the developer cases (café becomes caf), though UPPERCASE and lowercase handle accented text fine.
  • Digits stay attached to their word — version 2 becomes version_2 — and a digit followed by a capital letter counts as a word boundary when splitting camelCase.

How it's built & why it's safe

Nine conversions computed live with plain JavaScript string methods and two small regular expressions — one splits camelCase at lowercase-to-uppercase boundaries, the other splits on anything that isn't a letter or digit. There's no server round-trip and nothing is stored: your text exists only in the page and is never uploaded. Copying uses the browser's clipboard API, and the whole tool keeps working offline once the page has loaded.

Related tools: Word Counter · Diff Checker · Lorem Ipsum · Regex Tester

Frequently asked questions

Which cases are supported?

Nine: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. All nine are generated at once as you type, each with its own copy button.

Does it work with code identifiers?

Yes. Input is split at camelCase boundaries and at any punctuation, so you can paste an identifier in one convention and copy it in another — snake_case to camelCase, kebab-case to PascalCase, and so on.

What's the difference between camelCase and PascalCase?

Both remove separators and capitalize each word; camelCase lowercases the very first letter while PascalCase capitalizes it. In many languages the convention is camelCase for variables and functions, PascalCase for class and type names.

Why did my hyphens and apostrophes disappear?

The word-based cases treat every character that isn't a letter or digit as a separator, because identifiers can't contain punctuation. If you need punctuation preserved, use UPPERCASE, lowercase or Sentence case, which transform the text in place.

Why does Title Case capitalize words like “and” or “of”?

It applies one simple rule — capitalize the first letter of every word — rather than following a specific style guide. AP, Chicago and MLA each lowercase different small words, so check headlines against your house style.

Is my text sent anywhere?

No. Conversion happens in your browser as you type; nothing is uploaded, logged or saved, so pasting unpublished writing or proprietary code is safe.