Sitemap to CSV: export the URLs of a sitemap XML
Gabriel
Enter a sitemap address and export its URLs to CSV, Excel or JSON, with lastmod, changefreq and priority when the sitemap lists them. This example reads the first of the GitHub Blog's post sitemaps: about 1,000 older posts, with no changefreq or priority. Sitemap indexes, .gz files and .xml, .rss or .atom feeds work too. The task stops at 5,000 URLs; raise Max URLs per run for more.
Input
Output fields
Sign up on Apify or log in
The Sitemap Extractor & URL Finder Actor is ready to run with the inputs already set for "Sitemap to CSV: export the URLs of a sitemap XML". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Sitemap to CSV: export the URLs of a sitemap XML" task
The Sitemap Extractor & URL Finder Actor will start running based on the input automatically. You can also change all the input fields, like websites or sitemap urls, max urls per run, and more, to match your specific use case.
Receive the "Sitemap to CSV: export the URLs of a sitemap XML" 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 "Sitemap to CSV: export the URLs of a sitemap XML" task via API.

Integrate "Sitemap to CSV: export the URLs of a sitemap XML" into your workflow
Connect "Sitemap to CSV: export the URLs of a sitemap XML" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
Each row has the URL, last-modified date, image count and the sitemap it came from, plus change frequency and priority when the sitemap lists them (this GitHub Blog sitemap does not). With Only new URLs turned on, items are also marked isNew.
Include or exclude URLs with regular expressions, read only the sitemaps whose address matches a pattern, or keep URLs modified after or before a date.
You can enter a sitemap address like 'https://github.blog/post-sitemap.xml' to extract URLs from that specific sitemap.
Yes, this task can be scheduled to run automatically at specified intervals through the Apify Console.
The exported URLs can be saved in CSV, Excel, or JSON formats depending on your needs.
Not by default. Turn on Only new URLs and schedule the task: the first run saves a baseline, and later runs return only URLs that are new since the previous run. This sitemap lists older GitHub Blog posts, so enter github.blog to catch new posts.