Skip to main content
matte

Text Cleaner

Trim, dedupe, sort, strip.

Runs in your browser

About

Text Cleaner runs a checklist of common cleanup operations on pasted text — removing duplicate or blank lines, trimming whitespace, stripping HTML tags, normalizing smart quotes, sorting lines alphabetically — 18 transforms in total, toggled independently so you only apply what you need. A stats strip shows exactly how many characters or lines each operation removed. Nothing you paste is uploaded anywhere.

Frequently asked

What kinds of cleanup does it support?
18 transforms, including removing duplicate or empty lines, sorting, stripping HTML, normalizing whitespace and punctuation spacing, and converting smart quotes to straight ones.
Can I combine multiple cleanup operations at once?
Yes, every option is an independent toggle, so you can strip HTML and remove duplicate lines and sort the result all in one pass.