Home/snake_case Converter

snake_case Converter

Convert your text to snake_case with underscores between words.

Examples

InputHello World Example
Outputhello_world_example
InputGet User Name
Outputget_user_name

What is snake_case?

snake_case replaces spaces with underscores and converts all letters to lowercase. It is called snake_case because the underscores on the baseline resemble a snake slithering along the ground.

When to use snake_case

Use snake_case for Python variable and function names (PEP 8 standard), for Ruby method and variable names, for database table and column names, and for file names in many Unix/Linux conventions.