SEO & AEO Boost

What Is a Sitemap XML File?

Large 3-D letters spelling .XML, lit with pink, aqua and blue lights.

A sitemap is a file that lists the pages on your website so search engines like Google can find and crawl them more efficiently. According to Google’s sitemap overview, it can also tell Google which pages you consider important and when each page was last updated.

Think of it as a table of contents for search engines. Your visitors never see it, but it helps make sure Google knows about every page you want people to find, including new pages and pages that aren’t linked from many places.

The short version

  • A sitemap lists the pages you want search engines to find.
  • It helps Google discover pages, but it doesn’t guarantee they will be indexed or ranked.
  • Most website platforms, including Wix, create one for you automatically.
  • Submit it once in Google Search Console, then keep it up to date.

What a sitemap looks like A real example from this website

sitemap.xml imillermedia.com/sitemap.xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.imillermedia.com/about</loc>
    <lastmod>2026-11-30</lastmod>
  </url>
  <url>
    <loc>https://www.imillermedia.com/services</loc>
    <lastmod>2026-11-30</lastmod>
  </url>
  …1 entry for every page
</urlset>
  • <loc> The full web address of a page you want search engines to find.
  • <lastmod> When the page last changed in a meaningful way. Google uses it only if it is accurate.
  • Where it lives Usually at yourwebsite.com/sitemap.xml, and listed in your robots.txt file.
A sitemap is a simple list of your website’s pages, written in XML, that helps search engines find them. Shown: part of the sitemap for imillermedia.com.

How does a sitemap help Google find your pages?

Google finds most pages by following links, from other websites and from page to page within your own site. A sitemap gives Google a direct list instead, so it doesn’t have to rely on links alone. That is especially useful when:

  • Your website is new and few other sites link to it yet.
  • Your website is large, so some pages are hard to reach through links.
  • You have lots of images or videos that you want to show up in search.

One important point: a sitemap is a helpful hint, not a guarantee. Google says submitting a sitemap doesn’t guarantee that it will crawl or index every page on it. Pages still need to be helpful and technically sound to show up in results.

Does every website need a sitemap?

Not always. Google says small sites with about 500 pages or fewer, where every page is linked from the rest of the site, might not need one. But a sitemap rarely hurts, it is easy to have, and it makes it simple to check in Google Search Console which of your pages Google has found. For most business websites, it is a smart, low-effort best practice.

What goes into a sitemap?

Most sitemaps are written in XML, a simple format that computers can read. Each page gets a short entry with:

  • The page’s full web address (for example, https://www.imillermedia.com/about).
  • The last modified date, which Google says it uses only when it is consistently and verifiably accurate. It should change when the page’s main content changes, not for small edits like a new copyright year.

Google also notes that it ignores 2 older optional fields, priority and change frequency, so there is no need to fuss over them. A single sitemap can hold up to 50,000 web addresses, far more than most small business websites need.

How do you create and submit a sitemap?

  1. Check if you already have one. Most website platforms, including Wix, Squarespace, Shopify and WordPress, create one automatically. On many sites you can see it by typing your web address followed by /sitemap.xml into your browser.
  2. Make sure it lists the right pages. Include the pages you want people to find, and leave out private pages like a thank-you page.
  3. Submit it in Google Search Console. Open the Sitemaps report, paste in the full sitemap address and click Submit. You only need to do this once; Google checks it again on its own.
  4. List it in your robots.txt file. Adding a “Sitemap:” line with the full address helps other search engines find it too.

What’s the difference between a sitemap and robots.txt?

A sitemap says “here are the pages I want you to find.” A robots.txt file says “here is where crawlers may and may not go.” They work together, and most websites have both. Learn more in robots.txt and llms.txt: what they are and why they matter.

Indirectly, yes. Google says its AI features, like AI Overviews and AI Mode, draw on pages that are indexed and eligible to appear in Google Search. A sitemap helps Google discover your pages in the first place, which is the first step toward showing up in both regular results and AI answers.

How iMillerMedia helps

Every website I build includes an automatic sitemap, a robots.txt file and Google Search Console setup, so new pages are found quickly. For existing websites, my SEO & AEO Boost checks that your sitemap is working and that Google can find every page that matters. To learn the basics first, read What is SEO?

Frequently Asked Questions About Sitemaps

What is a sitemap in simple terms?

A sitemap is a list of the pages on your website, written in a format search engines can read. It helps Google find and crawl your pages more efficiently.

Does a sitemap help SEO?

A sitemap helps Google discover your pages, which is the first step to appearing in search. It doesn’t guarantee that pages will be indexed or ranked; the pages still need to be helpful and technically sound.

Does Wix create a sitemap automatically?

Yes. Wix, like WordPress, Squarespace and Shopify, creates a sitemap for you automatically.

Where do I find my website’s sitemap?

On many websites it is at your web address followed by /sitemap.xml. It is also often listed on the Sitemap line of your robots.txt file.

How do I submit my sitemap to Google?

Open the Sitemaps report in Google Search Console, enter the full address of your sitemap and click Submit. You only need to do this once.

Do small websites need a sitemap?

Google says small, well-linked sites with about 500 pages or fewer might not need one. But a sitemap is easy to have, rarely hurts and makes it simpler to check which pages Google has found.

Ready to bring your brand to life?

Tell me about your business and what you need, from a full brand and website to one quick fix.

Request info Email ingrid@imillermedia.com