DevToolBox免费
博客
Ad Space

字符串命名格式转换器

在 camelCase、PascalCase、snake_case、kebab-case、CONSTANT_CASE 等命名规范之间转换文本。

camelCase
...
PascalCase
...
snake_case
...
kebab-case
...
CONSTANT_CASE
...
Title Case
...
Sentence case
...
dot.case
...
path/case
...

关于命名规范

命名规范在编程中对代码可读性和一致性至关重要。常见规范包括 camelCase(JavaScript)、snake_case(Python)、kebab-case(CSS/URL)、PascalCase(类名)和 CONSTANT_CASE(常量)。此工具可即时转换所有主流命名规范。

Ad Space

使用方法

  1. Type or paste any text in the input field
  2. All 9 naming conventions are shown instantly
  3. Click the copy button next to any format you need

使用场景

  • Converting variable names between programming languages
  • Generating CSS class names from descriptions
  • Creating URL slugs from titles
  • Standardizing naming conventions in codebases

常见问题

Ad Space