Programmer Case Converter

Type a variable name or phrase and instantly get it as camelCase, PascalCase,snake_case, kebab-case, CONSTANT_CASE, dot.caseand Title Case — each with a one-click copy button.

camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE
dot.case
Title Case
🔒 100% private — runs in your browser, never uploaded.

How to use the case converter

  1. Type or paste an identifier into the box — a variable name, column name, file name or plain phrase.
  2. The tool splits it into words and instantly fills in all seven case styles below.
  3. Click Copy next to the style you need and paste it straight into your code.

The programming cases, explained

Most languages and frameworks have naming conventions, and switching between them by hand is tedious and error-prone. This converter recognises the boundaries in your input — whether you separate words with spaces, hyphens, underscores or dots, or run them together as camelCase — and rebuilds the same words in whichever convention you need.

Smart word splitting

The converter detects camelCase and acronym boundaries, so messy mixed input still produces clean output. For example,parseHTMLResponse, parse-html-response and Parse HTML Response are all read as the same three words and can be emitted in any style. Numbers stay attached to their word, and any stray punctuation is treated as a separator.

Is it private?

Yes. Everything runs locally in your browser using plain JavaScript — there is no server call when you type or copy. Your identifiers, which may include sensitive project names, are never uploaded, logged or stored anywhere.

Frequently asked questions

Does it handle acronyms like ID, URL or HTML?

Yes — a run of capitals followed by a normal word is split correctly, so userIDValue becomes user / id / value.

Can I convert a whole phrase, not just one word?

Absolutely. Type any phrase with spaces and it is treated as multiple words, then re-joined in each style.

Why are there no spaces in snake_case or kebab-case output?

Those conventions deliberately use a single separator instead of spaces, which is what makes them valid as identifiers and URL parts.

Related: UPPERCASE & Title Case converter · URL slug generator