PDF, Email, Word & Web Paste Cleanup · Instant · Free

Remove Line Breaks & Extra Spaces

Instantly clean up messy copy-pasted text from PDFs, emails, Word docs and websites. Remove line breaks, trim spaces, strip tabs, and fix whitespace in one click.

⚠️ Messy Input

This text has extra
spaces and ↵ line
breaks that↵
need cleaning up.

✅ Clean Output

This text has extra spaces and line breaks that need cleaning up.

Cleaning Options

↵
Remove All Line Breaks
Join text into one continuous line
📄
Preserve Paragraph Breaks
Keep blank lines between paragraphs
⎵
Remove Extra Spaces
Collapse 2+ spaces → single space
⇥
Remove Tabs
Replace tab characters with space
✂️
Trim Each Line
Remove leading/trailing spaces per line
🗑️
Remove Blank Lines
Delete empty or whitespace-only lines
🧹
Trim Start & End
Strip leading/trailing whitespace from whole text
🔤
Replace Smart Quotes
" " ' ' → " " ' '
‐
Remove Soft Hyphens
Strip invisible U+00AD characters (PDF artefacts)
Presets:
Cleaned: 0 line breaks removed 0 extra spaces removed 0 chars removed
0% cleaner
In: 0 chars In: 0 lines Out: 0 chars Out: 0 lines
Auto-clean

Drag & drop a .txt file to load

Cleaned output · editable · ready to paste

📄

PDF Copy-paste

PDFs often add a line break at every sentence end. The PDF preset removes all breaks and joins text into clean readable paragraphs.

📧

Email Cleanup

Forwarded emails add `>` markers and break lines at 72 chars. The email preset trims each line and removes the extra wrapping.

🌐

Web Page Copy

Web content pasted into a text editor carries inconsistent spacing, smart quotes, and soft hyphens. The web preset handles all of these.

📝

Word Documents

Word adds non-breaking spaces, smart quotes, and em-dashes. The full clean preset normalises all of these to standard ASCII equivalents.

Related Tools


Done!