驼峰 & 下划线命名转换

Case Converter

输入任意文字,实时转换为 6 种命名格式

Convert text to camelCase, PascalCase, snake_case, and more

输入文本Enter text CamelCase / space-separated / snake_case 皆可
camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE
dot.case
快捷示例Quick Examples
💡 支持的输入格式💡 Supported Input Formats
空格分隔(hello world)、驼峰(helloWorld)、下划线(hello_world)、 短横线(hello-world)、常量格式(HELLO_WORLD)均可自动识别并转换。 支持中英文混合。 Space-separated, camelCase, snake_case, kebab-case, and CONSTANT_CASE are all auto-detected and converted. Supports mixed Chinese and English text.

How to Use This Tool 使用说明

  1. Paste or type your text in the input area.
  2. Click any conversion button to instantly transform the text: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or Title Case.
  3. The original text is preserved — each conversion creates a new output you can copy.
  4. Use Copy to copy the converted result to your clipboard.
  5. This is especially useful for converting variable names between different programming language conventions.

Frequently Asked Questions 常见问题

← Back to all tools← 返回所有工具