Sort lines & remove duplicates
Sort a list alphabetically, by length or at random, remove duplicate lines and empty lines, and trim spaces. Ideal for email lists, keywords, names and data. Numbers sort naturally (2 before 10).
Runs in your browser. Nothing is uploaded.Tips
- Paste a column from Excel or Google Sheets. Each cell becomes a line.
- Untick Ignore upper and lower case to keep “Apple” and “apple” as separate items.
- Choose Don't sort to remove duplicates but keep your original order.
Questions
How many lines can it handle?
Hundreds of thousands. It all runs in your browser.
Does it keep the first or last copy of a duplicate?
The first one, in its original position, before sorting.
More free tools
Wheel spinner
Spin a wheel to pick a random name, prize or decision.
Random name picker & teams
Pick names at random without repeats, or make fair teams.
Flip a coin
Heads or tails, with a tally and streaks.
Dice roller
Roll up to 10 dice, from d4 to d20.
Working days calculator
Working days between dates, skipping UK bank holidays.
Invoice generator
Make a professional invoice with VAT and save it as a PDF.
Merge PDF
Combine several PDFs into one file, in any order.
Compress PDF
Make PDFs smaller for email and uploads.