Skip to content
Accessibility
Theme
Text size
High contrast
Limit animations
Readable fontAtkinson Hyperlegible
Increased text spacing
Underline links
Always show focus

Runs in your browser — nothing you paste is uploaded.

Case Converter

Type once, get every case: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more. Runs in your browser.

Splits on spaces, hyphens, underscores, and camelCase boundaries.


    

What it does

It reads your text as a sequence of words and re-spells that sequence in every common programming and writing convention at once, so you copy whichever one the target language or style guide expects. Type hello world example and you immediately get helloWorldExample, HelloWorldExample, hello_world_example, hello-world-example, HELLO_WORLD_EXAMPLE and the rest — no retyping, no fixing capitalisation by hand.

How it splits words

The splitter treats spaces, hyphens and underscores as separators, and also breaks on a lowercase-to-uppercase boundary, so an existing identifier like getUserID or parseHTMLString is understood as separate words rather than one blob. Every word is lowercased first, then recombined, which means you can paste in text that is already in one case and convert it straight to another.

Cases produced

camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lowercase and UPPERCASE — generated together and padded into an aligned list so each is easy to scan and copy.

Gotchas

Because splitting happens on case boundaries, acronyms can surprise you: parseJSONData splits into parse, json and data, which is usually what you want, but a run of capitals such as APIKey becomes apikey rather than api key. Punctuation other than hyphen and underscore (dots, slashes, colons) is kept inside a word, so clean those out first if you want them treated as breaks. The tool changes capitalisation and separators only; it does not translate spaces to real identifiers for you beyond that.

Related

Turning a title into a URL segment? Try the Slug Generator. Need placeholder words to test a layout, use Lorem Ipsum, or count words and characters with Text Stats.

Privacy

All conversion is local; nothing is uploaded.

Frequently asked questions

How are word boundaries detected?

Text is split on spaces, hyphens, underscores and camelCase boundaries, then rebuilt — so getUserID, get_user_id and Get User ID all normalise the same way.

What is CONSTANT_CASE for?

Upper snake_case — the convention for constants and environment variables, e.g. MAX_RETRIES or API_URL.

Related tools