Tools / Duplicate Detector
Duplicate Detector
Find duplicate lines, build a unique list, or count how often each line appears. Paste any list or log and process it locally, with nothing uploaded and no signup.
A duplicate checker sounds trivial until you need one: spreadsheets make you write a formula, the shell needs sort | uniq -c and a terminal, and most online tools want an account before they will look at a list of email addresses. This one takes the paste and answers immediately.
0 / 2,097,152
How to use it
- Paste your list into the input box. One item per line, any length, no formatting required.
- Pick a mode. Unique list strips repeats and keeps the first spelling. Duplicates only shows what repeated. Frequency counts every line and sorts by count.
- Turn on case insensitive matching if Foo and foo should count as the same entry, which is usually what you want for emails, tags and usernames.
- Turn on trim whitespace if the list came out of a spreadsheet or a copied table, where trailing spaces are invisible but make two identical lines compare as different.
- Read the summary line for the totals, then copy the result straight out of the output box.
What people use it for
Cleaning a mailing list before an import
Most email platforms reject an import outright if it contains repeats, and some bill per contact including the duplicates. Paste the addresses, switch on case insensitive matching because address casing is not significant in the local part for any mainstream provider, and export the unique list.
Finding the noisiest line in a log file
Frequency mode turns a wall of log output into a ranked list. Paste a few thousand lines and the repeated stack trace or the one URL generating half your 500s sorts straight to the top, which is usually faster than writing the grep and sort pipeline for a one-off question.
Reconciling two exports that should match
Paste both lists one after the other and run Duplicates only. Anything that appears twice exists in both files, and anything missing from the result is in one export but not the other. It answers the question without a spreadsheet formula or a join.
Auditing CSS classes, IDs or translation keys
Duplicate IDs are invalid HTML and duplicate translation keys silently shadow each other, and neither always produces a build error. Paste the extracted list and Duplicates only names the collisions.
Notes and limits
- Nothing is uploaded. Detection runs in your browser, so the list never leaves your machine and there is no request to inspect. That still means avoid pasting secrets you would not keep in your own browser history.
- Comparison is line based, not token based. A trailing comma or a different quote character makes two lines distinct, which is why trim whitespace matters on anything pasted out of a spreadsheet.
- Case insensitive matching keeps the first spelling it sees. If you paste USER@example.com before user@example.com, the unique list keeps the uppercase one.
- Very large lists are limited by browser memory rather than a hard cap. Lists in the hundreds of thousands of lines work but the browser tab does the work, so expect a pause on the biggest inputs.
- Order is preserved in Unique list mode. Frequency mode sorts by count, highest first, so the two modes answer different questions and are not interchangeable.
Frequently asked questions
Is my text uploaded to a server?
No. Detection runs entirely in your browser. Nothing is sent or stored on a server. Avoid pasting secrets you would not keep on your own device.
How does case insensitive matching work?
When enabled, Foo and foo count as the same line. The result keeps the first spelling you pasted.
What is the difference between Unique list and Frequency?
Unique list returns each line once in original order. Frequency lists every line with how many times it appears, sorted by count.
Why do two lines that look identical count as different?
Almost always trailing whitespace or a non-breaking space picked up from a spreadsheet or a web page. Turn on trim whitespace and run it again.
Can it find duplicates across two separate lists?
Yes. Paste one list after the other and use Duplicates only. Anything appearing twice is present in both.
Let's build something you're proud of
I help businesses launch, optimize and maintain their online presence, from code to SEO.
Let's talkRelated tools
Cron Expression Explainer
Free cron expression explainer. Translate a five-field crontab line into plain English and preview the next scheduled runs in your browser.
Color Contrast Checker
Free WCAG color contrast checker. Test text against background colors, see the contrast ratio and AA/AAA results, and get an accessible color suggestion.
Regex Tester
Free online regular expression tester. Try JavaScript regex patterns with flags, see match indexes and groups, and preview replacements in your browser.
Text Diff
Free online text diff and compare tool. Compare two texts line by line with added, removed and unchanged highlighting. Runs in your browser with no upload.
Image Resizer and Compressor
Free online image resizer and compressor. Resize photos, convert to WebP or JPEG and shrink file size in your browser, with no upload.
robots.txt Generator
Free robots.txt generator. Build user-agent groups with allow and disallow rules, add a sitemap, block AI crawlers and copy the file.