Line tools: remove duplicates and sort
Remove blank and duplicate lines, sort, reverse and number linesNo sign-up. What you type never leaves this browser
Line tools: remove duplicates and sort
Result
Enter values to see the result.
FAQ
Does it work with a list copied from a spreadsheet?
Yes. Copy one column and each cell becomes a line.
How do I paste the result back?
Press Copy under the result and paste into the spreadsheet. Each line goes into its own cell.
About this tool
This tool splits pasted text into lines and, in order, trims spaces, removes blank and duplicate lines, sorts, reverses and numbers them.
- The order is trim, remove blank lines, remove duplicates, sort, reverse, number.
- Only the first of each duplicate line is kept. Ignoring case treats Apple and apple as the same.
- Sorting reads numbers as numbers, so 2 comes before 10.
What you enter is worked out only in this browser and never sent to a server. Nothing you type is stored; only the lists of recently used and favorite tools stay in this browser.