snake_case converter
Convert text to snake_case for Python variables, database columns and file names. Free online converter.
Runs on our server
Next in your workflow
Also with the case converter
About this tool
Turn a phrase into snake_case (user_first_name), the naming style used in Python, Ruby and database column names.
How to use it
- 1 Paste or type your text into the box.
- 2 Select the target letter case (Title Case, UPPERCASE, lowercase, camelCase, snake_case, etc.).
- 3 Select Convert to transform the text.
- 4 Copy the formatted result with one click.
Questions
What is Title Case?
Title Case capitalizes the first letter of each major word, keeping minor words (like and, in, the, of) lowercase according to standard editorial style guides.
What is camelCase vs snake_case?
camelCase joins words with the first letter lowercase and subsequent words capitalized (myVariableName). snake_case separates all lowercase words with underscores (my_variable_name).
Does Sentence case fix multiple sentences?
Yes. Sentence case capitalizes the first character following every period, exclamation mark, or question mark.
Do you store what I enter?
No. Your input is processed to give you the result and isn’t saved.
Is this tool free?
Yes. It’s free to use with no sign-up and no limits for normal use.
More in Text & writing
- Duplicate lines remover Remove repeated lines, keeping the first occurrence.
- Emojis remover Strip every emoji from text.
- HTML tags remover Strip HTML tags and keep only the text.
- Text separator Split text on one separator and join it with another, e.g. commas to new lines.
- Slug generator Turn a title into a clean URL slug.
- Word & character counter Count words, characters, sentences and paragraphs, and see the reading time.