IndexLaunch

Guide

How to Submit Your Sitemap to Google and Bing

A step-by-step walkthrough of submitting a sitemap in Google Search Console and Bing Webmaster Tools, plus common mistakes.

What a sitemap actually does

A sitemap is an XML file listing every URL you want search engines to know about, usually at yourdomain.com/sitemap.xml. It doesn't force indexing, but it removes the guesswork of discovery — instead of relying purely on internal links, you're handing the crawler a direct list.

Google Search Console

  1. Go to search.google.com/search-console and add your property (domain or URL-prefix — domain properties cover all subdomains and protocols in one go).
  2. Verify ownership — DNS TXT record is the most reliable option for a domain property; an HTML meta tag or file works for a URL-prefix property.
  3. Open Sitemaps in the left sidebar, enter just the path (e.g. sitemap.xml) and click Submit.
  4. Status updates to "Success" once Google fetches it — this can take from minutes to a day. A red error status usually means the file isn't reachable or isn't valid XML.

Bing Webmaster Tools

  1. Go to bing.com/webmasters — you can import a verified Google Search Console property directly, which also verifies it on Bing in the same step.
  2. Open Sitemaps under Configure My Site, and submit the full sitemap URL.
  3. Bing Webmaster Tools also exposes IndexNow submission history in the same dashboard if you've set that up — worth checking alongside the sitemap status.

Common mistakes that make a submitted sitemap useless

  • The sitemap lists URLs that 404, redirect, or are blocked by robots.txt — search engines flag these as errors instead of indexing them.
  • The sitemap is generated once and never updated as new pages are published — it should reflect the site's current state, ideally regenerated automatically.
  • robots.txt doesn't reference the sitemap's location, so crawlers that find the site independently never learn where it is.

Sitemaps vs. IndexNow

A sitemap is a standing list crawlers check on their own schedule; it works for every search engine, including Google. IndexNow is a real-time push instead of a passive list, but only Bing, Yandex, Seznam, and Naver support it. Using both together — sitemap for baseline coverage, IndexNow for instant nudges on what just changed — covers more ground than either alone.

Before you submit: what a valid sitemap looks like

Submitting a broken file only gets you an error status, so check the file first. A minimal XML sitemap looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-10-28</lastmod>
  </url>
  <url>
    <loc>https://example.com/guides/sitemaps/</loc>
    <lastmod>2026-10-30T09:15:00+00:00</lastmod>
  </url>
  <url>
    <loc>https://example.com/search?q=shoes&amp;color=red</loc>
  </url>
</urlset>
A minimal sitemap. Only <loc> is required; <lastmod> is optional but useful when accurate.

Rules that trip people up

  • Absolute URLs only. Each <loc> needs the full protocol and host, and it should be the exact canonical version: same https, same www or non-www, same trailing-slash style.
  • UTF-8 and escaped characters. An unescaped & in a URL makes the XML invalid. Write it as &amp;.
  • Size limits. One sitemap can hold up to 50,000 URLs and 50 MB uncompressed. Beyond that, split it and use a sitemap index.
  • Google ignores priority and changefreq. It does use lastmod, but only when the dates are consistently accurate. A lastmod that changes on every build for every URL teaches Google to ignore it.
  • Only list pages you want indexed. Leave out redirects, 404s, noindexed pages and URLs whose canonical points elsewhere.

Large sites: submitting a sitemap index

Once a site has more than one sitemap, submit a sitemap index instead of each file. The index lists the child sitemaps, and Search Console and Bing Webmaster Tools both read it.

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemaps/pages.xml</loc>
    <lastmod>2026-10-30</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemaps/products-1.xml</loc>
    <lastmod>2026-10-31</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemaps/blog.xml</loc>
    <lastmod>2026-10-29</lastmod>
  </sitemap>
</sitemapindex>
A sitemap index split by content type, so each section's status can be read separately.

Splitting by section (pages, products, blog posts) is more useful than splitting at random. When you later filter the Page indexing report by sitemap, you can see which section is falling behind. Our XML sitemap best practices guide covers structure in more detail.

Reading the Sitemaps report after you submit

In Search Console, Indexing → Sitemaps lists every submitted sitemap with its type, last read date, status and the number of discovered pages. Click a row to see its details.

StatusWhat it usually meansWhat to do
SuccessGoogle fetched and parsed the file.Nothing to fix. Success means the file was read, not that every URL is indexed.
Has errorsThe file was read but some parts couldn't be processed, such as invalid URLs or XML problems.Open the sitemap's details to see the listed errors, fix the generator, then resubmit.
Couldn't fetchGoogle couldn't retrieve the file.Check that the URL returns 200 to an anonymous request and isn't blocked by robots.txt, a login or a firewall. A brand-new submission can also show this briefly before the first fetch.

The Discovered pages count tells you how many URLs Google read from the file. To see how many of those are indexed, open the sitemap's details and choose See page indexing, or go to Indexing → Pages and change the filter at the top from All known pages to All submitted pages or to a specific sitemap.

A large gap between discovered and indexed URLs is a site question, not a sitemap question. The reasons table in the Pages report shows why, and our guides to Discovered - currently not indexed and Crawled - currently not indexed cover the two most common ones.

Following up in Bing Webmaster Tools

Bing's Sitemaps page lists each sitemap with its status, when Bing last read it and how many URLs it found. Use Submit sitemap there to add a new one with its full URL. If you imported the site from Search Console, check this page anyway. Confirm the sitemaps you expect are listed, and add any that are missing.

A few Bing-specific points are worth knowing:

  • Bing also reads the Sitemap: line in robots.txt, so keep it accurate even if you submit through the dashboard.
  • For a handful of important URLs, the URL Submission tool and IndexNow notify Bing directly. Both have limits, so save them for new or changed pages.
  • URL Inspection in Bing Webmaster Tools shows whether a specific URL is indexed by Bing and reports problems it found, much like the Google tool of the same name.

Bing's index also powers several other search and AI products, so a clean sitemap there reaches further than Bing itself. See how to get indexed on Bing fast for the full workflow.

Letting crawlers find the sitemap on their own

Search Console and Bing Webmaster Tools are not the only route. Any crawler that reads your robots.txt also picks up Sitemap: lines, which is how engines you never registered with find it.

User-agent: *
Disallow: /cart/
Disallow: /search

Sitemap: https://example.com/sitemap_index.xml
Sitemap: https://example.com/sitemaps/news.xml
robots.txt with sitemap declarations. Use absolute URLs; you can list more than one.

Google retired its anonymous sitemap ping endpoint in 2023. Requests to the old ping URL no longer trigger a fetch, so scripts that still call it do nothing. Use Search Console submission and the robots.txt line for Google, and IndexNow for engines that support it.

After the first submission you don't need to resubmit when the sitemap changes. Google refetches sitemaps it already knows about. Resubmitting is mainly useful after you fixed an error and want the file read again.

Worked example: a sitemap that kept the old domain

A pre-submission checklist

  1. The sitemap URL returns 200 with an XML content type. Check with curl -sI https://example.com/sitemap.xml.
  2. The XML parses. Running curl -s https://example.com/sitemap.xml | xmllint --noout - prints nothing when the file is well formed.
  3. Every URL is absolute, uses the canonical host and protocol, and returns 200 without redirecting.
  4. No listed URL is blocked by robots.txt or carries a noindex.
  5. lastmod changes only when the page content changes.
  6. The sitemap is regenerated automatically when pages are added or removed.
  7. robots.txt contains a Sitemap: line pointing to the sitemap or sitemap index.

The free sitemap checker runs most of these checks on a live sitemap, and the robots.txt checker confirms the Sitemap: line and blocking rules.

Official references: Learn about sitemaps, Build and submit a sitemap, Sitemaps report, Sitemaps XML protocol.

Want your next page found faster than organic crawling alone?

IndexLaunch sends every URL you submit to multiple search engines the moment you queue it.

No card required · credits never expire

Or run a free indexability check on any page →