Text Tools
Remove Duplicate Lines
Drop duplicate lines from a list while keeping the original order.
Your information is processed in your browser and is not uploaded to our servers.
Lines
Unique lines
About this tool
Duplicate lines are dropped while preserving the first occurrence and original order.
How to use
- Paste a list.
- Optionally ignore case.
- Copy unique lines.
Formula and methodology
A Set keyed by the line (or lowercased line) skips repeats.
Worked example
alpha / beta / alpha becomes alpha / beta.
Frequently asked questions
Are spaces significant?+
Yes. “alpha” and “alpha ” are different unless you trim first.
Is the list uploaded?+
No.
Related tools
Text Sorter
Sort lines A–Z, Z–A, by length, or shuffle them with a local random generator.
Open tool →
Remove Extra Spaces
Collapse repeated spaces, trim lines and optionally squeeze blank lines.
Open tool →
Text Reverser
Reverse characters, words or whole lines of text in the browser.
Open tool →
Word Counter
Count words, characters, sentences and estimated reading time.
Open tool →
Character Counter
Count characters with and without spaces.
Open tool →
Case Converter
Switch text between uppercase, lowercase, title case, sentence case, camelCase, snake_case and kebab-case.
Open tool →