Remove Duplicate Lines
Clean up a list: remove duplicate lines, blank lines and stray spaces, and sort it if you want.
1 min read
Runs in your browser — your text and files never leave your device.
0 lines in → 0 lines out
Paste a list — email addresses, SKUs, URLs, names — and get back one line per unique item, in the order you pasted it unless you ask for a sort.
How to use it
- Paste your list, one item per line.
- Choose whether to trim spaces, ignore letter case, drop blank lines or sort.
- Copy the cleaned list; the line count below shows how many lines were removed.
Good to know
- With "ignore case" on, the first spelling of a duplicate is the one kept.
- Trimming removes spaces and tabs at the start and end of each line, not spaces inside a line.
Related tools: Text Comparison · Case Converter
Frequently asked questions
Are duplicates removed case-sensitively?
By default yes — "Apple" and "apple" are treated as different lines. Turn on the case option to treat them as the same.
Is my list uploaded anywhere?
No. The list is processed in your browser and never sent anywhere.