How to convert text to camelCase, snake_case, kebab-case and more

Renaming variables, building URLs or fixing a headline typed in capitals: Case converter covers them all.

Steps

  1. Paste your text.
  2. Choose Convert to from the list.
  3. Copy the live result.

The cases at a glance

StyleExample
UPPER / lowerHELLO WORLD / hello world
Title CaseHello World
Sentence caseHello world.
camelCasehelloWorld
PascalCaseHelloWorld
snake_casehello_world
kebab-casehello-world
CONSTANT_CASEHELLO_WORLD
dot.casehello.world
Train-CaseHello-World
URL slughello-world, with accents removed
sWAP cASEhELLO
aLtErNaTiNgHeLlO wOrLd

Where each is used

  • camelCase for JavaScript variables, PascalCase for classes, snake_case for Python and databases, kebab-case for CSS classes and URLs, CONSTANT_CASE for constants.
  • URL slug turns “Café Menu 2026” into cafe-menu-2026, ready for a web address.

Tips

  • Programming cases work line by line, so a list of names stays a list.
  • Existing camelCase or PascalCase words are split correctly (userID becomes user_id).
  • Title Case here is simple capitalisation of each word; it does not follow style-guide rules about small words.

All guides

↑ ↓ navigateEnter openEsc close