snake_case Converter
Convert text to snake_case (or SCREAMING_SNAKE_CASE) — the output updates automatically as you type.
Processed locally in your browser — nothing is sent to a server.
Advertisement
About this tool
Paste text in any format and the snake_case version appears on the right automatically — every word is lowercased and joined with underscores. Turn on SCREAMING_SNAKE_CASE for the all-uppercase variant.
Frequently asked questions
- Can this also produce SCREAMING_SNAKE_CASE?
- Yes — toggle the "SCREAMING_SNAKE_CASE" switch above the input to get the all-uppercase variant from the same tool, instead of needing a separate page.
- What input formats does this detect?
- Any of them, automatically — plain English with spaces, kebab-case, camelCase, PascalCase, or SCREAMING_SNAKE_CASE — by splitting on spaces, underscores, hyphens, dots, and camelCase/PascalCase humps.
- How are numbers and acronyms handled?
- A digit run stays attached to the word before it ("myVar2Name" tokenizes as "my" / "Var2" / "Name"), and an acronym run splits where it meets a new capitalized word ("XMLParser" becomes "xml_parser").
- Does this work on multiple lines?
- Yes — each line converts independently, and line breaks are preserved in the output.
Advertisement
Privacy
Every conversion runs in your browser. Nothing you paste here is sent to WebCodeIn’s servers, logged, or stored.