Text Cleaner

Free · nothing uploaded · no sign-up

Eleven one-click fixes for messy text — extra spaces, blank lines, broken line breaks from a PDF, duplicate lines, HTML tags, curly quotes and emoji. Every button can be undone, and nothing is uploaded.

Details

🎆 Text tidy? Turn it into a fireworks card with any name →

What each button removes

ButtonWhat it doesUse it when
Extra spacesCollapses runs of spaces and tabs into one, trims each lineText copied from a PDF or a table
Blank linesRemoves empty lines, leaves single line breaksPasted from email or a web page
All line breaksJoins everything into one paragraphA PDF that broke every line at the page width
Duplicate linesKeeps the first of each identical lineMerged lists, exported data
HTML tagsStrips anything between angle bracketsCopied source code or a saved page
Smart quotesTurns curly quotes and dashes into plain onesText going into code, a CSV, or an SMS
Leading numbersRemoves "1." and "1)" from the start of linesTurning a numbered list into plain lines
EmojiRemoves emoji and pictographsText going somewhere that cannot display them

Why PDF text pastes so badly

A PDF stores glyphs at coordinates, not paragraphs. When you copy from one, the text arrives broken at wherever each visual line ended, which is why a clean paragraph turns into fifteen short lines with a hyphen at the end of some of them.

The fix is two clicks: All line breaks to rejoin everything, then Extra spaces to tidy what is left. Then re-add paragraph breaks by hand where they belong.

Smart quotes break more than you think

Word and Google Docs replace straight quotes with curly ones automatically. That is right for print and wrong almost everywhere else. Curly quotes break code, corrupt CSV imports, and switch an SMS from the 160-character mode to the 70-character one — the same trap an emoji sets.

If text is going anywhere technical, run Smart quotes → straight first.

Common questions

How do I fix text copied from a PDF? Use All line breaks to rejoin the broken lines, then Extra spaces to tidy up. Add paragraph breaks back by hand afterwards.

How do I remove blank lines from text? Press the Blank lines button. It removes empty lines and keeps the single line breaks between the rest.

What are smart quotes and why remove them? Curly quotes that Word and Google Docs insert automatically. They break code, corrupt CSV files, and drop an SMS from 160 characters to 70.

How do I remove duplicate lines? Press Duplicate lines. It keeps the first occurrence of each identical line and removes the rest.

Is my text uploaded anywhere? No. Every operation runs in your browser, so nothing is sent to a server or stored.