In short
An XML sitemap is a file that lists the important URLs on your website so search engines can discover them and see when they last changed. It helps discovery but does not guarantee crawling or indexing.
What is an XML sitemap?
An XML sitemap is a machine-readable list of URLs on your site, written in the XML format defined by the sitemaps protocol. Each entry can include the address and the date it was last modified. Search engines read it to learn about pages they might not find through links alone.
Sitemaps are most useful for large sites, new sites with few incoming links, sites with deep structures and sites that publish frequently. Small, well-linked sites can be crawled without one, but a sitemap is still good practice.
What to include in a sitemap
Include the canonical, indexable URLs that you want to appear in search and that return a 200 status code. Leave out redirects, error pages, pages blocked by robots.txt, noindex pages and duplicate versions.
Keep the lastmod date accurate. Google uses it when it is consistently truthful, and ignores it when it is not. Priority and changefreq values are ignored by Google, so you can leave them out.

Limits and formats
A single sitemap file can hold up to 50,000 URLs or 50 MB uncompressed. Larger sites split their URLs across several files and list them in a sitemap index file.
Besides standard page sitemaps, there are extensions for images, video and news content. Most sites use a standard sitemap plus, where helpful, image or video entries.
- Use absolute URLs with the full protocol and domain
- Keep the file UTF-8 encoded
- Host it on the same domain it describes
How to submit your sitemap
Add the sitemap to your robots.txt file with a Sitemap line, so any crawler can find it. Then submit it in Google Search Console under Sitemaps, and in Bing Webmaster Tools. Search Console reports how many URLs were discovered and any errors it found.
Many CMS platforms and plugins create and update sitemaps automatically. Check the output rather than trusting the defaults, because they often include tags, archives or parameter pages you may not want indexed.

Common sitemap mistakes
- Listing URLs that redirect, 404 or are noindex
- Including non-canonical or parameter URLs
- Forgetting to update the file after a migration
- Setting every lastmod to the current date on every build
- Splitting by arbitrary rules so that important pages are missing
- Treating the sitemap as a guarantee of indexing
Using sitemaps to spot problems
Because a sitemap should contain only good URLs, comparing it with Search Console's indexing report is a useful health check. If many sitemap URLs are not indexed, look for quality, duplication or technical issues. Separate sitemaps for sections such as blog, products and categories make it easier to see where the problems are.
XML sitemap vs HTML sitemap
An XML sitemap is written for search engines. An HTML sitemap is a regular web page that lists links for people, and it can also help crawlers find deep pages.
Most sites benefit from the XML version, while an HTML sitemap makes sense for very large sites or when navigation is complex. They are not substitutes for each other.
Sitemaps for large sites
Split large sites into sitemaps by content type, for example products, categories, articles and locations, and list them in a sitemap index. This makes the indexing report easier to interpret, since coverage problems can be traced to a particular section.
Regenerate sitemaps automatically as content changes, and set accurate lastmod dates only when the content truly changed in a meaningful way.
Key takeaways
- An XML sitemap lists your important URLs for search engines
- Include only canonical, indexable, 200-status URLs
- Limit is 50,000 URLs or 50 MB per file
- Submit in Search Console and reference it in robots.txt
- Sitemaps help discovery but do not guarantee indexing
How Creolume can help with XML Sitemap
We audit crawling, indexing, rendering and speed, then give your team a prioritised list of fixes. If XML Sitemap is on your list of priorities, our team can review where you stand, explain what matters for your site and your market, and agree a realistic plan.
You can explore our Technical SEO & Audit service or contact us for a short, no-obligation conversation. We will tell you honestly what is worth doing first and what can wait.
XML Sitemap FAQs
What is an XML sitemap?
It is a file listing the URLs of your site that you want search engines to know about, with optional details such as last modified dates.
Do I need an XML sitemap?
It is not required, but it helps search engines discover pages, particularly on large, new or poorly linked sites.
Does Google use priority and changefreq in sitemaps?
No. Google ignores those values. It uses the URL and an accurate lastmod date.
How many URLs can a sitemap contain?
Up to 50,000 URLs or 50 MB uncompressed per file. Larger sites use a sitemap index to combine several files.
How often should I update my sitemap?
Whenever your pages change. Most CMS tools update it automatically, but check it after migrations and large content changes.
Should I include images in my sitemap?
You can. Image entries help search engines find images that are loaded in ways crawlers might miss, which helps visibility in image search.
What happens if my sitemap has errors?
Search Console reports them, and search engines may ignore the affected entries. Fix invalid URLs and formatting, then resubmit.
Can I have more than one sitemap?
Yes. You can submit several sitemaps or a sitemap index that lists them, which is common on large sites.
Not sure where to start?
Tell us about your site and your goals. We will reply with an honest view of what to fix first.
