Snake Case Converter

Convert text to snake_case for variables and database columns.

Keep or share the finished result Copy or share after running the tool. Saved tools and settings stay in this browser.
More

Convert text to snake_case

Paste a phrase above to convert it to snake_case: every word is lowercased and the words are joined with underscores, with spaces removed. This is the naming convention used for variables and functions in Python and Ruby, for database column names, and for configuration keys. Copy the result with one click.

snake_case vs camelCase

snake_case uses lowercase words joined by underscores (my_variable_name); camelCase removes the underscores and capitalizes later words instead (myVariableName). Use whichever your language or schema expects.

Frequently asked questions

What is snake_case used for?

It is common for variable and function names in Python and Ruby, for database columns, and for configuration keys.

Does it lowercase everything?

Yes. Every word is made lowercase and the words are joined with underscores.