- No data uploaded
- Instant results
Convert Text to snake_case
Paste or type text below and it is converted to snake_case as you type. Multi-line input is converted line by line, so lists of identifiers stay lists.
Convert Text to snake_case
84 chars
snake_case result
Processed locally in your browser — nothing is uploaded.
When to use snake_case
snake_case is typically used for Python variables, database columns and file names.
How word boundaries are detected
Words are split on spaces, punctuation, underscores and hyphens, and on case changes inside identifiers — so parseHTTPResponse becomes the words “parse”, “HTTP”, “Response”. Accented and non-Latin letters are preserved.
snake_case examples
| Input | snake_case |
|---|---|
| user profile settings | user_profile_settings |
| getHTTPResponseCode | get_http_response_code |
| Total_Order-Amount | total_order_amount |
| the lord of the rings | the_lord_of_the_rings |
Frequently asked questions
Does the snake_case converter upload my text?
No. Conversion runs entirely in your browser using JavaScript; nothing leaves your device.
Is there a length limit?
No hard limit. Inputs of several megabytes convert in milliseconds on modern devices.