Guide
Deduplicating and sorting lists you can trust
Lists collect duplicates naturally: the same email address signed up twice, a keyword list merged from three sources, product codes copied from several reports, an attendee list with names typed in different ways. Sending a newsletter twice to the same person, or counting a product twice in a stock check, are the kinds of small errors a deduplicated list prevents.
Paste one item per line
Put each item on its own line. The result appears on the right immediately, with three counts underneath: lines before, lines after and duplicates removed. If the duplicates count is lower than you expected, the “duplicates” probably differ in an invisible way. The switches below exist for exactly that.
Why near-duplicates slip through
Two lines only count as duplicates if they’re identical. Common differences that hide duplicates:
| Difference | Example | Fix |
|---|---|---|
| Spaces at the start or end | [email protected] |
Trim spaces (on by default) |
| Capitalization | [email protected] / [email protected] |
Ignore upper/lower case |
| Empty lines | blank rows from a spreadsheet | Remove empty lines (on by default) |
| Invisible characters or curly quotes | text pasted from a web page | Run it through the Text Cleaner first |
Switch on Ignore upper/lower case for email addresses, keywords and most names. Leave it off when capitalization carries meaning, such as case-sensitive codes or passwords.
Typos and alternative spellings, like Jon Smith versus John Smith, aren’t treated as duplicates. The tool doesn’t guess, so a quick read of the sorted list helps catch those.
Which copy is kept
The first occurrence of each line is kept, and later repeats are removed. With Keep original order, everything else stays in place. That matters for lists where position means something, such as sign-up order or priority. With case-insensitive matching, the first spelling wins, so put the preferred version first if it matters.
Sorting options
- A → Z / Z → A sort naturally: Item 2 comes before Item 10, and accents and capitals don’t scatter similar words across the list.
- Numbers, small to large sorts by the number in each line, which is useful for prices, room numbers or IDs. Lines without any number are treated as 0 and appear first.
- Shortest first groups short entries such as abbreviations, codes and one-word keywords.
- Reverse flips the current order; Shuffle randomizes it, for drawing names or randomizing a quiz.
Common jobs
- Email list before a mailing: Trim + Remove empty + Ignore case, keep the original order, then copy the result back into your mailing tool.
- Keyword research: merge lists from several sources, dedupe with Ignore case, sort A → Z to spot near-variants.
- Inventory or SKU list: dedupe with case matching on, sort with Numbers or A → Z, and download as list.txt.
Privacy
Email lists and customer names are personal data. Here they’re processed in your browser and never uploaded. The list is remembered in this browser for convenience, so on a shared computer, clear the box when you’re done.
Who removes duplicate lines
- Marketers clean email lists before importing them into a newsletter tool, so nobody gets the same email twice.
- Data workers de-duplicate IDs, SKUs or URLs from exports.
- SEO specialists merge keyword lists from several tools into one clean list.
- Teachers and organizers combine sign-up lists where people registered twice.
- Developers clean log lines and lists of values for configuration.
A complete example: merging two email lists
- Paste both lists, one email per line.
- Turn on Ignore upper/lower case, because [email protected] and [email protected] are the same address.
- Keep Trim spaces and Remove empty lines on; stray spaces are the most common reason duplicates slip through.
- Choose A → Z to make the list easy to scan.
- Read the counts: lines before, lines after and duplicates removed.
- Copy the clean list into your newsletter tool.
A complete example: keeping first appearances
You have a list of products in order of popularity with repeats. Keep original order: the first occurrence of each product stays at its position and later repeats are removed, so the ranking is preserved.
Tips
- Near-duplicates, such as “Jon Smith” and “John Smith”, aren’t caught; sort A → Z and scan neighboring lines.
- Shuffle randomizes the cleaned list, useful for fair speaking orders or draws.
- For spreadsheets with several columns, export the column you need, clean it here, and paste it back.
Related tools
- Diff Checker to compare two cleaned lists.
- Case Converter to normalize capitalization before or after deduplicating.
- CSV to Excel when the list belongs in a spreadsheet.
Checked against the current version of the Remove Duplicate Lines on .

