snake_case Converter
snake_case writes every word in lowercase and separates them with underscores. It is the convention for Python variables, Ruby methods and SQL column names.
Words: 0Characters: 0Sentences: 0Lines: 0Reading time: –
Text case
For developers
Extra tools
Select formatting to remove
Result
Example
Before
UserProfileImageURL
After
user_profile_image_url
How to use this tool
- Type or paste your text into the box above.
- Click snake_case.
- Copy the result, or save it to a file with Save.
Frequently asked questions
How are camelCase words split?
A new word starts at every lowercase-to-uppercase change, and runs of capitals such as “URL” are kept together, so “UserProfileImageURL” becomes “user_profile_image_url”.
What about CONSTANT_CASE?
Use the CONSTANT_CASE button for the same layout in capitals, commonly used for constants and environment variables.