H ToolHub / 所有工具 / 排版格式一键清除
🧹 文本工具

排版格式一键清除

粘贴带格式文字,一键清除所有样式还原为纯文本。额外支持中英文标点符号互转、全角半角互转,适合整理从网页和 Word 复制的内容。

字符数0

什么是排版格式清除?

从网页、Word 文档、富文本编辑器中复制文字时,经常会带上隐藏的格式信息:字体、颜色、大小、HTML 标签、零宽字符、异常换行符等。粘贴到其他地方会导致排版错乱或出现乱码。

本工具提供以下功能:

  • 清除格式:去除所有不可见的格式字符(零宽空格、软连字符等),统一换行符为 LF,还原为干净纯文本。
  • 英文标点转中文标点:将英文引号、句号、逗号、分号、冒号、感叹号、问号、书名号、括号、破折号等智能转换为对应中文标点。引号自动判断开闭,句号/逗号等根据上下文是否邻近中文字符决定是否转换。
  • 中文标点转英文标点:将中文弯引号、句号、逗号、顿号、书名号、括号、省略号等全部转换为英文标点。
  • 全角转半角:将全角字母、数字、符号转换为半角,适用于代码、网址、英文排版等场景。
  • 半角转全角:将半角字母、数字、符号转换为全角,适用于中文排版对齐等场景。

适用场景

  • 从 Word 复制文字到 Markdown 编辑器
  • 从网页复制内容到邮件或文档
  • 整理中英文混排时的标点符号和全半角问题
  • 中译英时批量替换中文标点为英文标点
  • 清除复制粘贴带入的隐藏格式

What is Format Cleaning?

When copying text from web pages, Word documents, or rich text editors, hidden formatting is often carried along: fonts, colors, sizes, HTML tags, zero-width characters, abnormal line breaks, etc. Pasting elsewhere can cause layout issues or garbled text.

This tool provides the following features:

  • Strip Formatting: Remove all invisible formatting characters (zero-width spaces, soft hyphens, etc.), normalize line breaks to LF, and restore clean plain text.
  • English Punctuation to Chinese: Intelligently convert English quotes, periods, commas, semicolons, colons, exclamation marks, question marks, angle brackets, parentheses, and dashes to Chinese equivalents. Quotes auto-detect open/close; other punctuation converts only when adjacent to Chinese characters.
  • Chinese Punctuation to English: Convert all Chinese curly quotes, periods, commas, enumeration commas, angle brackets, parentheses, ellipsis, etc. to English punctuation.
  • Full-width to Half-width: Convert full-width letters, digits, and symbols to half-width. Useful for code, URLs, and English typography.
  • Half-width to Full-width: Convert half-width letters, digits, and symbols to full-width. Useful for Chinese text alignment.

Use Cases

  • Copying text from Word to a Markdown editor
  • Copying content from web pages to emails or documents
  • Fixing punctuation and full/half-width issues in mixed Chinese-English text
  • Batch-replacing Chinese punctuation when translating to English
  • Removing hidden formatting from copied text