Go to example tasks

Extract all URLs from a website's sitemap

Finds a site's sitemaps through robots.txt and reads every sitemap in its index: one row per page URL with lastmod, changefreq and priority. Put in your own site.

Try for free
Sitemap Extractor: All URLs from sitemap.xml, robots.txt & .gz
Sitemap Extractor: All URLs from sitemap.xml, robots.txt & .gzmakerio/sitemap-extractor
URL
Last modified
Change frequency
Priority
+3 fields
Text
Number
Boolean
List
Object

Input

Websites or sitemap URLs(required)
url:https://wordpress.org/news/
Max URLs:1000

Output fields

URL
Last modified
Change frequency
Priority
Title (feeds)
Sitemap
Blocked for Googlebot

How it works

Sign up on Apify or log in

The Sitemap Extractor: All URLs from sitemap.xml, robots.txt & .gz Actor is ready to run with the inputs already set for "Extract all URLs from a website's sitemap". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract all URLs from a website's sitemap" task

The Sitemap Extractor: All URLs from sitemap.xml, robots.txt & .gz Actor will start running based on the input automatically. You can also change all the input fields, like websites or sitemap urls and max urls, to match your specific use case.

Receive the "Extract all URLs from a website's sitemap" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, last modified, change frequency, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract all URLs from a website's sitemap" task via API.

Image

Integrate "Extract all URLs from a website's sitemap" into your workflow

Connect "Extract all URLs from a website's sitemap" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

One row per URL from the sitemaps: lastmod, changefreq, priority, images, videos, news and hreflang. The summary lists every sitemap file and any errors.

$0.10 per 1,000 URLs saved; reading the sitemaps is free. As set up, at most 1,000 URLs, so a run costs up to $0.10, usually less.

Yes. Duplicate the "Extract all URLs from a website's sitemap" task and put in your website or sitemap URL. The sitemaps are found through robots.txt and the usual locations.

The run still succeeds, and the summary lists every location that was tried. This Actor reads sitemaps only and does not crawl pages.