Unicorn

Case Converter

Paste an identifier or a phrase and get all the common styles at once — camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Train-Case, dot.case, title case and sentence case. Word boundaries are read from hyphens, underscores, spaces and the capital humps already present, so the same six words stay the same six words in every convention.

How to use

One identifier in, every naming style out: camel, snake, kebab and more. Your data is processed only inside this browser tab.

FAQ

Which style should I pick?

snake_case and CONSTANT_CASE for Python and C macros, camelCase and PascalCase for Java, JavaScript and C#, kebab-case for CSS classes, URLs and Kubernetes names.

What happens to acronyms like HTTP?

A run of capitals is treated as one word and re-cased like any other, so camelCase output gives httpRequestUrl. Fix the spelling in the source if you need HTTP preserved verbatim.

Related tools