Remove duplicate lines
Delete repeated lines from a list — case-insensitive and trim options, keep the first or last occurrence, and see how many were removed.
Duplicates removed: 0
Everything runs in your browser — your list is never uploaded.
About the Remove duplicate lines
Remove duplicate lines scans a list and deletes every repeated row, leaving a clean set of unique lines. Match case-insensitively, trim whitespace before comparing, and choose whether to keep the first or last occurrence of each duplicate. A live counter shows exactly how many lines were removed. Great for cleaning email lists, keyword lists, log files, and CSV columns — all in your browser, nothing uploaded.
Remove duplicate lines features
- 01
Flexible matching
Compare lines case-insensitively and trim leading/trailing whitespace before matching, so "Apple", "apple " and " apple" all count as the same line.
- 02
Keep first or last
Preserve the original order by keeping the first occurrence, or keep the last occurrence when the newest entry should win.
- 03
Removed-count readout
See how many duplicate lines were deleted at a glance, so you can verify the dedupe did what you expected.
Remove duplicate lines FAQ
- How do I remove duplicate lines from a list?
- Paste your list, one item per line. Duplicate lines are removed instantly and the unique result appears on the right, ready to copy or download.
- Does it preserve the original order?
- Yes. With "Keep first" selected, lines stay in their original order and only later duplicates are dropped. Choose "Keep last" to keep the final occurrence instead.
- Can it ignore case and extra spaces?
- Yes. Turn on case-insensitive matching to treat "Email" and "email" as duplicates, and "trim before compare" to ignore leading and trailing spaces.
- How many lines can I dedupe?
- Very large lists work fine — the tool handles hundreds of thousands of lines in the browser. There's no fixed limit and nothing is uploaded.
- Is my data kept private?
- Yes. Deduplication happens entirely in your browser; your list is never sent to a server.
Related tools
Utility →- Live
Remove line breaks
Strip line breaks and hard returns from text — join everything into one block or keep paragraph breaks and replace newlines with spaces.
UtilityFreeRuns locallyOpen - Live
Remove extra spaces
Collapse multiple spaces and tabs into one, trim each line, and optionally remove all spaces or delete empty lines.
UtilityFreeRuns locallyOpen - Live
Sort lines
Sort lines alphabetically A→Z or Z→A, by number, by length, or shuffle randomly — with case-insensitive and remove-duplicates options.
UtilityFreeRuns locallyOpen
Explore other tools
All tools →- Live
Unlock PDF
Remove the password from a PDF you can already open in your browser. Enter the password once and download an unprotected copy.
PDFFreeRuns locallyOpen - Live
Blur Image
Blur or pixelate faces, license plates, and private details in a photo — free, in your browser.
ImageFreeRuns locallyOpen - Live
Add Music to Video
Add background music or replace the audio in your video, right in the browser.
VideoFreeRuns locallyOpen - Live
OGG to MP3
Convert OGG Vorbis audio to universally compatible MP3 in your browser — files never leave your device.
AudioFreeRuns locallyOpen - Live
Markdown to HTML
Convert Markdown into clean HTML right in your browser.
DocumentFreeRuns locallyOpen