Remove Duplicate Lines
Remove duplicate lines from text while keeping the original order.
About Remove Duplicate Lines
Clean up any list by removing duplicate lines while preserving the order of the first occurrence. Optionally trim surrounding whitespace and ignore letter case so near-identical lines are matched too. The tool reports how many duplicates were removed and runs entirely in your browser.
How to use
- 1
Paste your list or text into the box.
- 2
Choose whether to trim whitespace and ignore case.
- 3
Copy the de-duplicated result.
Tip: All processing is performed locally in your browser with zero loss in quality and no upload limits.
Frequently Asked Questions
More Text Tools You Might Like
Alphabetizer / Line Sorter
Sort lines alphabetically A–Z or Z–A with case, duplicate and whitespace options.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case and more.
Character Counter
Count characters, words, sentences, paragraphs and reading time as you type.
Compare Two Lists
Compare two lists to find items only in A, only in B, and in both.
Email Extractor
Extract all email addresses from any block of text, with unique and sort options.