Convert text to snake_case
snake_case is selected. Paste your words, and copy the converted names as they appear.
- Runs on your device
- No sign-up
- Works offline after a visit

Title and Sentence case keep capitals of two to five letters, such as NASA, and common acronyms such as PDF. Letters follow English rules, so i becomes I, unless the Turkish option is on: then i becomes İ and I becomes ı.
This page opens the case converter with snake_case selected. The words are lower case and joined by underscores, so user first name becomes user_first_name. You can paste the result into a code file or a list of column names without changing the style.
snake_case is common in Python and in database column names. CONSTANT_CASE, the upper-case version, is another option on the page. For web addresses and file names, kebab-case is more common.
How to change the case of text
- Paste or type your text in the box.
- Choose a case style above the result.
- Copy the converted text.
Questions
What is CONSTANT_CASE?
CONSTANT_CASE is the upper-case version of snake_case, such as USER_FIRST_NAME. It is another option in the list of styles on the page.
Can I convert a column of names in one go?
Yes. Paste one name per line. Each line is converted on its own, so each name comes back as one snake_case name, on the same line.
Which words stay lower case in Title Case?
Short words such as a, an, the, and, but, of, in, on and to stay lower case, unless they are the first or last word of a line. Each line is treated as its own title.
Why do PDF and NASA stay in capitals?
Title and Sentence case keep words of two to five capital letters, such as NASA, as they are. A short list of common acronyms, such as PDF, HTML and API, is capitalised even when typed in lower case. Text typed entirely in capitals is treated as shouting, so only that list is kept.
How are camelCase and snake_case worked out?
Each line is split at spaces, punctuation and changes from lower to upper case, so XMLHttpRequest is read as XML, Http and Request. Each line is converted on its own, so a list of names gives one identifier per line.
Is my text sent anywhere?
No. Conversion runs in your browser, and nothing is stored after you close the tab.
Reviews
No reviews yet. Be the first.

