H ToolHub / 所有工具 / 大小写转换器
🔤 文本工具

大小写转换器

在线文本大小写转换工具,支持驼峰式(camelCase)、蛇形式(snake_case)、短横式(kebab-case)等多种命名风格互转。

文本命名风格转换

在编程中,不同的语言和框架使用不同的命名约定。本工具帮助你在各种命名风格之间快速转换,提高编码效率。

支持的命名风格:

  • UPPERCASE:全大写,如 HELLO WORLD
  • lowercase:全小写,如 hello world
  • Title Case:标题格式,如 Hello World
  • camelCase:驼峰式,JavaScript/Java 常用,如 helloWorld
  • PascalCase:帕斯卡式,类名常用,如 HelloWorld
  • snake_case:蛇形式,Python/Ruby 常用,如 hello_world
  • kebab-case:短横式,CSS/URL 常用,如 hello-world
  • CONSTANT_CASE:常量式,如 HELLO_WORLD
  • dot.case:点分式,配置文件常用,如 hello.world

Text Naming Style Conversion

Different programming languages and frameworks use different naming conventions. This tool helps you quickly convert between various naming styles to improve coding efficiency.

Supported naming styles:

  • UPPERCASE — All caps, e.g. HELLO WORLD
  • lowercase — All lowercase, e.g. hello world
  • Title Case — Title format, e.g. Hello World
  • camelCase — JavaScript/Java convention, e.g. helloWorld
  • PascalCase — Class name convention, e.g. HelloWorld
  • snake_case — Python/Ruby convention, e.g. hello_world
  • kebab-case — CSS/URL convention, e.g. hello-world
  • CONSTANT_CASE — Constant convention, e.g. HELLO_WORLD
  • dot.case — Config file convention, e.g. hello.world