Programming programming naming text

What is snake_case?

Definition

snake_case is a naming convention where words are separated by underscores and all letters are lowercase: my_variable_name, get_user_data, is_active. It is sometimes called underscore_case.

Why It Matters

snake_case is the standard in Python (PEP 8), Ruby, Rust, and database column naming. It is highly readable because underscores clearly separate words. Python developers must use snake_case for variables, functions, and module names.

Related Free Tools

Related Terms