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
- Paste the text.
- Tick the clean-ups you want.
- 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 (").
Related tools
- Trim WhitespaceRemove leading and trailing whitespace from text or each line.
- Remove Duplicate SpacesReplace multiple consecutive spaces with single spaces throughout text.
- HTML UnescapeConvert HTML entities back to their original characters for normal text.
- Remove WhitespaceStrip all whitespace characters including spaces, tabs, and newlines from text.
- Remove PunctuationRemove all punctuation marks from text while keeping letters and numbers.
- Sort Lines AlphabeticallySort all lines of text in alphabetical or reverse alphabetical order.