---
title: "Sitemap URL extractor"
url: "https://blogautopost.com/tools/sitemap-extractor.md"
canonical_url: "https://blogautopost.com/tools/sitemap-extractor"
last_updated: "2026-11-21"
type: "tool"
summary: "Free sitemap extractor: enter a site or sitemap address, follow its index and list every page URL with its lastmod. Copy the list or download a CSV."
related: ["https://blogautopost.com/tools.md", "https://blogautopost.com/tools/blog-topic-generator.md", "https://blogautopost.com/docs.md"]
---

# Sitemap URL extractor

> **For AI agents:** the complete index of BlogAutoPost pages is [llms.txt](https://blogautopost.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Free sitemap extractor: enter a site or sitemap address, follow its index and list every page URL with its lastmod. Copy the list or download a CSV.

## What the extractor does

Enter a site, such as `example.com`, or the address of one sitemap file. The extractor reads the site's `/robots.txt` for its Sitemap lines, falls back to `/sitemap.xml` when there are none, opens each sitemap, follows a sitemap index into its child files, and lists every page URL it finds with the `lastmod` date beside it. You can copy the whole list or download it as a CSV file with three columns: the page URL, its lastmod and the sitemap file it came from.

It lists what the sitemaps say. It does not open the pages themselves, so it cannot tell you whether a listed page still exists, is indexed or ranks. For one page's crawl and index signals, use the [indexability checker](https://blogautopost.com/tools/indexability-checker.md).

> **Where the address goes** The address you enter is sent to our server, which fetches the site's robots.txt and sitemap files as BlogAutoPostBot to build the list. Nothing from the run is stored.

## How a site is read

- robots.txt is read first. A sitemap file that robots.txt disallows for BlogAutoPostBot is not fetched, and neither is a redirect that leads into a disallowed path. If that leaves nothing to read, the tool says so instead of returning an empty list.
- A run makes at most 8 requests to the site, robots.txt and redirects included. A sitemap index with more child files than that is read in order until the requests are used, and the result states how many files were left unread.
- Only https on the standard port is read, and only public addresses. Private, loopback and link-local addresses, and names that resolve to them, are refused before any connection is made.
- A redirect is followed only inside the same site, such as a bare domain that sends visitors to its www address. Sitemap files that sit on another site are skipped and named.
- Files over 5 MB, files that are not sitemaps and compressed `.gz` files are skipped and named. A skipped file shortens the list; it never fills it with guesses.
- One answer carries at most 20,000 page URLs, fewer when the URLs are very long. If a site lists more than that, the result says how many it found and that the list was cut.
- Each visitor can run ten extractions a minute, and a single site can be read twenty times a minute across all visitors.

## How the dates are shown

The sitemap protocol writes lastmod in W3C Datetime format, which lets a site leave out the time of day and give only `YYYY-MM-DD`. The extractor shows a date-only value as it is. When a site gives a time, it is converted to UTC and shown with a `Z`, so `2026-10-01T15:30:00+02:00` appears as `2026-10-01T13:30:00Z`. A lastmod that cannot be read as a date is shown as empty rather than repaired. Google says it uses lastmod when the value is consistently and verifiably accurate, and that it ignores priority and changefreq, so those two fields are not listed.

If the same page is listed in more than one sitemap file, it appears once, with the later of the dates. Entries whose address is not an http or https URL are dropped and counted in the summary.

## A worked example

The example runs on the site example.com with the three files below. A test in our code runs the same files through the extractor and compares the result with the table, so the table and the tool cannot disagree.

The sitemap index at https://example.com/sitemap_index.xml

```xml
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap><loc>https://example.com/post-sitemap.xml</loc></sitemap>
  <sitemap><loc>https://example.com/page-sitemap.xml</loc></sitemap>
</sitemapindex>
```

The child file https://example.com/post-sitemap.xml

```xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url><loc>https://example.com/blog/first-post</loc><lastmod>2026-09-02</lastmod></url>
  <url><loc>https://example.com/blog/second-post</loc><lastmod>2026-10-01T15:30:00+02:00</lastmod></url>
  <url><loc>https://example.com/blog/draft-notes</loc></url>
</urlset>
```

The child file https://example.com/page-sitemap.xml

```xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url><loc>https://example.com/about</loc><lastmod>2026-01-15</lastmod></url>
</urlset>
```

| Page URL | Lastmod | Sitemap file |
| --- | --- | --- |
| https://example.com/blog/first-post | 2026-09-02 | post-sitemap.xml |
| https://example.com/blog/second-post | 2026-10-01T13:30:00Z | post-sitemap.xml |
| https://example.com/blog/draft-notes | none given | post-sitemap.xml |
| https://example.com/about | 2026-01-15 | page-sitemap.xml |

Four page URLs come from three files: the index only points at the other two. The second post gave a time with an offset, so it is shown in UTC, and the draft-notes entry had no lastmod, so its cell says so.

## Limits a sitemap has

The sitemaps.org protocol allows a sitemap file at most 50,000 URLs and 50 MB uncompressed, and an index file at most 50,000 sitemaps. Google applies the same limits to one sitemap. Every URL in a sitemap must come from a single host, which is why the extractor reads one site at a time. Large sites split their URLs over many files for that reason, and the index is how they are found.

Once you have the list, compare it with what is live: a URL that is listed but returns an error, or a live post that no sitemap mentions, is worth fixing. The [indexing guide](https://blogautopost.com/docs/indexing.md) explains how BlogAutoPost keeps your own sitemap and Search Console in step, and the [heading outline tool](https://blogautopost.com/tools/heading-outline.md) is a quick way to check the structure of a post you found. Questions or corrections about this page can go to hello@blogautopost.com.

## Frequently asked questions

### Can I extract the URLs from any sitemap?

You can read the sitemap of any public site whose robots.txt lets BlogAutoPostBot read it. The tool opens https addresses on the standard port, follows sitemap indexes, and skips files it may not read, files over 5 MB and compressed files, naming each one it skipped.

### Why does the list stop before the end of a big site?

A run makes at most 8 requests to a site, and one answer carries at most 20,000 page URLs (fewer when the URLs are very long). When either limit cuts the list, the result says how many sitemap files were left unread or how many URLs were found in total, so you know it is partial.

### How do I export the URLs to a spreadsheet?

Use the download button to save a CSV file with the page URL, the lastmod and the sitemap file each URL came from, or copy the URLs one per line and paste them into a sheet or a crawler.

### What does a missing lastmod mean?

The site left the optional lastmod field out for that URL. Nothing is filled in for it. Search engines can use a lastmod that is consistently accurate, so a sitemap that leaves dates out gives them less to go on.

### Is the address I enter stored?

No. It is sent to our server, the sitemap files are fetched once to build the list, and the list is shown to you. We do not keep the address or the result. The crawler names itself BlogAutoPostBot in the user agent.

## Sources

- [sitemaps.org protocol: XML format, lastmod and file limits](https://www.sitemaps.org/protocol.html), read 2026-11-05
- [Google Search Central: build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap), read 2026-11-05

## Related

- [Free tools for blog writers](https://blogautopost.com/tools.md)
- [Blog topic generator](https://blogautopost.com/tools/blog-topic-generator.md)
- [BlogAutoPost documentation](https://blogautopost.com/docs.md)
