What is XML Sitemap?
An XML sitemap is a file that lists a site's important URLs to help search engines discover and crawl them efficiently. An XML sitemap is especially useful for large sites or pages with few internal links.
Why XML Sitemap matters
Crawlers discover pages by following links; a sitemap gives them the list directly, with a last-modified date per URL so they can prioritise what changed. That matters most for new sites with few backlinks, large sites where deep pages get few links, and any site that publishes often. Google also uses the sitemap as one signal when it has to choose a canonical between duplicates.
A sitemap should list only URLs you want indexed: canonical, returning 200, not blocked by robots.txt and not marked noindex. Accurate lastmod dates are worth the effort because search engines learn to trust them, and IndexNow-style pings use the same dates to tell Bing and others what to refetch. Sitemaps are capped at 50,000 URLs or 50 MB each; larger sites use a sitemap index.
Example
One entry, with a real last-modified date:
<url>
<loc>https://example.com/learn/core-web-vitals</loc>
<lastmod>2026-09-14</lastmod>
</url>Priority and changefreq are ignored by Google; lastmod is what it reads.
Common mistakes
- •Listing redirected, 404 or noindex URLs, which teaches crawlers to distrust the file.
- •Setting every lastmod to the time of the request, so everything looks changed and nothing is believed.
- •Forgetting to declare the sitemap in robots.txt and Search Console.
How Webmatik checks it
Webmatik's Sitemap.xml check finds the file through robots.txt or the default location and validates it; Sitemap coverage compares the pages it discovers on the site with the URLs the sitemap lists.
Check your own site
Free SEO Checker
Title tags, headings, structured data, crawlability — and the keywords you already rank for.
Related SEO terms
See how your website scores across SEO, GEO, performance, and more
Run a free audit