Granular Cleanup Rules
Control line endings, trailing whitespace, repeated spaces and tabs, blank lines, hard wraps, and line breaks independently to get the exact layout you need.
Remove trailing spaces, collapse multiple spaces, clean empty lines, repair hard wraps, or remove line breaks with a side-by-side comparison.
203 characters · 10 lines
Choose which whitespace rules to apply. Changes update the cleaned output automatically.
6 characters removed · 8 lines remain
Highlighted rows indicate modified lines. Showing up to the first 80 lines.
This copied paragraph has trailing spaces.
This copied paragraph has trailing spaces.
It also has unwanted hard
It also has unwanted hard
line breaks and a hyphen-
line breaks and a hyphen-
ated word.
ated word.
(blank)(blank)(blank)This paragraph contains repeated spaces.
(blank)(blank)This paragraph contains repeated spaces.
Choose only the cleanup operations you need.
(blank)(blank)Choose only the cleanup operations you need.
(blank)Paste copied paragraphs, email transcripts, code snippets, or Markdown documents into the editor, or load the built-in sample text.
Toggle individual rules for line endings, trailing spaces, repeated spaces and tabs, blank lines, and hard-wrapped paragraphs.
Review modified lines in the side-by-side comparison table, then copy the cleaned output or download it as a plain text file.
Control line endings, trailing whitespace, repeated spaces and tabs, blank lines, hard wraps, and line breaks independently to get the exact layout you need.
Preview every modified line in a synchronized before-and-after view with highlighted rows before copying or downloading the result.
Join broken lines copied from PDFs or emails back into flowing paragraphs and automatically reconnect words split across line-ending hyphens.
It joins lines inside each paragraph that were forcefully broken by PDF layouts, terminals, or email wrappers into flowing sentences, while preserving paragraph breaks and reconnecting words split with a trailing hyphen.
Yes. Keep Trim line endings enabled and leave Collapse repeated spaces turned off. That strips invisible spaces and tabs at the end of each line while keeping leading indentation in code, Markdown, or outlines intact.
Limit to one empty line compresses runs of two or more consecutive blank lines into a single blank line so paragraphs stay cleanly separated. Remove all empty lines deletes every blank line completely for compact lists or logs.
Documents copied from Windows, older Mac files, or rich editors can mix CRLF, CR, and Unicode line separators. Normalizing converts them all into consistent standard LF line breaks so downstream tools behave predictably.
Use Repair hard-wrapped prose when you want to keep separate paragraphs intact while fixing mid-sentence wraps. Use Remove all line breaks when you want the entire document flattened into one single continuous line, such as for a form field or spreadsheet cell.