关于此工具
Text copied from PDFs keeps the hard line breaks of the page layout, splits words with hyphens at line ends, and often contains invisible characters like non-breaking spaces, zero-width spaces and soft hyphens. This formatter rejoins lines that belong to the same paragraph while keeping real paragraph breaks and list items, merges “infor- mation” back into “information” (but keeps names like “Jean-Paul”), converts exotic Unicode spaces and tabs into normal spaces, and lets you output compact lines or clean double-spaced paragraphs. CJK text is joined without adding spaces.
与 LanguageHelper 上的所有工具一样,段落与空白格式化 完全在你的浏览器中运行。文本绝不会被上传、存储或用于训练,因此可放心处理机密文件、客户数据和私人消息。无需注册或安装,加载后即使离线也能继续使用。
使用方法
- Paste the messy text.
- Choose which clean-ups to apply.
- The formatted result updates as you change options.
- Copy the clean text into your editor.
使用场景
- Clean text copied from PDFs, e-books and scanned documents.
- Fix e-mails with hard line breaks at 72 characters.
- Remove invisible characters that break search and comparisons.
- Prepare text for word processors, CMS editors or translation.
示例
处理前
This is a para- graph that was wrapped.
处理后
This is a paragraph that was wrapped.
处理前
Too many spaces here
处理后
Too many spaces here
使用技巧
Start with the default options, which fix most PDF copies. If paragraphs are merged too aggressively, add blank lines between them in the input; if lists are merged, make sure each item starts with a bullet or number. Enable “Remove all empty lines” only when you want compact output such as one paragraph per line.
常见问题
How does it know where paragraphs end?
Blank lines always end a paragraph. Within a block, a line that is much shorter than the others and ends with a sentence terminator is also treated as the end of a paragraph, which matches how PDF text is typically laid out.
Will it break bullet lists?
No. Lines that start with bullets, dashes, numbers or letters followed by a period or parenthesis are kept on their own lines.
Which invisible characters are removed?
Soft hyphens, zero-width spaces, byte-order marks and word joiners are removed; non-breaking and other Unicode spaces become normal spaces. Zero-width joiners needed by Persian and Indic scripts are kept.
Does it handle Chinese and Japanese?
Yes. When two lines are joined between CJK characters, no space is inserted.
Is anything sent to a server?
No. Formatting happens instantly in your browser.
Can it convert single line breaks to paragraphs?
Yes. Turn off “Join broken lines” and keep “Blank line between paragraphs” on: each block you separated with a blank line is kept, and output paragraphs are separated by exactly one empty line.