Extract URLs from XML and gzip sitemaps
Max Lee
Discovers sitemaps from robots.txt and standard paths, recursively traverses nested sitemapindex trees, and decompresses .xml.gz sitemaps under strict memory ceilings at 256MB RAM.
Input
Output fields
Sign up on Apify or log in
The Technical SEO, Sitemap & llms.txt AI Auditor (MCP) Actor is ready to run with the inputs already set for "Extract URLs from XML and gzip sitemaps". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract URLs from XML and gzip sitemaps" task
The Technical SEO, Sitemap & llms.txt AI Auditor (MCP) Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max pages, and more, to match your specific use case.
Receive the "Extract URLs from XML and gzip sitemaps" 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, status, HTTP, 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 URLs from XML and gzip sitemaps" task via API.

Yes. The XML sitemap URL extractor decompresses .xml.gz sitemaps with node:zlib under a 15 MiB ceiling and handles nested sitemapindex trees automatically.
The XML sitemap URL extractor reads Sitemap directives from /robots.txt and checks /sitemap.xml and /sitemap_index.xml without requiring exact sitemap URLs.
The XML sitemap URL extractor tolerates namespaces, CDATA, plain-text URL lists, and RSS/Atom feeds while rejecting HTML soft-404 responses cleanly.