Read a sitemap XML file into a table
Odd Nectary
Paste the address of a sitemap.xml or sitemap index file and get its URLs as a table that exports to CSV, Excel or JSON. Gzipped files and nested indexes are handled. The example reads the sitemap file of the Apify documentation.
Input
Output fields
Sign up on Apify or log in
The Sitemap URL Extractor - Fast Bulk Sitemap Scraper Actor is ready to run with the inputs already set for "Read a sitemap XML file into a table". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Read a sitemap XML file into a table" task
The Sitemap URL Extractor - Fast Bulk Sitemap Scraper 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 in total, to match your specific use case.
Receive the "Read a sitemap XML file into a table" 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 freq., 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 "Read a sitemap XML file into a table" task via API.

The "Read a sitemap XML file into a table" task returns one row per URL with the page address, lastmod, changefreq, priority and the sitemap file where the URL was found. The dataset exports to JSON, CSV or Excel.
The "Read a sitemap XML file into a table" task runs with the input shown on this page. Save it to your account and replace the example values with your own; every filter is optional.
Save the "Read a sitemap XML file into a table" task to your Apify account, then add a schedule in Apify Console or call it from the Apify API, the JavaScript or Python client, or the Apify MCP server.
The "Read a sitemap XML file into a table" task is billed per result at the price shown on the Actor page. Results removed by the filters are not charged, and the item limit in the input caps the cost.