Clipboard Cleaner

Clean and sanitize pasted text by removing formatting.

Clean up text copied from websites, PDFs, Word and email before you paste it somewhere else. It always removes invisible characters (zero-width spaces, soft hyphens, byte-order marks and control characters) and turns non-breaking and odd-width spaces into normal ones. You can also straighten curly quotes and dashes, collapse repeated spaces and blank lines, and join lines that a PDF wrapped in the middle of sentences.

Common use cases

  • Paste text from a PDF without broken line endings
  • Remove hidden characters that break code, forms or spreadsheets
  • Turn smart quotes into straight quotes for code or CSV

How to use

  1. Paste the text.
  2. Tick the clean-ups you want.
  3. Copy the cleaned text.

FAQ

What are zero-width characters?

Invisible characters used for word joining and line breaking. Pasted into code, passwords or spreadsheets, they cause errors you can't see.

Why straighten quotes?

Curly quotes (“ ”) break code, CSV files and command lines, which expect straight quotes (").