Case Converter

camelCase, snake_case, kebab-case, PascalCase and more.

About this tool

Type or paste text and get it in every common naming convention at once: camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, sentence case, dot.case and a URL slug. Works line by line, so you can convert a whole list of names.

How to use it

  1. Type or paste a name or phrase. Put one per line to convert a whole list.
  2. Every naming style is shown at once: camelCase, PascalCase, snake_case, kebab-case and more.
  3. Click Copy on the style you need.

Questions

Which case should I use for what?
Common conventions: camelCase for JavaScript and Java variables, PascalCase for classes and React components, snake_case for Python and database columns, CONSTANT_CASE for constants and environment variables, kebab-case for URLs, CSS classes and file names.
How are acronyms like HTTP handled?
An acronym followed by a capitalised word is split correctly, so HTTPResponseCode becomes http_response_code and httpResponseCode.
What does the URL slug do with accents?
Accents and special letters are converted to plain ASCII, so “Café Münster” becomes cafe-munster, and anything that isn’t a letter, digit or hyphen is removed.

Something not working, or a result looks wrong? Report a problem with this tool