Snake case converts text to lowercase and replaces spaces with underscores, so helloWord this is an example of how snake caseLooks becomes hello_word_this_is_an_example_of_how_snake_case_looks. It also splits camelCase words and is commonly used for variables, functions and database columns. Paste your text, then copy the result. It is free and runs in your browser.
helloWord this is an example of how snake caseLooks
hello_word_this_is_an_example_of_how_snake_case_looks
HTMLParser for API v2
html_parser_for_api_v2
Room Number 7, Floor-3
room_number_7_floor_3
The standard naming style in Python, Ruby and Rust, such as user_profile_page.
Common for table and column names in SQL databases, such as created_at and order_items.
Used for file names, and in UPPER_SNAKE_CASE for constants and environment variables.
| Style | Example | Typical use |
|---|---|---|
| Snake case | user_profile_page | Python, Ruby, Rust variables, database columns |
| Upper snake case | USER_PROFILE_PAGE | Constants and environment variables |
| Camel case | userProfilePage | Variables and functions in JavaScript, Java |
| Pascal case | UserProfilePage | Class names in C#, Java, TypeScript |
| Kebab case | user-profile-page | URLs, CSS classes, file names |
Snake case separates words with underscores, while camel case and Pascal case join words together and use capital letters instead.
Snake case writes words in lowercase and joins them with underscores instead of spaces, for example hello_world. It is also called snake_case and is popular in programming and databases.
Type or paste your text into the input box. The snake case version appears instantly in the result box. Press Copy result and paste it into your code, spreadsheet or document.
Yes. The tool splits words where a lowercase letter meets a capital letter, so helloWord becomes hello_word and HTMLParser becomes html_parser.
Spaces, hyphens, punctuation and repeated separators are treated as word breaks and replaced with a single underscore. No underscores are added at the start or end.
Tick the UPPER_SNAKE_CASE option. Every letter is made uppercase, so max retry count becomes MAX_RETRY_COUNT. This style is commonly used for constants.
Snake case is the standard naming style for variables and functions in Python, Ruby and Rust, and is widely used for database table and column names and file names.
Yes. Every line becomes its own snake case name, so you can convert a whole list of names at once.
Yes. It is free, needs no account, and runs in your browser, so the text you enter is not uploaded to a server.
Bookmark this page: press Ctrl+D (Windows) or Cmd+D (Mac).
Last updated: November 2026 · Free · No sign-up · Runs in your browser