Skip to content

Text Cleaner

Strip double spaces, blank lines and messy formatting.

Fixes to apply

Private by design. This tool runs entirely in your browser. Your input is processed on your own device and is not uploaded by DO101.

About the Text Cleaner

Paste text copied from a PDF, an email or a website and tidy it with one click. Remove duplicate spaces, empty lines, line breaks inside paragraphs, smart quotes and invisible characters — you choose which fixes to apply.

How to use it

  1. 1Paste the messy text.
  2. 2Toggle the fixes you want.
  3. 3Copy the cleaned result.

What you get

  • Collapse duplicate spaces and tabs
  • Remove blank lines and trailing whitespace
  • Join broken paragraph line breaks
  • Convert smart quotes and dashes to plain ASCII
  • Strip zero-width and invisible characters

Frequently asked questions

Why does text copied from a PDF have odd line breaks?

PDFs store text line by line, so a copy carries a hard break at the end of every visual line. The "join wrapped lines" option rebuilds the paragraphs.

What are invisible characters?

Zero-width spaces and joiners sometimes ride along with copied text and break search, code and form validation. The cleaner removes them.

People who use this tool usually reach for these next.