Text Cleaner

Lists copied out of emails and spreadsheets arrive full of duplicates, blank lines and stray spaces. Paste it here and clean it in one click — nothing is uploaded.

🔒 Nothing uploaded ✓ Free · no sign-up 🧹 Dedupe · trim · sort ↩ Undo
0 lines · 0 characters

What each button does

Buttons stack, so you can trim, then remove blanks, then dedupe in sequence. Undo steps back one operation at a time.

Why do this in your browser

The text people clean is usually a list of names, emails, product codes or rows pulled from a spreadsheet — often internal, sometimes personal. This tool does everything with JavaScript in your own tab, so the list is never uploaded. Load the page, switch off your internet, and it still works. A tool that needs to "upload" a text list to sort it is doing on a server what your browser already does instantly.

A common workflow

Pasted a column of email addresses with trailing spaces and repeats? Trim each line, then Remove duplicate lines, then Sort A→Z — you now have a clean, de-duplicated, ordered list ready to paste back. To count what's left, our Word Counter gives you the totals.

Frequently asked questions

Does "remove duplicates" keep the order?

Yes. It keeps the first time each line appears and removes any later copies, so the surviving lines stay in their original order unless you sort afterwards.

Is the matching case-sensitive?

Yes — Apple and apple count as different lines. Use our Case Converter first if you want them treated the same.

Is there a size limit?

Only your device's memory. Nothing is uploaded, so there's no server limit on how much you can paste.

Tools that pair with this one

Everything runs locally in your browser. Keep a copy of anything important before cleaning — Undo steps back one operation, but a fresh paste is the safest backup.

Toolpia is run by one person, not a company. If a number here looks wrong, or there's a tool you keep wishing existed, email contact@toolpia.tech — a real person reads every message, though a reply may take a few days.