List Cleaner

Deduplicate, sort and trim a list, and strip the invisible characters that break it.

One item per line.

Right for keywords, wrong for URLs — paths are case-sensitive.

item2 before item10.

Non-breaking and zero-width spaces.

100 runs left today · sign up for more

About this tool

Paste a list — keywords, URLs, anything one-per-line — and clean it.

The invisible problems are the ones worth catching. A non-breaking space copied from a spreadsheet looks exactly like a space and is not one. A zero-width character pasted from a document is invisible everywhere except in a comparison. Both make two identical-looking lines refuse to match.

Common questions

Why do two identical-looking lines not deduplicate?

Almost always an invisible character. A non-breaking space, a zero-width space, or a trailing space makes two lines different to a computer and identical to you. Turn on "strip invisible characters" and they will collapse.

Does case matter when deduplicating?

That depends on what the list is. Keywords are usually case-insensitive, URLs are not — the path of a URL is case-sensitive on most servers, so /Page and /page can be two different pages. The option is there because only you know which you have.

What order does sorting use?

Natural order, so item2 comes before item10 rather than after it. Plain alphabetical sorting puts 10 before 2, which is rarely what anyone wants from a list.

Is my list sent anywhere?

It is processed on the server and not stored unless you are signed in, in which case it appears in your history. Nothing is sent to any third party.