Skip to content

Case converter

Paste once, get all nine cases at once. Every output is computed in your browser by the same pure functions, with copy-to-clipboard on each row.

Note: Title Case here capitalizes every word (a simple, predictable rule). Editorial styles that leave "a", "the" or "of" lowercase are a convention, not a law — and the programming cases treat anything that is not a letter or number as a word separator.

Where each case is used

  • UPPER / lower / Sentence — prose, headings and UI copy. Sentence case is the default voice of modern interfaces.
  • Title Case — headings and article titles. This tool capitalizes every word; editorial guides that lowercase "a", "an" and "the" are house conventions, not rules.
  • camelCase — JavaScript, TypeScript and Java identifiers: getUserById.
  • PascalCase — class and component names: UserCard.
  • snake_case — Python, SQL and filenames: user_order_total.
  • kebab-case — URLs, CSS classes, HTML attributes and Git branches: color-converter. Search engines treat hyphens as word separators, which is why slugs use it.
  • CONSTANT_CASE — values that never change: MAX_RETRIES.

How words are detected

The programming cases split your input on anything that is not a letter or a number — spaces, hyphens, underscores, punctuation — and also split existing camelCase boundaries, so parseHTTPResponse andparse-http-response both becomeparseHttpResponse in Pascal form. Accented letters are letters: cañón stays a single word.

Title Case and Sentence case preserve punctuation and don't fold existing camelCase — they're for prose, not identifiers. Sentence case lowercases everything and capitalizes after sentence ends, so"HELLO. WORLD?" becomes"Hello. World?".

FAQ

Does uppercasing break special characters?

Accented and non-Latin letters convert fine (ñ →Ñ); the German ß uppercases toSS per the Unicode default — one of the rare cases where case changes length. Numbers and symbols pass through untouched.

Which case for a URL slug?

kebab-case, lowercase. If you also need accents removed (ñ→ n) and a proper URL slug, that's the slug generator on this site's roadmap — the case converter keeps letters as they are.

More text tools