TextCase

snake_case Converter — Convert Text to snake_case

snake_case converter: turn any phrase into snake_case (my_variable_name) for Python, Ruby, and SQL.

Your text never leaves your browser — converted locally, instantly.

Try: Your text=type or paste your text here → nan

How to use

snake_case writes every word in lowercase joined by underscores. It is the conventional style for Python and Ruby variables and for SQL column names. Type your text and click Calculate, then copy the result.

FAQ

When should I use snake_case?

Use snake_case for variables and database columns in Python, Ruby, and SQL, where it is the expected naming style.

Related calculators