What is an XML sitemap?
An XML sitemap is a file that lists the important URLs on your website, often with details like when each was last updated. It helps search engines discover and crawl your pages more efficiently.
Last reviewed .
Why XML sitemaps matter
Search engines mainly find pages by following links, but a sitemap gives them a direct list. It's especially useful for large sites, new sites with few links, and pages that are hard to reach.
A sitemap doesn't guarantee that pages are indexed or ranked.
What to include
List the canonical, indexable pages you want in search, and leave out redirects, error pages, and pages blocked from indexing. Keep the file up to date, and use accurate last-modified dates.
Large sites may need several sitemaps, since a single file has size limits.
How to submit one
Submit the sitemap's URL in the Sitemaps report in Google Search Console. You can also reference it in your robots.txt file.
Common questions
Do I need an XML sitemap?
Small, well-linked sites may be crawled fine without one, but it's low effort and usually worth having. Many content management systems create it automatically.
What is the difference between an XML sitemap and an HTML sitemap?
An XML sitemap is written for search engines. An HTML sitemap is a regular page for visitors that lists links to sections of the site.
Where is my sitemap located?
It's commonly at /sitemap.xml on your domain, though this varies. Check your robots.txt file, which often links to it.
Does a sitemap help pages rank?
It helps search engines find your pages, but it doesn't improve rankings on its own.
Want help putting this to work?
Tell us where your marketing stands today, and we'll show you what to do first.