Word and Text Tools
Word and Text Tools › Change text case › snake_case converter

snake_case converter

Turns words into a snake_case name, with lower-case words joined by underscores.

What it doesTurns words into a snake_case name, with lower-case words joined by underscores.
Exact ruleThe 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 textConvert This Phrase to snake_case
Example resultconvert_this_phrase_to_snake_case
LimitsDigits are split from letters, so version2 becomes version_2.
Where it runsIn 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

All tools in Change text case

How to use the snake_case converter

  1. Type a phrase or an identifier.
  2. Copy the snake_case name.
  3. 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.