Line Sorter & Deduplicator
This line sorter and deduplicator sorts a list of lines A-Z, Z-A, numerically, or in random order, and can strip out duplicate lines in the same pass. Optional settings let you trim whitespace and drop blank lines so the cleaned list is ready to paste elsewhere. Sorting and deduplication both happen locally in your browser, with no upload required.
Frequently asked questions
How do I remove duplicate lines from a list?
Paste your list into the input box and enable the remove-duplicates option — matching lines are dropped in the same pass as sorting, leaving only unique entries.
Is sorting case-sensitive?
You can toggle case-sensitive sorting on or off; with it off, "Apple" and "apple" sort together, and with it on they’re treated as different values.
Can I sort a list of numbers instead of words?
Yes — a numeric sort mode compares lines as numbers rather than text, so "10" correctly sorts after "9" instead of before it as it would alphabetically.
Is there a limit to how many lines I can sort?
There’s no fixed limit since sorting runs in your browser rather than on a server; very large lists are bounded only by your device’s memory.
Does this tool upload my list of lines anywhere?
No. Sorting and deduplication both happen locally in your browser, so your list of lines is never uploaded or stored.