Remove Duplicate Lines from Your Text

Paste a list, and get it back with the repeats taken out.

I want to:
0 lines

Paste some text to get started.

Frequently asked questions

Does it keep my lines in the original order?

Yes. Lines are returned in the order they were pasted in, with the later copies taken out. Nothing is sorted or moved around.

What is the difference between removing duplicates and keeping only unique lines?

Removing duplicates leaves one copy of every line. Keeping only unique lines throws away every line that was repeated, first copy included, which is what you want when a repeat means something went wrong.

Can I see just the duplicates instead?

Yes. The third mode returns only the lines that appeared more than once, which is the quick way to find out what is being double counted.

Does it ignore upper and lower case?

Only if you tick the option. With it off, Apple and apple are two different lines, which matters for things like case-sensitive identifiers.

Are two lines still the same if one has a trailing space?

Not unless you ignore the spaces around a line, which is on by default. It is the usual reason duplicates appear to survive a first pass.

Some duplicates are still there. Why?

Almost always an invisible difference: a non-breaking space from a web page, a curly quote against a straight one, or a stray tab. Whitespace Cleanup first will catch most of it.