Sort Lines & Remove Duplicates

Clean up any list in seconds: names, e-mail addresses, keywords or product codes. Sort alphabetically (with correct ordering for your language), remove duplicates and empty lines, trim stray spaces or shuffle the order.

Sort
Remove duplicates
Empty lines
Trim spaces

Your text stays on your device. Everything is processed in your browser.

How to use Sort Lines & Remove Duplicates

  1. Paste your list, one item per line.
  2. Choose how to sort and whether to remove duplicates, empty lines and extra spaces.
  3. Copy the cleaned list or download it as a .txt file.

Frequently asked questions

Is sorting language-aware?

Yes. Lines are sorted with your language’s alphabet, so letters like ç, ö and ü land in the right place, and numbers are sorted naturally (2 before 10).

Are duplicates case-sensitive?

No. “Apple” and “apple” are treated as the same line, and only the first one is kept.

Can I just remove duplicates and keep the original order?

Yes. Set sorting to “Keep order” and turn on “Remove duplicates”.

How does shuffle work?

Shuffle puts the lines in a random order, handy for draws, quiz questions or splitting people into groups. Each change creates a new order.

Other tools