Remove Duplicate Lines

Paste text or drop a .txt file to strip duplicate lines — keep the first or last occurrence, with full control over case and whitespace. Runs entirely in your browser.

Mode
Options
Total lines
0
Unique lines
0
Duplicates removed
0
Result
0 characters

Your original input is never modified. Everything runs locally in your browser — nothing is uploaded.

This deduplicator runs 100% in your browser. Your text is never uploaded. Choose whether to keep the first or last occurrence of each line, toggle case sensitivity, ignore surrounding whitespace, and skip empty lines. Original line order is preserved.

Advertisement

Frequently asked questions

Related tools

Related articles