Skip to content

Case Converters · free · no sign-up

Snake Case Converter

Convert text to snake_case, common in Python, Ruby and database column names.

How it works Report a problem

Snake Case Converter

Convert text to snake_case - the standard for database columns and Python variables

Chars: 0 Words: 0
Database/System Format
0 Chars (After)
1 Tokenized Output
snake_case Case Type
Raw Text
Snake Case Preview

About the Snake Case Converter

Convert text to snake_case, common in Python, Ruby and database column names.

How to use the Snake Case Converter

  1. Type or paste your text, or use Paste.
  2. Press Convert to snake_case.
  3. Use Copy Result or Download to keep the result, and Clear to start again.

Formula and method

All letters are lowercase and words are joined by underscores.

Worked example

"User First Name" becomes user_first_name.

Tips

  • Database columns and Python variables are usually snake_case.

Frequently asked questions

Where is snake_case used?
Python variables and functions, Ruby, and SQL column names.