Sort & Dedupe Lines
Sort lines and remove duplicates instantly.
Your sorted lines appear here
Paste a list on the left, pick a sort order and options, and the cleaned, sorted result updates live in your browser — with nothing sent to a server.
Runs entirely in your browserSort lines and remove duplicates, locally
Paste a list — names, URLs, IDs, log lines — and this tool sorts it and strips duplicates as you type. Choose alphabetical (A→Z or Z→A) or numeric ordering, and turn on "remove duplicates" to keep only the first copy of each line. Case-insensitive comparison treats "Apple" and "apple" as the same, and trimming ignores stray leading and trailing spaces. A live count shows how many lines you started with and how many remain. Everything runs in your browser, so your list never leaves your device.
Common questions
How does numeric sorting differ from alphabetical?
Alphabetical sorting compares lines character by character, so "10" sorts before "2". Numeric sorting reads the leading number on each line and orders by value, so "2" comes before "10". Lines without a number fall back to text comparison.
Which duplicate does it keep?
The first occurrence of each line is kept and later duplicates are dropped. When combined with sorting, deduplication is applied and the surviving lines are then sorted.
Does deduplication respect case?
By default it is exact. Turn on case-insensitive matching and "Apple" and "apple" are treated as the same line, keeping only the first.
What does the trim option do?
It removes leading and trailing whitespace from each line before comparing and sorting, so lines that differ only by stray spaces are treated as identical.
Is my list uploaded anywhere?
No. Sorting and deduplication happen entirely in your browser as you type. Your text never leaves your device and nothing is stored.