Case Converter

Convert text between every common case style — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and more — instantly, side-by-side, with one-click copy.

  • Runs in browser
  • No signup
  • No tracking
Share

How to use Case Converter

  1. Type or paste your text.

  2. See all common case forms render instantly.

  3. Click Copy on the form you need.

When to use it

  • Generating a TypeScript class name from a database table name.

  • Converting design tokens between camelCase JS and kebab-case CSS.

  • Renaming environment variables to CONSTANT_CASE.

  • Producing URL slugs from page titles via kebab-case.

What it fixes

  • Manually retyping identifiers when copying between languages.

  • Mixed casing slipping into code reviews because of inconsistent slugs.

  • Online converters that only output two or three forms at a time.

About Case Converter

Different languages and ecosystems prefer different identifier styles: JavaScript variables are camelCase, React components are PascalCase, Python and Ruby use snake_case, CSS classes are kebab-case, environment variables are CONSTANT_CASE. Manually retyping when you copy between contexts is wasted time.

This converter splits your input into word tokens (handling existing casing, separators, and intra-word camelCase boundaries) and re-joins them in every common style. Every result has a copy button.

References: MDN — String.prototype.toLowerCase

Frequently asked

  • What cases are supported?

    UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, alternating, and inverse case.

  • How does it detect word boundaries?

    It splits on whitespace, hyphens, underscores, dots, and slashes — plus the lowercase→uppercase transitions inside camelCase or PascalCase identifiers. So 'getUserByID' becomes 'get User By ID' before re-joining.

  • Does it handle Unicode and acronyms?

    It uses native JavaScript case methods, so Unicode is handled. Acronyms like 'XML' inside identifiers split as one boundary ('XMLParser' → 'XML Parser'). For strict acronym preservation, paste the desired form directly.

Discussion

All tools