backlinks.fyi
HomeDirectoriesToolsExtensionBlogShowcasePricing
Sign inGet Started Free→
HomeDirectoriesToolsExtensionBlogShowcaseSubmit StartupPricing
Sign inGet Started Free
Home›Free Tools›Sitemap URL Extractor
SEO & site checks

Sitemap URL Extractor

Pull the full URL inventory out of any sitemap or sitemap index, including lastmod dates, and download it as CSV or TXT for audits, migrations, and post-launch tracking.

Pulls every URL (with lastmod) from a sitemap or sitemap index, capped at 50,000 URLs. Need to validate instead?

Why Export a Sitemap as a Plain URL List

A sitemap file is built for crawlers, not for people. The moment you need to work with your URLs — sort them, annotate them, compare them against another list — you want them in a spreadsheet, and the fastest honest source for that list is the sitemap itself. Exporting turns the file from a crawl directive into an inventory.

Three workflows in particular keep coming back to a sitemap export:

  • Content audits. Paste the exported URLs into a spreadsheet alongside analytics data and you have the backbone of an audit: which pages exist, which get traffic, which are dead weight. The lastmod column tells you when each page was last touched, which is often enough to spot stale clusters without touching a CMS.
  • Site migrations. Before a redesign, export the old sitemap; after launch, export the new one. Diffing the two lists is the cheapest way to find dropped pages that still need 301 redirects — before Search Console coverage reports and users find them for you. Every URL in the old list with no counterpart in the new one is a redirect waiting to be written.
  • Post-launch tracking. Submit a sitemap on day one, export it, and track how many of those URLs are actually indexed over the following weeks. If only a third of the list shows up in site: searches or Search Console pages report, you know where to invest — internal linking, content quality, or pruning.

The CSV export includes both loc and lastmod so it drops straight into Sheets or Excel, and the TXT export (one URL per line) is the format that crawling tools, log analyzers, and link-building utilities typically expect as an input list.

How Extraction Differs from Validation

The two sitemap tools on this site share a parser but answer different questions. The validator is judgmental: it checks well-formedness, absolute URLs, duplicates, and date formats, and returns a pass/fail with a fix list. The extractor is permissive: its job is to get every usable URL out of the file even when the file is imperfect. If a sitemap has one bad lastmod or a duplicate entry, the extractor still returns the good entries and surfaces the parser notes separately, so a slightly messy sitemap never blocks an export.

In practice, extract first; validate only when something looks wrong. If the extractor comes back empty, that is itself a diagnosis — the file probably has malformed XML or a wrong root element, which is exactly what the validator will detail.

What Happens with Sitemap Index Files

Large sites usually publish a sitemap index — a root file that points at dozens of child sitemaps rather than listing pages directly. Give the extractor the index URL and it follows one level deep: it fetches up to 20 child sitemaps concurrently and merges their entries into a single list, with a per-child status showing how many URLs each shard contributed. If a child fails to fetch or the run hits its time budget, you still get everything collected so far, flagged as partial results with the failed children listed. If your index has more than 20 children, extract in batches by pointing the tool at the child sitemaps directly.

Limitations Worth Knowing

Extraction caps at 50,000 URLs per run, matching the protocol's per-file URL limit; a sitemap index pointing at more entries than that returns the first 50,000 flagged as capped. Each sitemap file is fetched with a 5 MB decompressed ceiling. Gzip-compressed sitemaps (.gz) are not supported yet — if your server publishes sitemap.xml.gz, extract from the uncompressed sitemap.xmlinstead. And since the tool reads the sitemap as published, URLs that exist in the file but were removed from the site (or vice versa) will only surface when you compare the export against the live site — the sitemap is a claim, not a verification.

Frequently Asked Questions

Which sitemap URL should I paste in?

The file itself, not a page that links to it — usually https://example.com/sitemap.xml or https://example.com/sitemap_index.xml. If you are unsure, check robots.txt for a Sitemap: line; that is the canonical location most sites declare.

Does extracting URLs from a sitemap submit them anywhere?

No. The tool fetches the sitemap server-side, parses it, and hands the list back to your browser for download. Nothing is submitted to search engines and no URL is stored.

Why do some entries have no lastmod?

lastmodis optional in the sitemaps protocol, and many generators omit it. In the CSV export the column is simply blank for those rows. Treat missing dates as “unknown,” not as “old.”

Can I extract from a competitor's sitemap?

Yes — sitemaps are public files by design, and reviewing a competitor's URL structure is a standard way to find content categories or directory pages you have not covered. Use it as research input, not as a copy list.

The tool returned partial results. What now?

Partial means the run hit the URL cap, the 20-child limit, or the time budget. Check the child list for failures, then run the extractor directly on any child sitemaps that were skipped and merge the downloads.

Turn your URL list into backlinks

Exported your sitemap? Now build the links that get those URLs crawled. Browse our free database of 150+ startup directories with DR, cost, and link type for every entry.

Browse directoriesCreate free accountGet the extension →