文字与文档工具

空白清理

在浏览器中统一CRLF/CR换行,并可选择保留全部换行、最多保留一个空行或把换行合并成单段;独立控制边缘修剪与Unicode空白序列合并,支持复制结果。

优先本地处理无需注册隐私说明 ↗

The last option makes one clean paragraph, like a multiple-whitespace remover.

Whitespace rules

使用步骤

如何使用

  1. Paste text up to 100,000 characters and choose how line breaks should be handled.
  2. Keep or change edge trimming and repeated-Unicode-whitespace cleanup.
  3. Clean the text, then review and copy the exact result.

Line structure is an explicit choice

The default preserves every LF line break after converting CRLF and CR endings to LF. Keep at most one blank line collapses repeated empty lines after the selected line cleanup. Replace every line break with a space joins the input into one paragraph, matching the familiar multiple-whitespace-remover result without silently choosing that behavior for structured text.

Unicode-aware cleanup stays local

Edge trimming and repeated-whitespace collapse use the browser’s Unicode whitespace rules. With collapsing enabled, a run of spaces, tabs, non-breaking spaces, or other Unicode whitespace inside a processed part becomes one ordinary space. Turn either rule off when exact spacing matters. Nothing is uploaded; all processing runs in the current browser.

Review formatting-sensitive text

Code, fixed-width records, Markdown, quoted email, and intentional indentation can depend on whitespace. This tool changes only whitespace and line endings, but review the visible result before using it where formatting carries meaning.

常见问题

你可能还想知道

How do I make one paragraph?

Choose Replace every line break with a space. With repeated whitespace collapse enabled, every whitespace run becomes one space; this is the closest match to a classic multiple-whitespace remover.

Can I retain paragraph breaks?

Yes. Choose Keep at most one blank line to remove runs of empty lines while retaining one blank line between paragraphs. Choose Keep every line break when each input line must remain separate.

Does it change words or punctuation?

No. The cleaner only normalizes line endings and the whitespace options you select. It does not alter letters, numbers, emoji, or punctuation.

Should I use it on source code?

Use care. Indentation, line breaks, and repeated spaces can be meaningful in source code and fixed-width text.