Sort Lines & Remove Duplicates
Alphabetize, reverse, shuffle, de-duplicate and clean any list — one line at a time.
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
This tool takes any list — one item per line — and reorganises it for you. Sort it alphabetically from A to Z or Z to A, reverse the current order, shuffle it randomly, and clean it up by removing duplicate lines, deleting empty lines and trimming stray spaces. The result updates instantly and is ready to copy.
Lists turn up everywhere: email addresses, product names, keywords, to-do items, CSV columns, import files and more. Sorting them alphabetically makes them easy to scan and compare, while removing duplicates is essential before importing data, sending a mailing, or merging two lists that overlap. Doing this by hand is slow and error-prone; this tool does it in a click.
The de-duplication is smart about case — by default “Apple” and “apple” are treated as the same entry — and you can switch that off if case matters. Because all processing is local, you can safely sort and clean sensitive lists like customer emails without uploading them anywhere.
How to use
- Paste your list into the box, with one item on each line.
- Set the options you want: remove duplicates, remove empty lines, trim lines, and whether to ignore case.
- Click an action: A → Z, Z → A, Reverse or Shuffle.
- The reorganised list appears in the result box, with a count of how many lines remain.
- Click Copy to grab the cleaned, sorted list.
Examples
A jumbled list of names becomes a clean A–Z roster with one click on “A → Z”.
Turn on “Remove duplicates” and a list with repeated addresses collapses to a unique set before you send.
Paste a list of entrants and click “Shuffle” to get a fair random order for picking winners.
Combine “Remove empty lines” and “Trim lines” to prepare a tidy list for importing into a spreadsheet or database.