🔀 Sorting

Sort URLs by Domain

Get every URL from the same site together, or every “…boots” keyword together, in one click.

  • 100% free, no limits
  • No sign-up
  • Your data never leaves your browser
  • Results in under a second

Free tool Paste your list — the Sort URLs by Domain tool does the rest

The example below is already loaded, so you can see exactly what you get. Replace it with your own list and the result updates as you type.

Got a bigger job? The full Notepad runs the same engine on lists of any size — chain this with dedupe, sort and filter, undo any step, and save the whole routine as a recipe for next time.

Example Sort URLs by Domain tool: before and after

Before
trail shoes
hiking boots
running shoes
wool socks
After
hiking boots
running shoes
trail shoes
wool socks

Settings used: Sort by: Last word

How it works What the Sort URLs by Domain tool does

Sorts URLs by their root domain (so each site’s URLs sit together) or keywords by their last word (so “running shoes”, “trail shoes” and “walking shoes” sit together).

Sorts by a part of each line instead of the whole line. “By domain” groups URLs from the same site together, whatever their paths. “By last word” groups keywords by the noun at the end, so all the “boots” keywords sit together and all the “shoes” keywords sit together.

Lines with the same key are then sorted alphabetically, and numbers inside the text sort naturally.

3 steps How to use the Sort URLs by Domain tool

  1. Paste your list into the box above — one item per line. Keyword exports, crawl exports and spreadsheet columns all work.
  2. Check the settings and adjust them to your job — the result updates as you type.
  3. Copy the result and paste it wherever it needs to go. Nothing is uploaded, so client and confidential data stay on your machine.

Use it to When to use the Sort URLs by Domain tool

  • Group a backlink list by referring domain
  • Group keywords by the product type at the end of the phrase
  • Order a list of URLs by site for a multi-site audit

FAQ Sort URLs by Domain tool questions

Is Sort by Domain or Last Word free to use?

Yes. Sort by Domain or Last Word runs entirely in your browser, on this page and in the full Notepad, with no sign-up, no limits, and nothing sent to a server.

What if a line is not a URL when sorting by domain?

Lines without a domain are moved to the end.

Does it understand .co.uk domains?

Yes. URLs are grouped by root domain, so shop.example.co.uk and example.co.uk sort together.

Pairs well with More Sorting tools, all free

Stop fixing lists by hand

The Sort URLs by Domain tool is one of the free tools inside Seowolf’s Notepad. Paste a list once, then dedupe, filter, sort, compare and format it in seconds — every step undoable, nothing uploaded, no account.

Open the Notepad — it’s free
← Browse all free tools
KnownHost