Remove duplicate lines
Clean up lists by removing duplicate lines, sorting A to Z or Z to A, reversing the order or deleting blank lines.
🔒 Everything runs in your browser. Nothing you choose or type is uploaded. How to verify
How to use it
- Paste your list, one item per line.
- Choose an action.
- Select Run and copy the result.
Handy for
Cleaning email lists, keyword lists and logs, or sorting items alphabetically.
Good to know
Blank lines count as lines, so only the first blank one survives when you remove duplicates. Use Remove empty lines to delete them all.
Privacy: where the work happens
Everything you enter or choose is processed by JavaScript in your browser and never sent anywhere. Only the page code, and any library this tool needs, is downloaded from cdnjs or jsDelivr.
Questions
Is matching case-sensitive?
By default, yes. Switch to Ignore case to treat Apple and apple as the same line.
Which copy is kept?
The first occurrence stays and later copies are removed.