Remove Duplicate Lines Free

Removes duplicate lines from your text, keeping the first occurrence, with optional sorting or shuffling.

Sort order

About this tool

Can sort the result in ascending or descending order, or shuffle it, instead of keeping the original order.

When removing duplicates, the first occurrence of each line is kept and later ones are removed.

This tool runs entirely in your browser. Nothing you enter is sent to our server.

When to use it

Useful for cleaning up a list of email addresses or URLs, checking a keyword list for duplicates, or tidying survey responses before counting them.

FAQ

Is the comparison case-sensitive?
Yes. "Apple" and "apple" are treated as different lines.
Can I sort the lines without removing duplicates?
Yes, turn off "Remove duplicate lines" and only the sorting or shuffling is applied.