Remove Duplicate Lines

Deduplicate lines of text with flexible matching.

Support
Works Offline
Privacy First
No Login
No API

Input lines

Result

Total lines
1
Removed
0
Remaining
1

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
apple

Output

apple
banana

Keyboard 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

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser