Paste your text
Type or paste anything, one line or many.
Paste a phrase, a camelCase name or a kebab-case name and get snake_case: all lowercase, words joined by underscores.
100% private — your text is processed in your browser and never sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
Type or paste anything, one line or many.
The style is already selected for you on this page; change it any time.
It updates as you type. Copy it or download it as a text file.
To convert text to snake_case, paste it in the box above and the result appears instantly in the output box, ready to copy. The style is already selected on this page. Every line is converted on its own, accents and other alphabets are respected, and nothing is uploaded because it all runs in your browser.
snake_case writes every word in lowercase and joins them with underscores. It is the standard for variable and function names in Python and Ruby, for database table and column names in SQL, and for file names and configuration keys in many projects. Its sibling SCREAMING_SNAKE_CASE, in capitals, is used for constants.
| Before | After |
|---|---|
User First Name | user_first_name |
orderLineItem | order_line_item |
shopping-cart-total | shopping_cart_total |
Total Amount (EUR) | total_amount_eur |
Your text is processed in your browser and never sent to a server, so you can safely convert drafts, contracts, code or anything private.
More utilities that also run without leaving your browser.