Summary
The free URL extractor reads the HTML source of any page and lists every unique URL it points to, split into internal and external links, with the totals, the share of each and a Copy button for each list. It also shows the page title and the final address if the page redirects. Use it to audit internal linking, prepare a migration, review outbound links or study a competitor's page in seconds.
Want to go further? Ask
A URL extractor answers a simple question: which addresses does this page link to? Links matter twice for SEO. They are how crawlers discover pages, and Google states that every page you care about should have a link from at least one other page on your site (Google, SEO link best practices). Seeing the full list is the fastest way to check that the right pages get those links.
What does the URL extractor show?
Enter a URL and the tool fetches the page, follows any redirect, and returns four blocks.
| Block | What you see | What it tells you |
|---|---|---|
| Totals | Total URLs, internal links, external links | The size of the page's link set |
| Composition bar | The internal share in blue, the external share in orange | Whether the page keeps visitors on your site or sends them away |
| Tabbed list | Every unique URL, numbered, with a Copy all button for the open tab | The raw material for your audit, one URL per line |
| Information | The page title, and the final URL when the address redirects | That you analyzed the page you meant to |
The free version runs 3 extractions per day, protected by an anti-bot check.
How does the tool extract and classify links?
It reads every href attribute in the HTML returned by the server, then applies five rules.
- Relative links are resolved into full URLs, using the final address of the page.
- Non-page links are skipped:
mailto:,tel:,javascript:,data:and in-page anchors that start with#. - Duplicates are removed: a URL linked from the menu, the body and the footer is listed once.
- Internal means same host: a link is internal when its hostname matches the page's, with or without www. A subdomain such as blog.example.com counts as external.
- Every href counts, including
<link>tags in the head: stylesheets, canonical, hreflang alternates or a favicon. That is why a CDN or a font host often appears in the external list.
The tool does not run JavaScript. It sees the HTML that crawlers receive first, before rendering. Google renders JavaScript pages in a second phase (Google, JavaScript SEO basics), but a link that exists only after scripts run is discovered later, and some crawlers never see it. If an important link is missing from the list, it is probably injected by JavaScript.

How many links does a typical page have?
Popular sites link more, mostly because of larger menus. The HTTP Archive measured the median number of links per page on desktop in 2024 (Web Almanac 2024, SEO chapter).
| Site group (by popularity) | Median internal links | Median external links |
|---|---|---|
| Top 1,000 sites | 129 | 16 |
| Top 10,000 sites | 122 | 14 |
| Top 100,000 sites | 86 | 10 |
| Top 1 million sites | 71 | 8 |
| Top 10 million sites | 52 | 7 |
| All sites | 41 | 6 |
Use these numbers as a frame, not a target. The almanac counts clickable links, while the extractor also lists head resources, so your totals will run slightly higher. What matters is whether the links on a page point to the pages you want crawled and ranked.
How do you use the extracted URLs for an SEO audit?
Run the extractor on the pages that carry the most weight: the home page, your main categories and your best articles. Then work through the list in this order.
- Check your money pages are linked. Search the internal list for your product, service and pricing pages. A page with no internal link from your strong pages gets little authority.
- Find links that lead nowhere. Run the same page through the broken link checker, which tests each of its links for 404s, server errors and redirects.
- Remove redirect hops. Internal links that pass through a redirect waste crawl time. Test suspicious ones with the redirect checker and link to the final URL.
- Spot parameters and duplicates. Tracking parameters, session IDs or sort orders in internal links create duplicate URLs. Link to the clean version.
- Review outbound links. Paid or sponsored links should carry
rel="sponsored"and user contentrel="ugc", as Google asks (Google, qualify outbound links).
For the theory behind these checks, see our glossary entries on internal linking and anchor text.
Which use cases does a URL extractor cover?
| Use case | Which list to copy | Next step |
|---|---|---|
| Site migration | Internal links of your key pages | Build the old to new URL mapping and redirect each old URL |
| Competitor research | Internal links of a competitor's hub page | See which topics and pages they push the hardest |
| Outbound link review | External links | Remove dead sources, qualify paid ones |
| Sitemap check | Internal links | Compare with your sitemap to find pages that are linked but not listed |
| Content refresh | Both | Update old sources and add links to newer articles |
For a migration, Google recommends preparing a mapping from the current URLs to the new ones before you redirect (Google, site moves and migrations). The extractor gives you the inventory page by page; the XML sitemap generator gives you the indexable pages of the whole site in one file.

How do you extract every URL from an XML sitemap?
The URL extractor reads the href attributes of an HTML page, so it does not read XML sitemaps. A sitemap lists its URLs in <loc> tags instead. You can copy them all with one command, then compare the list with the internal links you found on your pages.
To pull the URLs from a sitemap at a public address, run this in a terminal:
curl -s https://example.com/sitemap.xml | grep -oP '(?<=<loc>)[^<]+' The command prints one URL per line. On macOS, install GNU grep first, because the default grep has no -P option.
What about sitemap index files?
Large sites split their sitemap into several files and list them in a sitemap index. Each sitemap can hold up to 50000 URLs or 50MB uncompressed (Google, build and submit a sitemap). Lines that end in .xml point to child sitemaps. Run the command on each of them, merge the results and remove duplicates.
Compare the sitemap with your internal links
| Found in the sitemap | Linked internally | What to do |
|---|---|---|
| Yes | Yes | Healthy, keep both |
| Yes | No | Link to it from a related article |
| No | Yes | Add it to the sitemap if you want it indexed |
| No | No | Decide whether the page should appear in search at all |
Fix the second row first. A page in the sitemap that no internal link points to has no path through your site, so link to it from a related article.
Tip
Check the sitemap itself before you compare. The XML sitemap checker validates the file, and a sitemap that lists redirected or broken URLs should be cleaned first. For the steps to build one from scratch, read how to create a sitemap.
What can you learn from a competitor's links?
A competitor's internal links show their priorities. Pages linked from the home page and from every article are the ones they want to rank. Their external links show the sources they trust, the tools they recommend and sometimes their partners, which are outreach leads for your own backlink analysis.
Doing this by hand on a few pages works. Doing it every week on several competitors does not: Sorank SEO competitor spy follows up to five of them and sends the keywords behind their new pages to your content calendar.
What are the limits of the URL extractor?
- One page at a time. It does not crawl the site. To list every indexable page, use the sitemap generator.
- No status codes. It lists URLs but does not test them. Run the broken link checker on the same page.
- No anchor text or rel attributes. The list shows destinations only, not the clickable text or nofollow values.
- Raw HTML only. Links added by JavaScript after loading are not captured.
- Fragments are kept.
/pageand/page#sectionappear as two entries when both are linked. - Blocked pages. A page that blocks bots, requires a login or takes more than 15 seconds to answer returns an error.
How do you build stronger internal links over time?
Group pages by topic, then link every article to its hub and to its closest neighbors. Strong internal linking comes from structure, not from one-off fixes.
- Map your topics with the topical cluster generator, which groups keywords into silos and flags pages that compete with each other.
- Publish inside those clusters with the blog article generator, which adds internal links to every article it writes.
- Watch the effect on clicks and AI visits in the GEO and SEO dashboard.
Every audit of internal links starts with the list of URLs on a page. Extract yours above, fix what you find, then see the Sorank plans to keep your linking and your publishing on autopilot.
How do you find all the pages on a website?
To find all the pages on a website, start with its XML sitemap, then crawl the site from the home page and compare the two lists. The sitemap shows the pages you chose to publish, the crawl shows every page that internal links can reach, and the gap between them shows which pages need a fix. Add the Pages report in Search Console to see which URLs Google has indexed.
| Source | What it gives you | What it misses |
|---|---|---|
| XML sitemap | The pages you asked search engines to index | Live pages that were never added to the file |
| Site crawl | Every URL reachable through internal links, with its status code | Orphan pages that no other page links to |
| Search Console Pages report | The URLs Google knows and whether they are indexed | Pages Google has never discovered |
- Start from the sitemap. A single sitemap file is limited to 50000 URLs or 50MB uncompressed, and larger sites must split it into several files (Google, build and submit a sitemap). If you have no file yet, build one with the XML sitemap generator, then check it with the sitemap checker.
- Crawl from the home page. Follow internal links only, stay on the same host, and record the status code of each URL. This finds the pages the sitemap forgot.
- Compare the two lists. A URL that the crawl finds but the sitemap lacks is either a page to add or a page to remove. A URL in the sitemap that the crawl never reaches is an orphan: only the sitemap points to it.
- Check the indexed set. The Pages report shows which URLs are indexed, which are excluded and why. Test any doubtful URL with the indexability checker.
Tip
Run the URL extractor on your home page and your main categories. Any page missing from both lists is a candidate orphan to check.
The sitemap tells you what you meant to publish, and the crawl tells you what visitors and bots actually reach. Only the comparison between the two gives a complete inventory.


















































































































































