Remove duplicate lines while keeping the original order, with statistics.
Email list
Remove repeated addresses
ada@example.com
grace@example.com
ada@example.com
alan@example.comMixed case
See how case sensitivity changes the result
Apple
apple
APPLE
BananaLog lines
Collapse repeated entries
timeout
retry
timeout
timeout
successEmail list
Remove repeated addresses
ada@example.com
grace@example.com
ada@example.com
alan@example.comMixed case
See how case sensitivity changes the result
Apple
apple
APPLE
BananaLog lines
Collapse repeated entries
timeout
retry
timeout
timeout
successAny text with one entry per line. Blank lines are ignored.
Case-insensitive is the default, which is usually right for email addresses and names. Turn it on when capitalisation is meaningful.
The counts show exactly which values repeated and how often, which often tells you where the duplication came from.
The first occurrence of each item stays in place, so a list that was in a meaningful sequence still is.
A count of duplicates per value turns a cleanup into a diagnosis — repeated entries are often a symptom rather than the problem.
Email addresses are case-insensitive in practice; identifiers usually are not. You choose which rule applies.
Paste a list and get it back with repeats removed. The original order is preserved by default, keeping the first occurrence of each item — which matters when the sequence carries meaning. You also get a breakdown of what was removed and how often each value appeared, so you can see whether the duplication was a minor accident or a sign that something upstream is wrong. Case sensitivity is optional, so Email@example.com and email@example.com can be treated as the same entry or as different ones.
Keep going
Related pages in Text Tools, plus what others are using right now.
More text tools that pair well with this one.
Sort lines alphabetically, numerically or by length, in either direction.
Convert text between twelve cases — upper, lower, title, camel, snake and more.
Pick a random winner from a list, or shuffle the whole list fairly.
Translate text to Morse code and back, with clear separators.
Replace text across a document, with optional regular expressions.
Turn a broken-up block of text into continuous paragraphs.
Create strong random passwords with full control over length and characters.
Format, validate and minify JSON, with errors that point to the exact line.
Work out any percentage — of a number, as a share, or as a change.
Convert between length, weight, temperature, volume, speed, data and more.
Find the mean, median, mode and range of a list of numbers, with the working shown.
See how savings grow with compounding, including regular contributions.
Sample and population standard deviation and variance, both shown, with the working.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
Turn JSON into readable YAML, with quoting and multiline strings handled properly.
Escape text for HTML, or turn entities back into readable characters.