What is snake_case?
snake_case writes every detected word in lowercase and places one underscore between adjacent words.
The converter runs entirely in your browser. Your input is not uploaded or stored, and Unicode characters remain Unicode rather than being transliterated.
How this conversion works
- Find words across spaces, punctuation, separators, camelCase, PascalCase, and acronym boundaries.
- Lowercase every word and join adjacent words with a single underscore.
- Preserve Unicode letters, numbers, blank lines, and separate lines.
Snake Case Converter examples
InputOutput
database connectiondatabase_connectionuserProfileIDuser_profile_idHTTP response code 2http_response_code_2Crème brûléecrème_brûléeCommon uses
- Python variables
- Database columns
- Configuration keys and file names
Snake Case Converter FAQ
Does snake_case use hyphens?
No. It uses underscores. Choose the kebab-case converter when you need hyphens.
Will repeated separators create repeated underscores?
No. Separators identify words, and the result places one underscore between detected words.