How to submit a sitemap to Google and Bing
Submitting a sitemap takes two minutes in each tool and tells the search engines where your pages are. It does not make them index anything. Here is where the file lives, how to submit it, what the report says afterwards, and what to do when the status is not Success.
By Théophile Louvart, founder of Porteur · Updated 15 September 2026 · Markdown
First, find the file
Almost every platform generates one for you. Try these addresses in a browser before you build anything.
- yourproduct.com/sitemap.xml, the convention and the first thing to try.
- yourproduct.com/sitemap_index.xml, what several CMS plugins produce.
- yourproduct.com/robots.txt, which usually declares the sitemap on a Sitemap: line.
- Your framework's route: a sitemap file in the app for Next.js and Nuxt, an integration for Astro, a plugin for WordPress, automatic on Shopify, Squarespace, Webflow and Ghost.
What you should see is XML listing your URLs, each with a lastmod date. If you see the home page only, or a page of 404s, fix the file before submitting it.
Submit it to Google
Verify the property first
Search Console shows nothing for a site it does not know you own. A Domain property, verified by a DNS record, covers every subdomain and both protocols and is the right default.
Open Sitemaps
In the left menu under Indexing. The box asks for the path after your domain, so type sitemap.xml, not the whole address.
Submit, then leave it
The status is often pending for a few minutes to a few hours. Refreshing does not make Google read it sooner.
Declare it in robots.txt as well
A Sitemap: line with the full URL. It costs nothing and is how every other crawler finds the file.
User-agent: *
Allow: /
Sitemap: https://yourproduct.com/sitemap.xmlSubmit it to Bing, which takes one click
Bing's index answers Bing, Microsoft Copilot, Yahoo Search and part of DuckDuckGo. It is worth the ten minutes, and the setup is shorter than Google's.
Import from Search Console
Bing Webmaster Tools offers a one-click import of a site already verified in Google Search Console, which brings the verification and the sitemaps with it.
Or verify directly
An XML file, a meta tag or a DNS CNAME, if you would rather not connect the two accounts.
Add the sitemap
The Sitemaps section takes the full URL of the file.
Turn on IndexNow for new pages
IndexNow pushes a URL to Bing the moment it changes, and is honoured by Yandex, Naver and Seznam too. Many platforms and CDNs have a switch for it; otherwise it is one API call in your deploy.
What the report tells you afterwards
| Status | What it means | What to do |
|---|---|---|
| Success | The file was read and its URLs were discovered | Nothing. Discovered is not indexed, so read the Page indexing report next |
| Has errors | The file was read and something in it is invalid | Open the details: usually a URL on another host, a bad date format, or malformed XML |
| Couldn't fetch | Google could not get the file | Check it loads in a browser, is not blocked in robots.txt, and returns 200 rather than a redirect chain |
The report also shows the date it was last read and the number of URLs discovered. That count is what Google found in the file, not what it indexed. The gap between the two lives in the Page indexing report.
What belongs in the file, and what does not
- Only canonical URLs. One entry per page, in the form you link to internally.
- Only URLs that answer 200. Redirects, 404s and noindexed pages in a sitemap are a contradiction: you are asking for indexing and refusing it at the same time.
- An accurate lastmod, or none at all. Google reads lastmod when a site is consistently honest about it, and ignores it otherwise.
- Nothing in changefreq or priority. Google ignores both.
- Up to 50,000 URLs or 50 MB uncompressed per file. Past that, split the file and list the parts in a sitemap index.
What a sitemap does not do
A sitemap helps discovery. That is all it does, and it is worth having for exactly that reason.
- It does not make Google index a page. Indexing is a judgement about the page, not about the file that mentioned it.
- It does not rank anything, and no priority value has ever changed a position.
- It does not replace links. A page listed in the sitemap and linked from nowhere is still a page nobody points at, and it ranks accordingly.
- It does not fix a page blocked by robots.txt or carrying a noindex tag. Those beat the sitemap every time.
A finished setup looks like this: one sitemap at a stable address, listing only canonical URLs that answer 200, declared in robots.txt, submitted in both tools, reporting Success, with the count of discovered URLs close to the number of pages you meant to publish.
Questions
Google can find a site without one, through links and its own crawl. Submitting is still worth two minutes: it makes discovery faster for a new site, and the report tells you when the file itself is broken.
Usually minutes to hours for the file itself. The URLs inside it are then crawled on Google's own schedule, which for a new site is days to a few weeks.
Open the URL in a browser. The usual causes are a file that 404s, a redirect chain in front of it, a robots.txt that disallows the path, or a server that refuses requests without a browser user agent.
No. A sitemap is a list of pages you want indexed. Listing a noindexed page sends contradictory signals and wastes crawl; keep the file to canonical, indexable URLs.
No. Google rereads the file on its own. Resubmit after a structural change, such as moving to a sitemap index or changing the file's address, and keep the lastmod dates honest so rereads are useful.
A sitemap is a list crawlers come and read when they choose. IndexNow is a push: you tell Bing and the engines that honour the protocol that a URL changed, the moment it changes. Google does not use IndexNow.
Check my site, free
Paste your URL and the free check reads your sitemap along with the site: the URLs that redirect, the ones that answer nothing, and the pages missing from the file entirely.
- Free check, no card
- Read-only, your own accounts
- Readable by your agent
Read next
- GuideThe Sitemaps report: what Success, Has errors and Couldn’t fetch mean
- GlossaryXML sitemap
- GlossarySitemap index
- GuideHow to verify a site in Google Search Console, and which property to pick
- GuideBing Webmaster Tools for a small site: what it gives that Google does not
- GuideHow to submit a website to Google in 2026 (and why you mostly do not have to)
- Free toolSitemap checker
- ComparisonGoogle Search Console vs Bing Webmaster Tools