About this tool
Text pasted from PDFs, websites, emails and spreadsheets often carries junk: double spaces, hidden zero-width characters, curly quotes, leftover HTML and stray blank lines. Tick the clean-up steps you need and see the result update instantly. You can also join hard-wrapped lines back into paragraphs, remove emoji or accents, and sort or de-duplicate lines.
How to use Text Cleaner
- Paste the messy text.
- Tick the clean-up steps you want.
- Check the result and copy or download it.
Frequently asked questions
What are invisible characters?
Characters such as zero-width spaces, soft hyphens and byte-order marks that take no visible space but can break searches, code and form validation.
In what order are the steps applied?
HTML and invisible characters go first, then emoji, accents and quotes, then spacing and trimming, then paragraph joining, blank lines, de-duplication, sorting and finally case.
Is my text stored anywhere?
The text and your chosen options are kept in this browser's local storage so they survive a refresh. Nothing is uploaded.