EasyWordCounter

Text Cleaner

Fix text that arrived out of a PDF, an email or a spreadsheet. Pick what to strip and the cleaned version appears underneath, ready to copy.

0 words · 0 characters

What to clean

Cleaned text

Your cleaned text appears here.
0 words0 characters0 lines

Runs in your browser. Your text is never uploaded.

The usual repairs

Text from a PDF. Remove line breaks but keep paragraphs, then remove extra spaces. Where the PDF had no blank lines between paragraphs, remove all line breaks instead: one long paragraph is easier to re-break than text broken in the wrong places.

Text from an email chain. Remove extra spaces and collapse blank lines. If the quote markers survived, find and replace “> ” with nothing in theeditor.

A list from a spreadsheet. Remove empty lines, thenremove duplicates andsort.

Text destined for code or a CSV. Convert smart quotes and remove non-ASCII characters. This is the fix for “it worked in Word and broke in the import”.

What the cleaner will not do

It does not fix spelling, grammar or capitalisation — usecase converter for the last of those. It does not restore paragraph breaks it cannot see, because the information was already lost when the text was copied. And it never changes your original: the box at the top keeps what you pasted until you press “Use as input”.

Frequently asked questions

What does the text cleaner actually remove?
Only what you tick. Each option is a separate, named transformation — extra spaces, blank lines, duplicate lines, line breaks, smart quotes, URLs, numbers, punctuation and non-ASCII characters — and they are applied in the order they are listed so the result is predictable.
Why does text pasted from a PDF look broken?
PDFs store a line break at the end of every visual line, not at the end of every paragraph. Pasting gives you text that wraps in the wrong places. Tick “Remove line breaks, keep paragraphs” to rejoin the lines while keeping the gaps between paragraphs, or “Remove all line breaks” for one paragraph. There is also a dedicated remove line breaks page.
What are smart quotes and why remove them?
Word processors replace straight quotes with curly typographic ones (“ ” ‘ ’) and hyphens with en and em dashes. They look better in print but break code, CSV files, some form validation and older systems. Converting them back to straight equivalents avoids that.
Is my text uploaded to be cleaned?
No. Every transformation runs in your browser. That matters for exactly the kind of text people paste into a cleaner — client documents, contracts, exported customer data.