Remove Duplicate Lines
Remove repeated lines while keeping the original spelling and order of their first appearances.
Duplicate lines
Keep the first spelling and position of each unique line.
Result
Review the unique lines before copying or saving.
Add lines to check for duplicates.
Runs in your browser. Nothing is uploaded.
Also known as: deduplicate text, unique lines, remove repeated lines
How to use
- Paste one item per line.
- Choose whether to ignore case, accents, or surrounding spaces.
- Remove duplicates, then copy or save the unique list.
Frequently asked questions
Which copy of a repeated line is kept?
The first one is kept with its original spelling and spacing.
Can Hà Nội and HA NOI count as the same line?
Yes. Enable both Ignore case and Ignore accents.
Can I ignore spaces without removing them?
Yes. Ignoring spaces at line edges only changes how the lines are compared.
Does this remove all blank lines?
No. Repeated blank lines are collapsed to one. Use Whitespace Cleaner to remove them all.