Advertisement

Case Converter

Transform text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, and more.

Input Text

Paste any text, camelCase, snake_case, or mixed

19Characters17No Spaces3Words1Lines
Try a sample

Converted Output

Click any row to copy the value

camelCasehelloWorldExample
Variables & functions (JS/TS)
PascalCaseHelloWorldExample
Classes & components (JS/TS)
snake_casehello_world_example
Variables & functions (Python/Ruby)
kebab-casehello-world-example
CSS classes & URL slugs
CONSTANT_CASEHELLO_WORLD_EXAMPLE
Constants & env variables
dot.casehello.world.example
Config keys & i18n paths
Title CaseHello World Example
Headings & display names
Sentence caseHello world example
Prose & descriptions
UPPERCASEHELLO WORLD EXAMPLE
Acronyms & labels
lowercasehello world example
Normalized raw text

How It Works

The converter first normalizes your text into word tokens by splitting on spaces, hyphens, underscores, dots, slashes, and camelCase/PascalCase boundaries — then reassembles them in the target casing style.

  • camelCase / PascalCase: First word lowercase/uppercase, each subsequent word capitalized, no separators.
  • snake_case / kebab-case: All words lowercase, joined by underscore or hyphen.
  • CONSTANT_CASE: All words uppercase joined by underscore — standard for env vars and constants.
  • dot.case: All words lowercase joined by dots — common in i18n translation keys and config paths.

Related Frontend Tools

Browse all 17 tools →