About snake_case
Python's PEP 8 style guide uses snake_case for variables and functions, and most SQL databases use it for column names, such as created_at and total_amount.
Need a different style? Every other case conversion is one tap away above: UPPER, lower, Sentence, Title, camelCase, snake_case and more. Your text never leaves your device.
Text cases explained
| Case | Example | Used for |
|---|---|---|
| Sentence case | The quick brown fox. It jumps. | Normal writing, messages, descriptions |
| lower case | the quick brown fox | Email addresses, tags, casual text |
| UPPER CASE | THE QUICK BROWN FOX | Headings, warnings, acronyms |
| Title Case | The Quick Brown Fox in the Box | Headlines, book and article titles (short words stay lower case) |
| Capitalized Case | The Quick Brown Fox In The Box | Names, labels, form fields |
| camelCase | theQuickBrownFox | JavaScript and Java variables |
| PascalCase | TheQuickBrownFox | Class and component names |
| snake_case | the_quick_brown_fox | Python variables, database columns |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Constants and environment variables |
| kebab-case | the-quick-brown-fox | URLs, CSS classes, file names |
| aLtErNaTiNg cAsE | tHe qUiCk bRoWn fOx | Memes and jokes |
Your text never leaves your device. All conversions happen in your browser, and nothing is uploaded or stored on a server.
Frequently asked questions
How do I convert text to snake_case?
Type or paste your text in the box. Press the highlighted snake_case button, then use Copy text or Download.