Snake Case Converter
Convert text and identifiers to lowercase snake_case online for database fields, variables, filenames, and configuration keys. Read more
Convert text to snake_case
Snake case writes words in lowercase and joins them with underscores. Hello world example becomes hello_world_example.
This convention is common for database columns, Python variables, configuration keys, command options, filenames, and systems where spaces are inconvenient.
How to create snake case
- Enter a phrase or existing identifier.
- Convert recognized word boundaries to underscores.
- Review acronyms, numbers, and special characters in the result.
The converter normalizes case and separators. It does not check whether the output is a reserved word or a valid identifier in a particular language or database.
Snake case FAQ
What is screaming snake case?
Constant Case uses the same underscore separators but uppercase words, such as MAX_RETRY_COUNT.
How is snake_case different from kebab-case?
Kebab Case uses hyphens instead of underscores.
Are consecutive spaces converted to repeated underscores?
Recognized separators are normalized around inferred words rather than copied literally.
Input
Output
Share Link
Settings