Go to example tasks

Sitemap to CSV: export the URLs of a sitemap XML

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.

Try for free
Sitemap Extractor & URL Finder
Sitemap Extractor & URL Finderurameshi7k/sitemap-extractor
URL
Last modified
Change frequency
Priority
+3 fields
Text
Number
Boolean
List
Object

Input

Websites or sitemap URLs(required):https://github.blog/post-sitemap.xml
Max URLs per run:5000
Include image URLs:false
Include language alternates:true

Output fields

URL
Last modified
Change frequency
Priority
Images
Found in sitemap
New

How it works

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.

Image

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

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

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.