Remove Duplicate Lines from Text
Paste a list and instantly strip out all duplicate lines, keeping only unique entries. Choose whether to preserve the original order or sort the results.
Handy for cleaning up email lists, deduplicating log entries, or tidying up any line-based data. You can also see which lines were duplicates and how many times each appeared.
Frequently Asked Questions — Remove Duplicate Lines
Yes. Duplicate lines are removed while keeping the first occurrence in its original position.
By default, yes — 'Hello' and 'hello' are treated as different lines. You can adjust this behavior.
Yes. Options include trimming leading/trailing whitespace and removing empty lines alongside deduplication.
More Text Tools
Notepad
Simple scratchpad with tabs, auto-save, and word count.
Markdown Editor
Write Markdown with a live HTML preview, toolbar shortcuts, and export options.
Find & Replace
Find and replace text with regex support, case sensitivity, and whole word matching.
Text Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case, and more.
Word & Character Counter
Count words, characters, sentences, paragraphs, and estimate reading time.
Text Diff
Compare two texts side by side. Highlight differences instantly.
Compare Two Lists
Find common, unique, and missing items between two lists.
Text Sorter
Sort lines alphabetically, numerically, by length, or shuffle them.