ToolMulti
Your everyday online toolkit

CamelCase ⇄ snake_case Converter

Free online variable-naming converter for camelCase and snake_case, with one-click conversion in both directions and multi-line batch support.

Tool Guide

About the CamelCase ⇄ snake_case Converter

Converts variable names between camelCase and snake_case in either direction, with multi-line batch processing — handy for switching between naming conventions.

Key Features

1. Two-Way Conversion

One click to convert camelCase to snake_case, or snake_case to camelCase.

2. Batch Processing

Processes input line by line, so you can convert many variable names at once.

How to Use

Step 1: Enter one variable name per line in the text box.

Step 2: Click "camelCase to snake_case" or "snake_case to camelCase".

Step 3: Review the result and copy it with one click.

Use Cases

Useful for converting naming conventions between front-end and back-end (e.g. JS variables to database columns), code refactoring, and unifying API field names.

FAQ

Can it convert multiple names at once?

Yes — one variable name per line, and all lines are converted together.

Can I copy the result with one click?

Yes, click "Copy Result" after conversion to copy it to the clipboard.