Remove Duplicate Lines
Free duplicate line remover. Remove duplicate lines from any text while preserving order. Optionally case-insensitive and whitespace-trimming.
Runs in your browserUpdated Apr 26, 2026
Removed: 0
Input
Deduplicated
Frequently asked questions
›Is the original order preserved?
Yes — we keep the first occurrence of each line and remove subsequent duplicates.
›Is it case-sensitive?
Default is case-insensitive. Toggle for case-sensitive matching.
›Does it ignore whitespace?
Optional — toggle 'trim whitespace' to ignore leading/trailing spaces when comparing.
›Is my text uploaded?
No — runs entirely in your browser.
›Is the tool free?
Yes — fully free, no signup.