URL Sorter

Sort a list of URLs the way you actually need them.

SEO Tools Free, no sign-up Runs in your browser

URL Sorter tool

0
Lines in
0
Lines out
0
Distinct domains
0
Not a URL

About the URL Sorter

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.

How to use the URL Sorter

  1. Paste your URLsOne per line. Anything that is not a URL is reported, not dropped.
  2. Choose the sortAlphabetical, by domain, by path depth, by length or by query.
  3. Set the optionsReverse the order, remove duplicates, number the lines.
  4. Copy or downloadThe sorted list, ready to use.

Features

  • Sort alphabetically, by domain, by path depth, by length or by query
  • Ascending or descending
  • Duplicate removal, with a count of what was removed
  • Blank lines and whitespace cleaned up
  • Optional line numbering
  • Non-URL lines reported rather than silently dropped
  • Runs entirely in your browser

Who uses this tool

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:

  • Organising a backlink export before review
  • Grouping a crawl list by site
  • Seeing a site's structure from a sitemap URL list
  • Preparing a redirect map in a sensible order
  • Spotting the malformed entry in a long list

Frequently asked questions

What does sorting by path depth do?

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.

Does it remove duplicates?

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.

What happens to lines that are not URLs?

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.

How many URLs can it handle?

Tens of thousands comfortably. The work happens on your own machine, so the limit is memory rather than someone else's server quota.

Is the sort case-sensitive?

No, by default, which is almost always what people want. Domains are case-insensitive anyway; paths technically are not.

Is my list uploaded?

No. Sorting happens in your browser.

If the url sorter is not quite what you need, these other free tools solve closely related problems.

Domain Sorter

Sort domains alphabetically, by TLD, by length or by how often they appear.

SEO Tools Use tool

Duplicate URL Remover

Remove repeated URLs, treating trailing slashes and tracking parameters as the same.

SEO Tools Use tool

URL Cleaner

Remove utm and click-tracking parameters, fragments and stray characters from URLs.

SEO Tools Use tool

URL Extractor

Extract all URLs from text or HTML, with anchor text and filtering options.

SEO Tools Use tool

TLD Filter

Filter a list of domains or URLs by top-level domain, keeping or excluding what you choose.

SEO Tools Use tool