XML Sitemap Viewer
Enter any domain or sitemap URL to view all pages, last modified dates, and export the full list as CSV or JSON.
How to view the sitemap of any website
Quick answer: type the domain into the viewer above. It checks /sitemap.xml, then theSitemap: line in robots.txt, and lists every URL with its last-modified date. To do it by hand, follow these three steps:
- Try the standard path. Open
https://example.com/sitemap.xmlin your browser. Most sites, CMSs and frameworks publish their sitemap there. - Check robots.txt. Open
https://example.com/robots.txtand look for a line that starts withSitemap:. It holds the sitemap's real address when the site uses a different path (for example/sitemap_index.xmlor/post-sitemap.xml). - Open the sitemap index. If the file lists other sitemaps instead of pages (
<sitemapindex>), it is an index. Open each child sitemap to see its pages. In the viewer, click Load next to a sub-sitemap.
Browsers show raw XML, which is hard to read on large sites. The viewer turns it into a searchable list you can export as CSV or JSON.
What is an XML sitemap?
An XML sitemap is a file that lists every important page on a website. It tells search engines like Google and Bing where to find content and how often pages are updated. Most sites store their sitemap at /sitemap.xml, though larger sites use a sitemap index file that links to multiple sub-sitemaps organized by section or content type.
For web scrapers and researchers, sitemaps are invaluable. Rather than crawling a site page-by-page, you can read its sitemap to get a complete list of URLs upfront, including last-modified dates that tell you which pages have changed recently.
How to use this sitemap viewer
- Enter a domain (e.g.,
example.com) or paste a direct sitemap URL. - The tool auto-discovers the sitemap by trying
/sitemap.xmland parsingrobots.txt. - If a sitemap index is returned, click Load on any sub-sitemap to drill in.
- Filter URLs with the search box to find specific pages or sections.
- Download the full URL list as CSV or JSON for use in spreadsheets or scraping tools.
Common use cases
- Build a seed URL list before scraping a site with a tool like Lection.
- Check a competitor's content structure and publishing frequency.
- Verify that your own sitemap contains all the pages you expect.
- Find recently updated pages using last-modified dates for monitoring campaigns.
- Audit a site before migration to ensure no pages are missing from the new sitemap.
Frequently asked questions
How do I view the sitemap of any website?
What if a website has no /sitemap.xml?
What is a sitemap index file?
Why does this tool show fewer URLs than the sitemap count?
What does the lastmod date mean?
Why can't the tool find a sitemap for a site I know has one?
How is this useful for web scraping?
Related resources
Scrape any site, every page, on a schedule.
Add to Chrome — freeRelated tools & guides
This free tool is one ready-made template of Lection, an AI web scraper Chrome extension that extracts lists, tables and detail pages from any website. It can also scrape any website to Google Sheets on a schedule. Need a recurring data feed for your team or clients? We can set it up for you.