Remove Duplicate Lines
Strip repeated lines from a list while keeping the original order intact.
Runs in your browser — nothing you type is sent anywhere
The first time a line appears is kept and the order is never changed, so a list stays in the sequence you pasted it.
Result
The result appears here as you type. Nothing is sent anywhere — the work happens in this page.
About the Remove Duplicate Lines
Lists collect duplicates. Email addresses exported from two places, keywords gathered from several reports, URLs pasted from a dozen tabs — all of them end up with the same entry more than once, and spotting repeats by eye in a list of several hundred is hopeless.
This tool keeps the first time a line appears and removes every later copy. Crucially, it does not sort: the order you pasted is the order you get back. That matters for anything where position carries meaning — a ranked list, a sequence of steps, a log — and it is the main way this differs from piping text through a sort-and-unique command.
Two options change what counts as a duplicate. Ignoring surrounding spaces is on by default, because a trailing space is invisible and would otherwise make two identical entries look different. Matching case exactly is off by default, so Apple and apple are treated as the same entry; turn it on when case is significant, as in a list of identifiers or passwords.
You are told how many lines went in, how many came out, and how many were removed, so you can sanity-check the result rather than trusting it blindly. Everything runs in the page, so a list of customer emails is never uploaded anywhere.
How to use the Remove Duplicate Lines
Paste your list
One entry per line. It can be anything — email addresses, URLs, product codes, names.
Decide what counts as a duplicate
Choose whether case matters and whether surrounding spaces should be ignored when comparing two lines.
Read the counts
The summary shows how many lines went in, how many came out, and how many duplicates were removed.
Copy the clean list
Copy it to your clipboard or download it as a text file. Your original is untouched in the box on the left.
Frequently asked questions
Does this change the order of my list?
Which copy of a duplicate is kept?
Are Apple and apple treated as the same line?
Why are two identical-looking lines not being merged?
Is my list uploaded anywhere?
You may also need
Text Sorter
Sort lines alphabetically or by number, reverse them, or shuffle them at random.
Remove Extra Spaces
Clean up double spaces, stray tabs and ragged indentation without wrecking your paragraphs.
Regex Tester
Test a regular expression against real text, with capture groups, replacement and a safety net.
Word Counter
Count words, characters, sentences and paragraphs as you type — with reading time.