This tool converts camelCase identifiers into snake_case, useful for databases and Python — converted in your browser.
How to use it
- Paste camelCase names.
- Capitals become underscore-separated.
- 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.