</> ConvertAtlas Developer Tools
Text

camelCase to snake_case

Convert camelCase identifiers to snake_case.

Instant 100% in-browser Free

This tool converts camelCase identifiers into snake_case, useful for databases and Python — converted in your browser.

How to use it

  1. Paste camelCase names.
  2. Capitals become underscore-separated.
  3. Copy the snake_case result.

About camelCase to snake_case

When moving code from JavaScript to Python, or mapping API fields to database columns, you often need to switch from camelCase to snake_case. This tool inserts underscores before capital letters and lowercases everything, producing clean snake_case identifiers. It runs entirely in your browser.

FAQ

Does it lowercase everything?

Yes — after inserting underscores before capitals, the whole identifier is lowercased.

What about an initial capital (PascalCase)?

A leading capital is handled so you don't get a stray leading underscore.

How do I reverse it?

Use the snake_case to camelCase tool to convert back.