Skip to content
TabKiwiTabKiwi

Text Cleaner

Tidy messy text in one pass: fix spacing, strip HTML and invisible characters, dedupe and sort lines.

TextRuns in your browser. Your files never leave this device.
Loading tool…

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

  1. Paste the messy text.
  2. Tick the clean-up steps you want.
  3. 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.

More Text tools

View all 60 →