Tool Workspace

Enter content, process with one click

输入文本
处理结果

1Introduction

The camelCase/snake_case converter is a naming format conversion tool for developers that quickly switches between camelCase (like userName) and snake_case (like user_name), and also handles common variants like constant case (USER_NAME). Paste or enter text and batch conversion is done with one click - no manual per-word edits. It supports real-time conversion, batch processing, and case style options, suitable for variable names, function names, database fields, and config key-value pairs. Results can be copied with one click for direct pasting into code editors, reducing repetitive operations and typos. Whether unifying team code standards, refactoring legacy projects, or migrating naming styles between programming languages, this tool offers quick help so developers can focus on the business logic itself.

2How to Use

1

Enter the text to convert

Paste variable names or code snippets. Multi-line batch input is supported.

2

Choose a direction

Select camelCase to snake_case or snake_case to camelCase as needed.

3

Convert and copy in one click

Click the button to complete the conversion. The result is generated automatically and can be copied with one click.

3FAQ

What is camel case?

Camel case is a naming convention that mixes uppercase and lowercase letters to form variable names, such as myVariableName, commonly used for naming variables and functions in programming languages.

What is snake case?

Snake case uses underscores to separate words, such as my_variable_name, often used for database fields or naming in languages like Python.