Remove duplicate lines
Paste text to remove duplicate lines, keeping the first occurrence and the original order. Choose case sensitivity, whitespace trimming and whether blank lines are kept. The result is stored privately in your account.
No sign-up needed — runs instantly in your browser.
How it works
- 1Paste your text
- 2Choose the matching options, then press Run
- 3Download the de-duplicated text or find it in your files
Frequently asked questions
- Is the original order preserved?
- Yes — the first occurrence of each line is kept in its original position.
- Can I ignore case and spacing?
- Yes — turn off case sensitivity and turn on whitespace trimming to match lines more loosely.
Related tools
Paste text to sort its lines alphabetically, numerically or by length, in ascending or descending order. Optionally trim whitespace and remove duplicates. The result is stored privately in your account.
TextPaste text to count words, characters (with and without spaces), lines, sentences and paragraphs, plus an estimated reading time. The report is stored privately in your account.
TextPaste text and convert it between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and kebab-case. The result is stored privately in your account.
TextPaste text and replace a word, phrase or regular-expression match with something else. Choose case sensitivity and whether all matches or just the first are replaced. The result is stored privately in your account.
Text