How to use the Remove Duplicate Lines
- Paste your lines.
- Set trim, case and empty-line options.
- Copy or download the unique lines.
How it works
Lines are compared exactly (or case-insensitively and trimmed, if chosen) using a set lookup, preserving the original order of first appearances.
Worked example
Lines apple, Apple, apple, pear with ignore case on become apple, pear.
Good to know
Trim spaces to catch lines that differ only by whitespace.
Order of first occurrence is preserved.
Everything happens locally.
Frequently asked questions
Paste the text; the result shows each line once.
Yes.
By default yes; tick Ignore case to change that.