Remove duplicate lines
Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing. Ads (if shown) load separately and do not receive your tool inputs.Advertising · Details
Quick answer
Paste a list; keep first occurrence of each line. Optionally ignore case.
Embed this tool
Paste this iframe on your site. Includes a backlink to Remove Duplicate Lines. Opens chrome-less with ?embed=1.
Frequently asked questions
How do I remove duplicate lines?
Paste a list and click Remove duplicates. The first occurrence of each line is kept; later repeats are dropped.
What does case-insensitive mean?
When enabled, Apple and apple count as the same line — only the first spelling you pasted is kept.
Can I sort after deduplicating?
Yes. Check Sort lines after to alphabetically sort the unique lines once duplicates are removed.
Is my input uploaded?
No. TryDevSnip deduplicates in your browser. Nothing you paste is uploaded to our servers for processing.