Toolz

Case Converter

Switch text between camelCase, snake_case, kebab-case and more.

Your text

camelCase

helloWorldAgain

PascalCase

HelloWorldAgain

snake_case

hello_world_again

SCREAMING_SNAKE_CASE

HELLO_WORLD_AGAIN

kebab-case

hello-world-again

Title Case

Hello World Again

Sentence case

Hello world again

lower case

hello world again

UPPER CASE

HELLO WORLD AGAIN

It reads your input, whatever shape it is in

The converter first breaks your text into plain words — splitting on spaces, underscores, hyphens and on the humps inside camelCase — and then rebuilds every format from that list. So you can paste user_id_list, UserIDList or user id list and get the same nine results. Consecutive capitals are handled as a group, which is why parseHTMLDocument splits into parse / html / document rather than one letter at a time.

Which case belongs where

Conventions differ per language and per layer. JavaScript and Java use camelCase for variables and PascalCase for classes and components; Python, Ruby and SQL prefer snake_case; CSS classes, URL slugs and CLI flags are kebab-case; environment variables and constants are SCREAMING_SNAKE_CASE. Matching the local convention costs nothing and saves every future reader a small stumble.

What gets lost in the conversion

Because separators are discarded, punctuation and accents do not survive the round trip — this is a converter for identifiers, not a formatter for prose. Title Case here also capitalizes every word, including short ones like “of” and “the”, rather than following an editorial style guide. If you need real headline casing, treat the output as a starting point.

Related tools

Most popular