Skip to content
Convertto

Text Cleaner

Strip smart quotes, invisible characters, ligatures and stray whitespace pasted from Word or a PDF.

Text pasted from Word, Google Docs or a PDF carries curly quotes, en and em dashes, ligatures, zero-width spaces and non-breaking spaces that break code, CSV files and search. This cleaner replaces each with its plain ASCII equivalent and reports exactly how many it changed.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Why does text from Word break my code?

Word autocorrects straight quotes into curly ones, which are different Unicode characters. A parser expecting an ASCII quote sees an unknown symbol, so the string never closes.

What are invisible characters doing in my text?

Zero-width spaces and soft hyphens are inserted by PDF exporters and some CMSs for line-breaking control. They are invisible but still count as characters, which breaks exact matching and inflates length limits.

How to use the text cleaner

  1. 1Enter or paste your text.
  2. 2Turn "Straighten quotes and apostrophes" on or off as needed.
  3. 3Turn "Convert en and em dashes to hyphens" on or off as needed.
  4. 4Turn "Expand ellipsis to three dots" on or off as needed.
  5. 5Turn "Split ligatures (fi → fi)" on or off as needed.
  6. 6Turn "Remove invisible characters" on or off as needed.
  7. 7Turn "Collapse repeated spaces and blank lines" on or off as needed.
  8. 8Turn "Remove accents (café → cafe)" on or off as needed.
  9. 9The result appears immediately — copy or download it.

Embed this tool

Put the working text cleaner on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More text tools