How to use Snake Case Converter
- Paste identifiers, one per line.
- Enable SCREAMING_SNAKE_CASE for constants if needed.
- Copy the converted list.
Snake Case Converter features
- Converts camelCase, PascalCase, kebab-case and sentences to snake_case
- SCREAMING_SNAKE_CASE option for constants and environment variables
- Acronym boundaries detected (HTTPResponseCode → http_response_code)
- Batch conversion with an input/output table
- Unicode letters preserved
Snake Case Converter example
Python names from JavaScript identifiers
Input:
userFirstName
HTTPResponseCode
max-retry-countOutput:
user_first_name
http_response_code
max_retry_countFrequently asked questions about Snake Case Converter
When should I use snake_case?
Python variables and functions, Ruby, Rust, database columns and many REST APIs use snake_case. Environment variables and constants usually use the upper-case variant.
How do I get SCREAMING_SNAKE_CASE?
Tick the "SCREAMING_SNAKE_CASE" option; every word is upper-cased and joined with underscores, e.g. MAX_RETRY_COUNT.
Does "HTTPResponseCode" become http_response_code?
Yes. Acronyms are detected as separate words, so the result is http_response_code rather than h_t_t_p_response_code.
Are non-Latin letters preserved?
Yes — Arabic, Devanagari and other letters are kept as words and joined with underscores; only the separators change.