Programming Case Converter

Convert identifiers between camelCase, snake_case, kebab-case, PascalCase and more.

Switching naming conventions

Different languages and contexts favour different naming styles: camelCase in JavaScript, snake_case in Python, kebab-case in CSS and URLs, PascalCase for classes, CONSTANT_CASE for constants. Converting a name between these by hand is fiddly, especially in bulk. This transforms identifiers from one convention to another instantly, so a list of names can be reshaped to fit wherever it is going.

Paste your identifiers and pick the target case.

Why the conventions exist

These styles are not arbitrary fashion — each community settled on one for consistency, and following the local convention is part of writing code that reads as native. Converting matters most when data crosses boundaries: an API returning snake_case fields that your JavaScript wants in camelCase, or a database column that needs to become a URL slug. Reshaping the names in bulk saves the tedious, error-prone job of renaming each one by hand to match the destination's style.

Frequently asked questions

What cases can it convert between?

camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE and similar identifier styles.

When do I need this?

Most often when data crosses boundaries — an API's snake_case fields into camelCase, or a name into a URL slug.

Is my text uploaded?

No. The conversion happens in your browser.

More Developer tools