Developer

Case Style Converter

Type an identifier or phrase and see it rewritten in camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE side by side, right in your browser.

camelCase
myVariableName
PascalCase
MyVariableName
snake_case
my_variable_name
kebab-case
my-variable-name
CONSTANT_CASE
MY_VARIABLE_NAME

How it works

Naming conventions differ by language and context: JavaScript loves camelCase, Python leans on snake_case, CSS uses kebab-case, and constants often shout in CONSTANT_CASE. Retyping the same name in each style is fiddly and easy to get wrong.

The converter first breaks your input into words. It splits on the obvious separators — spaces, underscores, hyphens, dots — and also on the humps inside camelCase and PascalCase, so 'getHTTPResponse' cleanly becomes get, http, response.

From that word list it rebuilds every style at once. Because they all come from the same parsed words, switching between them is consistent no matter how you typed the original — paste in any format and read off whichever one you need.

Frequently asked questions

Can I paste something that's already in one of these styles?

Yes. It detects the humps and separators in your input, so pasting camelCase, snake_case, or a plain phrase all work — it re-splits into words and rebuilds the rest.

How are acronyms like HTTP handled?

Runs of capitals are treated as one word until the next lowercase letter starts a new one, so 'HTTPServer' splits into http and server rather than one letter per word.

What happens to numbers and symbols?

Digits stay attached to the word they're next to. Separators like spaces, dashes, dots, and underscores are treated as word boundaries and dropped from the output.