How to use it
- Paste your text into the left box. Each line is treated as one item.
- Choose how lines are compared: ignore upper/lower case, and trim spaces at the start and end of each line.
- Decide whether to drop empty lines and whether to sort the result A→Z or Z→A. Sorting is natural, so “item 2” comes before “item 10”.
- Copy the cleaned list, or move it back into the input to keep working on it.
Common uses
- Cleaning a mailing list before an import, so nobody gets the same email twice.
- Merging keyword lists for ads or SEO research without repeats.
- Deduplicating URLs, log lines, IDs or SKUs copied from several sources.
- Turning a long column copied from a spreadsheet into a list of unique values.
- Counting which entries occur most often in a list.
Examples
| Input lines | Output |
|---|---|
| apple banana apple | apple bananaOne duplicate removed; the first “apple” stays where it was. |
| Apple apple APPLE | AppleWith “Ignore case”, the first spelling is kept. |
| cherry cherry | cherryWith “Trim spaces”, leading and trailing spaces don't create a new line. |
| item 10 item 2 item 1 | item 1 item 2 item 10Sort A→Z uses natural number order. |
Frequently asked questions
Which copy of a duplicate is kept?
The first one. Later repeats are removed and the remaining lines keep their original order, unless you choose a sort order.
Is the comparison case-sensitive?
By default, yes: “Apple” and “apple” are different lines. Tick “Ignore case” to treat them as the same; the spelling of the first occurrence is kept.
How many lines can it handle?
Hundreds of thousands of lines work fine in a modern browser, because the text is processed locally and never uploaded.
Can I remove duplicates in Excel instead?
Yes: Excel has Data → Remove Duplicates, and Google Sheets has the UNIQUE function. This tool is quicker for plain lists copied from anywhere, and it also shows which lines were repeated.
Related tools
Text Tools
Word count, character count, case converter, and Lorem Ipsum generator. Free online text tools.
Text Diff
Compare two blocks of text or code side by side. Line-by-line diff viewer with syntax highlighting.
URL Slug Generator
Generate SEO-friendly URL slugs from any text. Supports multiple languages and transliteration.
CSV to JSON Converter
Convert CSV to JSON and JSON back to CSV in your browser. Detects the delimiter, handles quoted fields and line breaks, and can turn numeric text into numbers.