Remove Duplicate Lines

Deduplicate lines of text with flexible matching.

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

Related tools

Frequently asked questions

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