Remove Duplicate Lines
Strip repeated lines from a list while keeping the original order.
Result
The list without duplicates appears here.How to compare lines
On: Apple and apple are different lines. Off: they count as the same line.
Treats “ apple ” and “apple” as the same line.
Lines in
0
Lines kept
0
Duplicates removed
0
How to use Remove Duplicate Lines
- 1Paste your list, one item per line.
- 2See how many lines went in, how many are kept and how many duplicates were removed.
- 3Switch Case sensitive on or off depending on whether Apple and apple are the same to you.
- 4Copy the cleaned list.
Frequently asked questions
Which copy is kept?
The first one. The list keeps the order it had, with later repeats removed.
Does it sort my list?
No. Deduplicating never changes the order - use Text Sorter if you also want the list sorted.
Are blank lines removed?
Repeated blank lines collapse into one, because they count as the same line. Choose Remove empty lines in Text Sorter to drop them completely.
Related tools
More text tools you might find useful.
Word Counter
Count words, characters, sentences and paragraphs, with reading time.
Open toolCharacter Counter
Count characters, letters, numbers and symbols, with an optional limit.
Open toolText Statistics
Words, sentences, averages and the most frequent words in one view.
Open toolReading Time Calculator
Estimate how long a text takes to read, at the pace you choose.
Open toolKeyword Density Checker
See how often each word appears and what share of the text it takes.
Open toolCase Converter
Switch text between UPPERCASE, lowercase, title, sentence and more.
Open toolRemove Extra Spaces
Clear double spaces, indentation and stray blank lines, with before and after.
Open toolText Sorter
Sort lines alphabetically, by length, numerically or in a random order.
Open toolLine Break Remover
Join broken lines with a space, a comma or a separator you choose.
Open toolText Reverser
Reverse characters, words, word order or line order.
Open toolText Repeater
Repeat any text as many times as you need, with the separator you choose.
Open toolAdd Prefix & Suffix
Add text to the start or the end of every line in one step.
Open toolFind and Replace
Replace text with a match count, plain text by default and regex on request.
Open toolText Compare
Compare two versions of a text and see every line added, removed or changed.
Open toolList Compare
Find what two lists share and what is unique to each of them.
Open toolDuplicate Word Finder
Find the words a text repeats too often, with case and stop-word options.
Open toolLorem Ipsum Generator
Generate placeholder words, sentences or paragraphs for a layout.
Open toolRandom Text Generator
Create random strings from the character sets you pick, using Web Crypto.
Open toolSlug Generator
Turn a title into a clean URL slug, with Unicode support for Hebrew.
Open toolHashtag Generator
Turn words and phrases into clean hashtags, with duplicates removed.
Open toolFancy Text Generator
Style text with Unicode letters: bold, italic, monospace, circled and small caps.
Open toolText to Binary
Convert text to 8-bit binary groups through UTF-8, Hebrew and emoji included.
Open toolBinary to Text
Decode 8-bit binary groups back into text as UTF-8, with clear errors.
Open toolText to HTML
Turn plain text into escaped HTML paragraphs, with a preview and download.
Open tool