Skip to content
M2TOOLKIT

camelCase & snake_case Converter

Rename variables, keys and files between camelCase, snake_case, kebab-case and other programming styles.

  • Free
  • No sign-up
  • Runs in your browser

Type a name in any style — spaces, camelCase, snake_case — and every format appears here.

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the camelCase & snake_case Converter

  1. Type or paste names in any style, one per line.
  2. See every format at once.
  3. Copy the one you need.

What does this tool do?

Different languages and tools prefer different naming styles: camelCase in JavaScript, snake_case in Python and SQL, PascalCase for classes, kebab-case for URLs and CSS, and CONSTANT_CASE for constants.

The converter splits names into words intelligently — including acronyms, so “parseHTTPResponse” becomes parse_http_response.

Why use it?

  • Convert API keys between backend and frontend conventions.
  • Rename lots of identifiers at once.
  • Handles acronyms and numbers.

Example: “user profile id”

One input, every style:

StyleResult
camelCaseuserProfileId
PascalCaseUserProfileId
snake_caseuser_profile_id
CONSTANT_CASEUSER_PROFILE_ID
kebab-caseuser-profile-id

Privacy

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the camelcase & snake_case converter.