跳到主要内容

文本大小写转换

UpBox优盒工具箱,免费文本大小写转换工具,支持全大写、全小写、标题格式、驼峰、下划线、短横线命名,并可去空行、去重与合并空格。

无需注册 · 数据不上传No sign-up · nothing uploaded

原始文本Input

转换结果Result

行数0
字符数0
输入内容后自动转换
本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器

工具介绍

文本大小写转换支持全大写、全小写、标题格式、句首大写,以及开发者常用的驼峰、下划线、短横线命名。粘贴文本后立即得到结果。 The converter covers UPPER, lower, Title and sentence case, plus the developer favourites camel, snake and kebab case. Paste text and the result appears immediately.

还可顺手清理行首尾空白、合并多余空格、删除空行、按行去重——处理名单、关键词表或日志片段时很省事。 It also trims each line, collapses extra spaces, drops empty lines and removes duplicates — handy for lists, keyword sheets and log snippets.

  • 8 种转换方式Eight conversion modes
  • 标题与句首大写Title and sentence case
  • 驼峰 / 下划线 / 短横线camel, snake, kebab
  • 实时转换Live conversion
  • 去空行与按行去重Drop empty and duplicate lines

使用说明

  1. 把需要处理的文本粘贴到左侧。Paste the text into the left box.
  2. 在“转换方式”里选择目标格式。Choose a target format under Convert to.
  3. 按需勾选附加处理:去空白、合并空格、删空行、去重。Tick the cleanups you need: trim, collapse spaces, drop empty or duplicate lines.
  4. 复制结果,或清空后处理下一段。Copy the result, or clear and start the next snippet.

常见问题

会改变中文内容吗?Does it change Chinese text?
大小写只影响拉丁字母,中文、数字和标点保持不变;去重与清理按整行处理。Case changes apply only to Latin letters; Chinese, digits and punctuation stay as-is. Dedupe and cleanup work per line.
驼峰命名会保留原有大写吗?Does camelCase keep existing capitals?
不会。它先按空格、下划线、短横线与大小写边界拆词,再统一小写后重组。No. It splits on spaces, underscores, hyphens and case boundaries, lowercases, then reassembles.
句首大写和标题格式有什么区别?What differs between sentence and title case?
句首大写把整段转为小写后只大写每句开头;标题格式则大写每个单词的首字母。Sentence case lowercases everything then capitalizes sentence starts; title case capitalizes every word.
去重会保留第一次出现的顺序吗?Does dedupe keep first occurrences?
会。按行比较,保留每行首次出现的位置,空行不受影响。Yes. Lines are compared and the first occurrence is kept; empty lines are untouched.
广告位

此处为广告位,可放置你的推广素材

支持图片、文字或 HTML 代码,替换本区块内容即可投放

浏览其他分类