In short
Submitting a sitemap means giving its address to Google and Bing in their consoles. It is not mandatory, since the Sitemap: line in robots.txt is enough for it to be discovered, but submitting gives you access to monitoring: date of the last read, number of URLs discovered, errors and indexing rate per sitemap. Once this check is done, every sitemap or index is submitted in both consoles, its status is green, and you know when to resubmit it.
Why it matters
Google and Bing find a sitemap in three ways: the Sitemap: directive in robots.txt, submission in their console, and the API of those consoles. The old anonymous “pings” (a simple HTTP request to a search engine address) no longer work: Bing stopped accepting them, as announced in 2022 because of abuse, and Google announced in 2023 the retirement of its endpoint, now in effect, as its studies showed these submissions mostly served spam.
Submitting in the console provides what robots.txt does not:
- Error feedback. A sitemap that cannot be found, is malformed or is too large is flagged in the report instead of being silently ignored.
- A read date. You know when the search engine last read the file.
- An indexing diagnosis. In Search Console, the indexing report can be filtered by submitted sitemap, which lets you measure the share of useful pages that are actually indexed.
As for generative engines, Bing's index powers Copilot among others, and Bing describes its sitemaps as a way to surface up-to-date content quickly in its generated answers. To our knowledge, no AI assistant (ChatGPT, Claude, Perplexity) offers a sitemap submission interface: for them, robots.txt and page accessibility remain the levers. Submitting guarantees neither that every URL is crawled, nor that it is indexed, nor that it is cited.
What it improves
- Discovery New and updated pages are reported faster, especially on a recent site or one with few external links.
- Diagnosis Parsing errors and indexing rate visible per sitemap.
- Freshness in Bing and its AI answers Bing generally re-reads submitted sitemaps at least once a day. Indirect effect.
- Rankings No direct effect.
How to check
Google. Open the property's Sitemaps report. For each submitted sitemap, check:
| Column | Compliant result |
|---|---|
| Type | “Sitemap” or “Sitemap index” |
| Submitted | Date of your last submission |
| Last read | Recent: a few days at most for an active site |
| Status | Success, with no errors |
| Discovered pages | Close to the number of URLs actually in the file |
A sitemap with the “Couldn't fetch” status could not be downloaded; an error status means the file was read but contains problems (valid URLs are still taken into account). Note that Search Console does not follow redirects for the URL of the sitemap itself.
Bing. Open the Sitemaps page of Bing Webmaster Tools: each submitted file shows its status, the date of the last read and the number of URLs discovered.
Preliminary check. Before any submission, the sitemap URL must return 200 without a redirect, with well-formed XML:
curl -s -o /dev/null -w "%{http_code} %{content_type} %{redirect_url}\n" https://example.com/sitemap.xml
Compliant result: 200 application/xml (or text/xml) and no redirect URL.
How to implement
Before you start
- Verified properties. The site must be verified in Google Search Console (opens in a new tab) and in Bing Webmaster Tools (opens in a new tab). A Search Console domain property covers all subdomains and protocols; see verify the domain property via DNS (opens in a new tab).
- Permissions. In Search Console, only property owners can submit sitemaps. Without this permission, declare the sitemap in robots.txt.
- What to submit. Submit the index if there is one, otherwise each sitemap. The child files of an index are discovered automatically. Sitemaps must already be clean and within the limits: see exclude redirects, errors and noindex pages (opens in a new tab) and stay within 50,000 URLs and 50 MB uncompressed per sitemap (opens in a new tab).
- Robots.txt too. Keep the
Sitemap:line in robots.txt for other search engines and as a safety net: see declare sitemaps in robots.txt (opens in a new tab).
URL to submit by platform:
| Platform | Usual URL |
|---|---|
| WordPress with Yoast SEO or Rank Math | /sitemap_index.xml |
| WordPress without an SEO plugin | /wp-sitemap.xml |
| Shopify, Wix, Squarespace | /sitemap.xml |
| Webflow | /sitemap.xml (auto-generated sitemap enabled) |
Astro with @astrojs/sitemap |
/sitemap-index.xml |
| Next.js | /sitemap.xml, or your index if there is one |
Google Search Console
- Open the Sitemaps report and select the property.
- Under “Add a new sitemap”, enter the path or the full URL (
https://example.com/sitemap_index.xml), then click “Submit”. - Reload the report after a few minutes or a few hours: the row switches to the Success status and shows the discovered pages.
- Click the row, then the link to page indexing, to see how many URLs from this sitemap are indexed and why the others are not.
The sitemap must be within the scope of the property: a URL-prefix property for https://example.com/blog/ does not accept a sitemap placed at the root. Google then re-reads sitemaps at its own pace; resubmit after a major change (redesign, new section, migration). If fetching fails, Google retries for a few days and then stops: fix the problem and resubmit.
Good to know: removing a sitemap from this report only removes it from the display. Google does not forget it, nor the URLs it contained. To get pages out of the index, you need to act on the pages themselves.
Bing Webmaster Tools
- If the site has not been added yet, use the import from Google Search Console on the Bing Webmaster Tools home page: Bing imports the verified sites and their sitemaps.
- Otherwise, open Sitemaps, click “Submit sitemap”, paste the full URL of the sitemap or index and confirm.
- Come back the next day: the last read date and the number of URLs discovered should be filled in.
Bing reads a submitted sitemap shortly after submission, then generally re-reads it at least once a day. To report a specific URL as soon as it is created, updated or deleted, add IndexNow (opens in a new tab), which Bing presents as the complement to sitemaps.
Via the API
Useful for an agency that manages many sites, or to submit a new sitemap automatically after a deployment.
Google. The sitemaps.submit method of the Search Console API is a PUT on https://www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}, with the OAuth scope https://www.googleapis.com/auth/webmasters. For a domain property, siteUrl is sc-domain:example.com. Example in Python with a service account:
# pip install google-api-python-client google-auth
from google.oauth2 import service_account
from googleapiclient.discovery import build
SITE = "sc-domain:example.com"
SITEMAP = "https://example.com/sitemap_index.xml"
credentials = service_account.Credentials.from_service_account_file(
"compte-de-service.json",
scopes=["https://www.googleapis.com/auth/webmasters"],
)
service = build("searchconsole", "v1", credentials=credentials)
service.sitemaps().submit(siteUrl=SITE, feedpath=SITEMAP).execute()
for sitemap in service.sitemaps().list(siteUrl=SITE).execute().get("sitemap", []):
print(sitemap["path"], sitemap.get("lastDownloaded"), "errors:", sitemap.get("errors"), "warnings:", sitemap.get("warnings"))
Setup: enable the Google Search Console API in a Google Cloud project, create a service account and its JSON key, then add the service account's email address in the property's Settings > Users and permissions, with a permission level high enough to submit sitemaps (owner). Keep the key out of the code repository.
Bing. The Bing Webmaster API exposes a sitemap submission method (SubmitFeed), called with an API key generated in the Bing Webmaster Tools settings. Check its signature in the official documentation before automating it; for individual URLs, Bing recommends IndexNow.
WordPress
Versions WordPress 6.0 to 7.1 (native sitemap since 5.5); Yoast SEO 20 and later; Rank Math 1.0.
Do not assume a plugin has submitted the sitemap for you: open the Sitemaps report in each console and, if nothing is listed, submit /sitemap_index.xml (Yoast SEO, Rank Math) or /wp-sitemap.xml (native sitemap) yourself. If you switch SEO plugins, the address changes: remove the old one from the report and from robots.txt, and submit the new one.
Shopify
Versions Shopify, all plans, November 2026.
Submit https://example.com/sitemap.xml for each domain of the store, after verifying the domain in Search Console. A store in private mode (the “Private mode” setting in Online Store > Preferences, the new name for password protection) cannot be read by search engines: submission will fail until the store is open.
Wix
Versions Wix, Premium plans, dashboard as of November 2026.
Wix's SEO setup wizard (Marketing & SEO > SEO > SEO Setup Checklist) connects the site to Google Search Console, which requires a Premium plan and a connected domain; Wix states that the sitemap is then submitted to Google. Check it in the Sitemaps report, and submit /sitemap.xml yourself in Bing Webmaster Tools.
After a redesign
Submit the new sitemaps on launch day, and temporarily keep the sitemap of the old URLs to speed up the discovery of redirects. See submit new sitemaps (opens in a new tab). For a multilingual site, also see submit the sitemaps for each language (opens in a new tab).
Common mistakes
- Submitting a URL that redirects (
http://or withoutwww): Search Console does not follow the sitemap's redirect. - Submitting a sitemap outside the property's scope (root submitted in a subfolder property, different subdomain).
- Submitting the same sitemap every day: pointless, search engines re-read it on their own. Resubmit after a major change.
- Keeping an old ping script in the belief that it notifies search engines: Google and Bing no longer take these requests into account.
- Believing that “Success” means “indexed”: the status says the file was read, not that its pages are indexed. Look at the indexing report filtered by sitemap.
- Forgetting Bing: it is the console most directly tied to Copilot and to the engines that rely on Bing's index.
- Leaving old sitemaps submitted after a plugin or URL change: they stay in error and clutter the report.
Frequently asked questions
Should I submit my sitemap if robots.txt already declares it?
Yes, submit it anyway in Google Search Console and Bing Webmaster Tools. The Sitemap line in robots.txt is enough for search engines to discover it, but only console submission gives access to monitoring: date of the last read, format errors, number of URLs discovered and indexing rate per sitemap. Keep both, as robots.txt also serves the search engines for which you have no console.
How long after submission is the sitemap read?
The delay varies by search engine and by site. Bing says it reads a submitted sitemap quickly, then generally re-reads it at least once a day. Google commits to no timeframe: submission is a hint, and it does not guarantee that the file will be downloaded or used. Keep an eye on the last read column of the Sitemaps report a few days after submitting.
Can I still ping Google or Bing to report a sitemap?
No, anonymous sitemap pings no longer work. Bing stopped accepting them, as announced in 2022 because of abuse, and Google announced in 2023 the retirement of its endpoint, now in effect, after finding that these submissions mostly served spam. Use console or API submission, the Sitemap line in robots.txt and, for Bing and compatible search engines, the IndexNow protocol.
Should I submit my sitemap to ChatGPT or Perplexity?
To our knowledge, ChatGPT, Perplexity and Claude do not offer a sitemap submission interface. Their crawlers explore the web by following links and reading robots.txt, where the Sitemap line remains readable by any crawler that takes it into account. Submit your sitemaps to Google and Bing, allow the AI search crawlers you care about, and make your pages accessible without logging in.
Resources
- Google: Build and submit a sitemapdevelopers.google.com
- Search Console Help: Sitemaps reportsupport.google.com
- Search Console API: sitemaps.submitdevelopers.google.com
- Google Search Central: Sitemaps ping endpoint is going awaydevelopers.google.com
- Bing: Sitemaps in AI-powered searchblogs.bing.com
- Bing: Import sites from Google Search Consoleblogs.bing.com
- Bing Webmaster API: supported protocolslearn.microsoft.com
- Shopify: Finding your store's sitemaphelp.shopify.com
Updated on
Topic checklist (PDF)