The text changes in this tab
Make a snake_case name
Words are split on anything that is not a letter or digit, then joined with underscores.
Letters are lower case.
The work stays in this tab.
This tool runs in your browser. Turn on JavaScript to use it.
snake_case
The sample is fixed. It uses the same rule as the form.
- Input
- Hello World
- Result
- hello_world
How to use it
- 1Edit the text.
- 2Read the result beside it.
- 3Copy what you need.
Good to know
- An existing underscore is a separator, not part of a word.
- This page does not upload the text.
- Text longer than one hundred thousand characters is rejected.
Questions
Does the result leave this browser?
No. The calculation finishes in the current tab.
What does this page leave out?
An existing underscore is a separator, not part of a word.
What if the input is huge?
Past one hundred thousand characters, the page stops and asks you to shorten it.
Related tools
- Make a camelCase name
The first word stays lower case. Later words start with an upper-case letter.
- Make a CONSTANT_CASE name
Words are upper case and joined with underscores.
- Convert identifier case
Code style is mostly about where the word breaks sit. This page finds those breaks and prints the same words in the forms languages usually want.