snake_case converter
Turns words into a snake_case name, with lower-case words joined by underscores.
| What it does | Turns words into a snake_case name, with lower-case words joined by underscores. |
|---|---|
| Exact rule | The text is split into words by the same rule as camelCase (non-letters, small-to-capital edges, letters and digits) and joined in lower-case with underscores. |
| Example text | Convert This Phrase to snake_case |
| Example result | convert_this_phrase_to_snake_case |
| Limits | Digits are split from letters, so version2 becomes version_2. |
| Where it runs | In your browser: your text is never uploaded, stored or logged. |
Related tools
UPPERCASE converter lowercase converter Title case converter Sentence case converter camelCase converter kebab-case converter Slug generator
How to use the snake_case converter
- Type a phrase or an identifier.
- Copy the snake_case name.
- Use camelCase or kebab-case for other styles.
How it works
The text is split into words by the same rule as camelCase (non-letters, small-to-capital edges, letters and digits) and joined in lower-case with underscores.
Digits are split from letters, so version2 becomes version_2.