Domain Sorter
Sort domains alphabetically, by TLD, by length or by how often they appear.
Sort a list of URLs the way you actually need them.
URL Sorter takes a messy list of links and puts it in an order that makes it readable. Plain alphabetical sorting is rarely what you want with URLs, because it interleaves domains and buries structure.
Sorting by domain groups everything from one site together, which is what you need when reviewing a backlink export or a list of outbound links. Sorting by path depth puts the top-level pages first and the deep ones last, which reveals a site's structure in a way a flat list never does. Sorting by length is a surprisingly effective way to spot the one malformed entry in a thousand.
Because a sorted list is usually a list you are about to work through, the tool also removes duplicates, strips blank lines, and can number the output, so the result is ready to paste into a spreadsheet or a ticket.
Lines that are not URLs are reported rather than silently dropped, because a line that failed to parse is usually a line worth looking at.
Nothing you paste leaves your browser. There is no upload, no log and no account, which makes it safe to analyse a staging site or an unpublished draft.
The url sorter is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
It orders URLs by how many segments the path has, so homepages and top-level pages come first and deeply nested pages last. It is the quickest way to see a site's shape from a URL list.
If you ask it to. The duplicate check compares the whole URL; for smarter matching that ignores trailing slashes, www and tracking parameters, use the URL Deduplicator.
They are listed separately so you can look at them, rather than being quietly discarded. A line that will not parse is usually a line with a real problem.
Tens of thousands comfortably. The work happens on your own machine, so the limit is memory rather than someone else's server quota.
No, by default, which is almost always what people want. Domains are case-insensitive anyway; paths technically are not.
No. Sorting happens in your browser.
If the url sorter is not quite what you need, these other free tools solve closely related problems.
Sort domains alphabetically, by TLD, by length or by how often they appear.
Remove repeated URLs, treating trailing slashes and tracking parameters as the same.
Remove utm and click-tracking parameters, fragments and stray characters from URLs.
Extract all URLs from text or HTML, with anchor text and filtering options.
Filter a list of domains or URLs by top-level domain, keeping or excluding what you choose.