Case Converter (camelCase, snake_case, Title Case…)

Type once and see your text in every common case, each with its own copy button.

Runs in your browser — nothing you enter is uploaded

Case Converter

Tip: press Ctrl+Enter (Cmd+Enter on Mac) inside a text box to run.

Your result will appear hereStart typing and it updates instantly.

Formula

  • split into words on spaces, punctuation and lower→upper boundaries, then re-join with the target style
  • XMLHttpRequest splits into XML, Http, Request.

Identify the words, then write them back out in the style you want.

Worked example

Mixed identifier

Text
helloWorld_foo-bar

Words found

4

Characters: 18

HELLOWORLD_FOO-BAR

How it works

For identifier styles (camelCase, snake_case, kebab-case…) the tool first splits your text into words — at spaces, underscores, hyphens, dots and between a lower-case and an upper-case letter — so it can convert from any style to any other: helloWorld_foo-bar becomes hello_world_foo_bar in snake case.

Title Case capitalises every word and doesn't skip small words like “of” or “the”, which style guides handle differently. Sentence case capitalises the first letter after each full stop. Accented and non-Latin letters follow the standard Unicode case rules. For counting what you've written see the Word Counter; for encoding see URL Encode and Decode.

Assumptions and limits

  • English-style Title Case (no small-word exceptions).