Penglab Case

snake_case ↔ camelCase

Convert identifiers between snake_case and camelCase without leaving the browser.

Input

Output

Quick guide

What this tool does

Convert identifiers between snake_case and camelCase for code, configs, APIs, and database fields.

How to use it

Paste an identifier or naming pattern, then convert it to snake_case or camelCase for reuse in code, JSON, or field mappings.

When this tool is useful

Rename variables between backend snake_case and frontend camelCase conventions. Convert copied field names before pasting into JSON, code, or documentation. Normalize identifier formatting when moving between SQL, APIs, and app code.

Common use cases

Rename variables between backend snake_case

Rename variables between backend snake_case and frontend camelCase conventions.

Convert copied field names before

Convert copied field names before pasting into JSON, code, or documentation.

Normalize identifier formatting when moving

Normalize identifier formatting when moving between SQL, APIs, and app code.

Example input and output

Example input

user_profile_id

Expected output

userProfileId

FAQ

Does it only work with underscores?

No. The converter also handles common separators such as spaces and hyphens when building camelCase or snake_case output.

Who is this tool useful for?

It is useful for developers who move data between APIs, databases, frontend code, and documentation with different naming conventions.

Does snake ↔ camel run in the browser?

Yes. snake ↔ camel works in the browser so you can enter data, review the result, and copy the output without needing a separate desktop app.

Related tools

Feedback