Remove duplicate lines from text, keeping unique entries only
duplicateremovelinesunique
Loading tool…
Frequently Asked Questions
Paste your text into the input box and click Remove Duplicates. The tool keeps the first occurrence of each line and removes all subsequent duplicates.
You can choose. By default the comparison is case-insensitive, so 'Hello' and 'hello' are treated as duplicates. Toggle the case-sensitive option to treat them as different lines.
Blank lines are treated like any other line. If you have multiple blank lines, all but the first will be removed. You can also enable the 'trim whitespace' option to treat lines with only spaces as blank.
No. The tool runs entirely in your browser and can handle thousands of lines without any limit.