Remove Duplicate Lines
Deduplicate lines of text with flexible matching.
About the Remove Duplicate Lines
Remove duplicate lines from any list or text block, with options for case-insensitive matching, trimming whitespace, keeping the first or last occurrence, and sorting the final result.
Examples
Duplicate list
apple
banana
appleOutput
apple
bananaKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Email & URL Extractor
Text & String
Pull emails, links, domains and phone numbers out of any text.
Line Numbering Tool
Text & String
Add or remove line numbers from text with custom formatting.
Lines to String Converter
Text & String
Turn newline-separated lines into a quoted, comma-joined string.
List Comparator
Text & String
Compare two lists and see common, A-only and B-only items.
List Randomizer
Text & String
Shuffle a list of lines and optionally pick a random subset.
New Line Remover
Text & String
Remove line breaks and tabs, or swap them for any separator.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser