Sitemap Extractor: All URLs from XML Sitemaps & robots.txt
Pricing
from $1.00 / 1,000 urls
Sitemap Extractor: All URLs from XML Sitemaps & robots.txt
Get every URL from a website's sitemaps. Finds sitemaps in robots.txt and the usual paths, follows sitemap indexes, reads gzip, text, RSS and Atom sitemaps, returns lastmod, priority, images and hreflang. For SEO audits, migrations and crawls. Pay per URL.
Pricing
from $1.00 / 1,000 urls
Rating
0.0
(0)
Developer
Markus Heiß
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Get every URL a website lists in its sitemaps. Enter a domain, get back one row per URL with the last modified date, change frequency, priority, images and hreflang alternates.
Built for SEO audits, content inventories, migration checks, competitor research and as the first step of any crawl: you know which pages exist before you fetch a single one.
What it does
- Finds the sitemaps on its own. Reads the
Sitemap:lines in robots.txt, then tries/sitemap.xml,/sitemap_index.xmland/wp-sitemap.xml. - Follows sitemap indexes up to 5 levels deep, so sites with hundreds of sitemap files work.
- Reads every common format: XML sitemaps, gzip files (
.xml.gz), plain text sitemaps with one URL per line, RSS and Atom feeds. - Streams large files. Sitemaps are parsed while they download, so a 50 MB file does not need 50 MB of memory, and reading stops as soon as your limit is reached.
- Tolerates broken XML. Missing closing tags, stray characters and HTML error pages do not end the run.
- Removes duplicates within a site, also across sitemap files.
- Optional filter with a regular expression, for example only
/blog/or only product pages. - Plain HTTP, no browser. Fast and cheap.
- Polite to servers: at most 2 parallel requests per host, a short pause between requests, and a User-Agent that names the tool.
Use cases
- SEO agencies: full URL list for audits, find orphan pages, compare the sitemap with what is indexed, check
lastmodfreshness. - Site owners: see what your CMS really puts in the sitemap, find test pages or old content that should not be there, check hreflang alternates after a relaunch.
- Migrations: export all old URLs to build the redirect map.
- Sales and market research: size a competitor's catalogue or blog, track new pages by
lastmod. - Crawling and AI pipelines: feed the URL list into a scraper or a Markdown converter instead of crawling link by link.
Input
| Field | Description | Default |
|---|---|---|
| Sites | Domains (apify.com), home pages, or direct sitemap URLs (https://example.com/sitemap.xml) | |
| Max URLs per site | Stop after this many unique URLs per site, up to 1,000,000 | 10,000 |
| Include metadata | lastmod, changefreq, priority, images, hreflang alternates | on |
| URL filter | Regular expression, case insensitive. Only matching URLs are returned | empty |
| Follow sitemap indexes | Open the sitemaps listed in an index file | on |
| Timeout | Seconds without data before a sitemap file is given up | 30 |
| Parallel sites | Sites read at the same time, 1 to 10 | 3 |
Output
One dataset item per URL:
{"site": "https://www.ikea.com","url": "https://www.ikea.com/ee/et/p/zebrasaev-laelamp-valge-plast-10522481/","lastmod": "2026-11-10T11:54:20.095Z","changefreq": "weekly","priority": 1,"sitemapUrl": "https://www.ikea.com/sitemaps/prod-et-EE_1.xml","images": ["https://www.ikea.com/ee/et/images/products/zebrasaev-laelamp-valge-plast__1286742_pe933703_s5.jpg"],"error": null}
lastmod,changefreqandpriorityarenullwhen the sitemap does not set them. For RSS feedslastmodis the publication date.imagesandalternates([{ "hreflang": "de", "url": "..." }]) appear only when the sitemap lists them.sitemapUrlis the file the URL came from.
A site without any sitemap returns one item with url: null and an error that says what was checked, for example No sitemap found. Checked robots.txt and /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml. A summary per site (URLs, sitemap files read, files failed, time) is written to the run log.
Export as JSON, CSV or Excel, or read it through the Apify API.
Pricing
Pay per extracted URL. Error items, duplicates and URLs removed by the filter are not charged. Set "Max URLs per site" and the maximum charge per run in Apify to keep the cost under control.
Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.
Limits
- Only sitemaps the site publishes. Pages that are not in any sitemap are not found, because this tool does not crawl links.
- Sitemap files larger than 50 MB (100 MB after unpacking) are read up to that size.
- Sitemap indexes are followed 5 levels deep.
- Sitemaps behind a login, a bot wall or a captcha return an error for that file.
- Only public
httpandhttpsaddresses. Local and private network addresses are refused, also after redirects.
Data source, permitted use and legal
- Data source: robots.txt files and sitemaps the websites publish themselves. The Actor does not crawl pages.
- Snapshot: Results show the source at the time of the run. We do not guarantee that they are complete, current or correct.
- For business use: This Actor is offered to businesses only, not to consumers.
- Permitted use: Process only content you are allowed to access and use, for example your own websites and documents or public pages you have a legitimate reason to process. Respect the terms of the websites and the rights in the content.
- Your responsibility: You choose the URLs and decide what happens with the results. If results contain personal data, you are the controller and need your own legal basis.
- No circumvention: The Actor does not log in, solve captchas or bypass paywalls, bot protection or other access restrictions. Do not use it for that.
- Request volume: At most 2 parallel requests per host with a short pause between requests. Do not use it to put excessive load on a website.
- Provider: forgeloop, Markus Heiss, Austria. Imprint, Privacy Notice, Terms of Use.
Questions and issues
Open an issue on the Actor page.