How to remove duplicate lines
- Paste your list into the box, one item per line.
- Press Run tool.
- Copy the cleaned list from the result.
The tool keeps the first time each line appears and drops every later copy. The order of your list stays the same, which matters when the list is ranked, such as keywords sorted by search volume.
How matching works
Two lines count as duplicates only when they are exactly the same. That has a few consequences worth knowing before you rely on the result:
- Case matters. "WordPress hosting" and "wordpress hosting" are treated as different lines. If you want them merged, run the list through the case converter and pick lowercase first.
- Spaces matter. A trailing space at the end of a line makes it different from the same line without one. Spreadsheet exports are the usual cause of this.
- Blank lines count too. The first empty line is kept and any later empty lines are removed.
- URLs are compared as text. "https://example.com/page" and "https://example.com/page/" are different lines, even though they may load the same page.
This strict approach is deliberate. It never merges two lines you meant to keep apart, and you can always normalise the list first if you want looser matching.
Where this is useful for website owners
Keyword research. If you export keyword ideas from several tools, the same phrases show up again and again. Paste all the exports together, remove duplicates, then sort and group what is left.
URL lists. Before you set up redirects for a migration, or submit a batch of URLs for a crawl, clean the list so you do not create the same redirect twice. The htaccess redirect generator can then build a rule for each one.
Email and subscriber lists. Merging lists from two form plugins often leaves duplicates. Lowercase the list first, since email addresses are not case sensitive in practice, then remove duplicates before importing into your mail tool.
Disavow and blocklists. When you build a list of domains or IP addresses from several reports, duplicates make the file longer and harder to review.
Tags and categories. Export your WordPress tags, remove duplicates, and you will quickly see which ones only differ by capitalisation or a stray space.
Tips for cleaner results
- If your data comes from a spreadsheet, copy a single column. Copying several columns puts tabs inside each line, so lines only match when every column matches.
- Trim extra spaces before pasting if the list came from a PDF or email.
- For very large lists, such as 100,000 lines or more, a spreadsheet or command-line tool may be faster. The browser can handle it, but your device's memory sets the limit.
Frequently asked questions
Does it sort the list?
No. The original order is kept on purpose. If you want the list sorted, sort it in a spreadsheet afterwards.
Can I see which lines were removed?
Not directly. Compare the line counts before and after with the word counter to see how many were dropped.
Is my list uploaded?
No. The list is processed in your browser and is not stored or sent to a server.