Davemi Tools

Remove Duplicate Lines

Clean up a list by removing duplicate or blank lines, instantly.

Input

Output

Frequently Asked Questions

Which occurrence of a duplicate is kept?

The first occurrence of each line is kept; later duplicates are removed, preserving your original line order.

Can I ignore case when comparing lines?

Yes — enable "Case insensitive" so "Apple" and "apple" are treated as duplicates.

Are blank lines treated as duplicates?

No. Blank lines are kept as-is and never deduplicated against each other, so your paragraph spacing is preserved. If you'd rather strip every empty line, turn on "Remove blank lines".

Is my text uploaded anywhere?

No. Everything runs locally in your browser — nothing is sent to a server.