大小写转换
改变字符串的大小写风格,支持多种大小写格式切换。
小写 (lowercase)
hello world
大写 (uppercase)
HELLO WORLD
驼峰 (camelcase)
helloWorld
首字母大写 (capitalcase)
Hello World
常量 (constantcase)
HELLO_WORLD
点分隔 (dotcase)
hello.world
标题连字符 (headercase)
Hello-World
原样 (nocase)
hello world
参数 (paramcase)
hello-world
帕斯卡 (pascalcase)
HelloWorld
路径 (pathcase)
hello/world
句子 (sentencecase)
Hello world
蛇形 (snakecase)
hello_world
嘲弄 (mockingcase)
hElLo wOrLd
工具简介
将文本快速转换为各种常见的大小写格式,包括编程命名规范(驼峰、帕斯卡、蛇形、常量等)以及日常书写格式(句子、首字母大写等)。所有转换实时进行,无需提交。
使用说明
- 在输入框中键入或粘贴任意文本,下方所有格式会立即更新。
- 每种格式的含义:
- 小写:全部字母小写
- 大写:全部字母大写
- 驼峰:第一个单词首字母小写,后续单词首字母大写(如 helloWorld)
- 首字母大写:每个单词首字母大写,其余小写
- 常量:全大写,单词间用下划线
- 点分隔:全小写,单词间用点
- 标题连字符:每个单词首字母大写,单词间用连字符
- 原样:保持原始输入不变
- 参数:全小写,单词间用连字符
- 帕斯卡:每个单词首字母大写,无分隔符
- 路径:全小写,单词间用斜杠
- 句子:首字母大写,其余小写
- 蛇形:全小写,单词间用下划线
- 嘲弄:交替大小写(HeLLo WoRLd 风格)