Home โบ Text Tools โบ Remove Duplicate Lines
๐งน Remove Duplicate Lines
Remove duplicate lines from any list or text, with options for case, trimming spaces and sorting A to Z.
About this Remove Duplicate Lines
Lists collected from emails, spreadsheets and forms almost always contain repeats. This tool removes duplicate lines while keeping the first copy of each one. You can match lines exactly or ignore letter case, trim messy spaces, and sort the cleaned list from A to Z, all in one click.
How to use it
- Paste your list into the top box, one item per line.
- Tick the options you want, such as trim spaces or sort.
- Press Remove duplicates.
- Copy the cleaned list from the bottom box.
Example
A 10-line list where apple appears 3 times comes out as 8 unique lines, with 2 duplicates removed.
Frequently asked questions
Does it keep the order of my list?
Yes, unless you tick Sort A-Z. The first copy of each line is kept in its original place.
What does case-sensitive mean?
With it off, Apple and apple count as the same line. With it on, they are treated as different lines.
Are blank lines removed?
Repeated blank lines collapse to one. Use the extra spaces tool if you need every blank line gone.
More Text Tools
Word Counter
Count words, characters, sentences and paragraphs in any text, with reading and speaking time estimates.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case or aLtErNaTiNg case with one click.
Lorem Ipsum Generator
Generate classic lorem ipsum placeholder text by paragraphs, sentences or words for designs and mockups.
Character Counter
Count characters live and see how many are left for X, Instagram, LinkedIn, Facebook and SMS limits.
Reverse Text
Reverse a whole text, reverse each line, or flip the word order, for fun messages, puzzles and checks.
Text Repeater
Repeat any text up to 1,000 times with a space, new line or no separator, and see the total length.