Remove duplicate lines
Remove repeated lines from a list and keep the first occurrence, with case and whitespace options.
AvailableIn your browserInput: Text
How to use: Remove duplicate lines
- Paste the list, one entry per line.
- Decide whether to be case sensitive, ignore spaces and keep empty lines.
- Copy the de-duplicated list.
What it accepts and what you get
- Input
- Text with one entry per line.
- Output
- The list with the first occurrence of each line and the number of duplicates removed.
- Where your data is processed
- Your data is processed in your browser and is not sent to our servers.
Limitations and notes
- The original order is kept.
- Empty lines are not treated as duplicates of each other if you choose to keep them.
Suggested next steps
Related tools
- Available
Sort lines alphabetically
Sort lines A→Z or Z→A with proper language ordering and numbers sorted as numbers.
AvailableIn your browser - Available
Remove empty lines
Remove blank lines from a text, or keep just one between blocks, and copy the cleaned result in one click.
AvailableIn your browser - Available
Compare two texts
Compare two texts line by line and highlight what was added, removed and which words changed.
AvailableIn your browser - Available
Word counter
Count words, characters, sentences and paragraphs instantly.
AvailableIn your browser

