Text Cleaner

Fix messy pasted text in one click

Processed instantly in your browser. Nothing is sent or stored anywhere.

About this tool

Text copied from PDFs, Word documents and web pages arrives full of invisible junk: zero-width spaces, non-breaking spaces, smart quotes that break code, and ragged line endings. Pasting it as-is causes subtle bugs and ugly formatting.

The JoliTools text cleaner strips all of that in one pass. Toggle exactly which cleanups to apply, preview the result instantly, and copy clean text that behaves the way you expect. All processing stays in your browser.

How to use the text cleaner

  1. 1Paste the messy text into the editor.
  2. 2Toggle the cleanups you want: invisible chars, smart quotes, spacing.
  3. 3Click Clean text.
  4. 4Copy the tidied result.

Frequently asked questions

It removes zero-width and invisible Unicode characters, converts smart quotes to straight quotes, trims each line, and collapses runs of blank lines.

More free tools you might find useful.

Part of Text Tools on JoliTools, free tools, no sign-up.