Remove Duplicate Lines

Remove all duplicate lines from any text instantly, keeping only unique lines. Optionally sort the output alphabetically or preserve original order. Toggle to keep or remove blank lines. Paste text, click, copy the clean result.

Frequently Asked Questions

Does removing duplicates preserve the original line order?
Yes, by default the original order is preserved and only duplicate occurrences are removed. Enable the sort option to alphabetically order the unique lines.
Are blank lines treated as duplicates?
You can choose. A toggle lets you keep blank lines as-is, or remove them along with duplicate blank lines.
Is there a line count limit?
No. You can process documents with thousands of lines instantly in your browser.