Snake Case Converter
Convert text to snake_case format with underscores between words.
Convert names to snake_case, with lowercase words joined by underscores: "User Account ID" and userAccountId both become user_account_id. Paste names in any style, one per line, and tick SCREAMING_SNAKE_CASE for constants and environment variables (USER_ACCOUNT_ID). snake_case is the convention for Python variables and functions, Ruby, and most SQL table and column names.
Common use cases
- Name Python variables and functions
- Make database table and column names
- Write environment variable names in capitals
How to use
- Paste names, one per line.
- Tick SCREAMING_SNAKE_CASE if you need capitals.
- Copy the results.
FAQ
When are capitals used in snake case?
SCREAMING_SNAKE_CASE is the usual style for constants and environment variables, such as MAX_RETRIES or DATABASE_URL.
How are acronyms handled?
Runs of capitals are treated as one word, so HTTPResponseCode becomes http_response_code.
Related tools
- Kebab Case ConverterConvert text to kebab-case format with hyphens between words.
- Camel Case ConverterConvert text to camelCase format for programming variable names.
- Pascal Case ConverterConvert text to PascalCase format for class and type names.
- Uppercase ConverterConvert all text characters to uppercase letters instantly.
- Lowercase ConverterConvert all text characters to lowercase letters instantly.
- Title Case ConverterCapitalize the first letter of each word for proper title formatting.