Writing toolssnake_case converter

snake_case converter

Separate words and number groups with underscores and convert letters to lowercase.

Add or drop TXT, Markdown, CSV, TSV, LOG, DOCX, ODT, or PDF files.

Preview

What this tool is for

Use lowercase words separated by underscores for a database column or an exported field. It is especially handy when the source already uses capitals to mark word boundaries.

How to use it

Paste “HTTPStatus42” into Your text. Preview shows “http_status_42”. The converter recognizes the acronym before Status and separates the following number. Copy the name into the column definition.

Worked example

Input

orderItem42

Result

order_item_42

Do several spaces create several underscores?

“order item” and “order-item” both produce “order_item”. Separators mark the boundary between words. If you are renaming multiple fields, check whether two old names now have the same spelling.