Skip to main content

Free

XML Sitemap Generator and Validator

Paste a sitemap.xml, drop a file, or build a urlset from a list of page URLs. Checking stays in your browser. An optional server fetch can load a public sitemap. What you paste stays in your browser. If you tick fetch via aamservices.uk, our server fetches that public sitemap.xml for you.

Sitemap generator

Paste XML, drop a file, or build a urlset from page URLs. Checking stays in your browser.

Fetch a sitemap

Optional. Fetch is server-side only, and uses the same SSRF, size, timeout and rate limits as the Robots.txt Tester.

Live fetch is capped at 500 KiB, the same limit as the other SEO tools. The sitemaps.org file limit is 50 MB uncompressed. Paste or upload larger files here.

sitemap.xml

0 B

What you paste stays in your browser. If you tick fetch via aamservices.uk, our server fetches that public sitemap.xml for you.

Inspect

Paste a sitemap.xml file, drop a file, or fetch a public URL to inspect it.

How XML sitemaps work

A sitemap tells crawlers which URLs you want discovered. The file is XML, UTF-8, and uses the sitemaps.org namespace. A urlset lists page URLs. A sitemapindex lists other sitemap files when a site is too large for one document.

This checker follows the sitemaps.org protocol for well-formed XML, loc, lastmod, changefreq, priority, size and URL count. It does not crawl nested sitemaps, and it does not replace Search Console coverage reports.

What this tool checks

Well-formed XML and namespace

The root element must be urlset or sitemapindex in the http://www.sitemaps.org/schemas/sitemap/0.9 namespace. DOCTYPE declarations are rejected.

Limits

Each file may list up to 50,000 URLs and must stay at or under 50 MB uncompressed. Live fetch is a separate 500 KiB cap, matching the other SEO tools on this site.

loc, lastmod, changefreq and priority

Every loc must be an absolute http or https URL, 2,048 characters or fewer, and XML-entity escaped. lastmod uses W3C Datetime. changefreq is one of always, hourly, daily, weekly, monthly, yearly or never. priority is a number from 0.0 to 1.0.

Duplicates and mixed hosts

Duplicate loc values are errors. Mixing hosts, or mixing http and https, is a warning. Search engines expect one host per sitemap.

Where to put sitemap.xml

OpenCart

Many OpenCart SEO extensions write /sitemap.xml or a sitemap index at the store root. Confirm the URL in the storefront, then list it in robots.txt with a Sitemap line.

Shopify

Shopify serves /sitemap.xml as an index of product, collection, page and blog sitemaps. You do not upload a custom file for the default storefront.

WooCommerce

Yoast SEO and Rank Math can output a sitemap index, often at /sitemap_index.xml. Point Search Console at that index, not at each nested file.

Related tools

Checking stays in the browser, like the rest of the tools hub. An optional server fetch can load a public sitemap when you tick the box. Use the Robots.txt Tester to confirm crawlers may fetch the file, the llms.txt checker for AI crawler notes, and the Schema Generator for JSON-LD on the pages you list.

Frequently asked questions

Does this replace Google Search Console sitemap reports?

No. This tool checks the sitemaps.org protocol rules in your browser. Search Console still reports whether Google fetched and used your live sitemap.

Is my sitemap uploaded anywhere?

Paste, generate, copy and download stay in this browser. Fetching a live sitemap only happens if you tick Fetch via aamservices.uk, which loads that public URL through our server with the same limits as the Robots.txt Tester.

What size and URL limits apply?

The sitemaps.org protocol allows 50,000 URLs and 50 MB uncompressed per file. Live fetch is capped at 500 KiB, so paste or upload larger files. Nested sitemap indexes are inspected, not followed.

Can I fetch a live sitemap.xml?

Yes, if you tick Fetch via aamservices.uk and enter a public http or https URL. Private, loopback and local addresses are blocked. A domain on its own loads /sitemap.xml.

Where should I host the file?

Place sitemap.xml at the host root, or keep nested files next to a sitemap index, then list the index in robots.txt with a Sitemap line. Submit the same URL in Search Console.