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

Example

Before

UserProfileImageURL

After

user_profile_image_url

How to use this tool

  1. Type or paste your text into the box above.
  2. Click snake_case.
  3. 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.

Related tools

Save to file