What a Google Search Console sitemap does
A sitemap is a file that lists the URLs you want Google to crawl on your site. Most sites use XML format. Each entry can include the date a page last changed so Google knows when to check it again.
Submitting a sitemap helps Googlebot find new and updated pages. It helps most on new sites with few links and on large sites with many pages.
A sitemap is a hint, not a guarantee. Submitting one does not force Google to crawl, index, or rank every URL in the file. Google still decides what to index based on crawl access, canonical signals, and page content.
Checklist before you submit a sitemap
Check your sitemap file before you add a sitemap to Google.
- Use absolute, canonical HTTPS URLs only. Include the full URL, such as
https://sample-outdoors.example/guides/tent-footprint, and list only the canonical version of each page. - Leave out non-indexable URLs. Exclude pages with a
noindextag, pages blocked inrobots.txt, URLs that redirect, and URLs that return a 404 or 5xx error. - Stay within Google's size limits. One sitemap file can hold up to 50,000 URLs and up to 50 MB uncompressed. Larger sites split URLs across multiple files and list them in a sitemap index.
- Match the sitemap host to the property. The sitemap URL must belong to the Search Console property where you submit it.
- Add a
Sitemap:line torobots.txt. PutSitemap: https://sample-outdoors.example/sitemap.xmlinrobots.txtas well so crawlers can find it automatically.
How to submit a sitemap in Google Search Console
Follow these steps to submit a sitemap to Google Search Console.
- Open Google Search Console and sign in with an account that has Owner permission on the site.
- Pick your site in the property selector at the top left.
- In the left menu, select Indexing, then select Sitemaps.
- Type the sitemap URL in the "Add a new sitemap" box.
- Select Submit.
What you enter in step 4 depends on your property type.
- Domain property. For a Domain property such as
sc-domain:sample-outdoors.example, enter the full URL, for examplehttps://sample-outdoors.example/sitemap.xml. - URL-prefix property. For a URL-prefix property such as
https://blog.sample-outdoors.example/, the box already shows the prefix. Type only the path after the slash, such assitemap.xml.
Search Console adds the sitemap to the Submitted sitemaps table. Google queues it for crawling, so the first read may not finish right away.
How to read the Sitemaps report
The Submitted sitemaps table shows seven columns.
| Column | What it shows |
|---|---|
| Sitemap | The URL or path you submitted. Select a row to inspect errors or open child sitemaps inside a sitemap index. |
| Type | The file format Google detected, such as Sitemap, Sitemap index, RSS, Atom, or Unknown. |
| Submitted | The date you last submitted the sitemap. |
| Last read | The date Googlebot last downloaded and parsed the file. |
| Status | The result of Google's last read attempt. |
| Discovered pages | The count of unique web URLs listed in the sitemap, or across all child sitemaps in a sitemap index. |
| Discovered videos | The count of video entries listed in the sitemap. |
The Status column displays one of three states.
- Success. Google fetched and parsed the sitemap with no blocking errors.
- Has errors. Google fetched the file and found problems in the XML or listed URLs. Select the row to read each error.
- Couldn't fetch. Google failed to download the file, or has not completed the first fetch yet.
Discovered pages counts URLs listed in the sitemap, not indexed pages. A sitemap can show 205 discovered pages while fewer appear in Google Search. Open the Page indexing report in Search Console, or select "See page indexing" on a sitemap row, to see indexed counts and exclusion reasons.
How to fix "Couldn't fetch" and other sitemap errors
Check the live sitemap file before you resubmit anything in Search Console.
Fixing "Couldn't fetch"
When Google Search Console shows a "Couldn't fetch" sitemap status, run these checks.
- Open the sitemap URL in a browser. Test it in a private window too. Confirm your server returns HTTP 200 and raw XML, not HTML, a redirect to a login page, or a 404 error.
- Check
robots.txt. Openhttps://sample-outdoors.example/robots.txtand verify noDisallowrule blocks the sitemap URL. - Check logins and firewalls. A sitemap behind HTTP authentication, a staging password, or a strict firewall returns a 401, 403, or challenge page to Googlebot. Allow Googlebot on the sitemap path.
- Check for typos or the wrong property. Confirm the filename,
httpsprotocol, andwwwor subdomain match the property where you submitted it. - Wait on a new submission. A fresh submission can show "Couldn't fetch" briefly while Google queues the first crawl. If the URL returns HTTP 200 and valid XML, wait a day or two before changing anything.
- Resubmit once after a fix. Once you fix a real server or URL error, enter the same sitemap URL and select Submit once.
Fixing "Has errors"
Select the sitemap row in Search Console to see the exact error and line number. Common causes include the following problems.
- Invalid XML. Unclosed tags, stray text before the XML header, or unescaped
&characters break the parser. Use&inside URLs. - Wrong namespaces. The
<urlset>or<sitemapindex>tag must usehttp://www.sitemaps.org/schemas/sitemap/0.9. - Invalid dates. Use valid W3C Datetime values in
<lastmod>, such as2026-09-29. - URLs on another host. A sitemap on
https://sample-outdoors.example/sitemap.xmlcannot list URLs from another domain or an unauthorized host. - Empty or oversized files. A sitemap with zero URLs, more than 50,000 URLs, or more than 50 MB uncompressed triggers an error.
Fix the template or generator that builds the sitemap, verify the XML in a browser, and resubmit once or wait for Google's next read.
Other ways Google finds your sitemap
Add a Sitemap: line to robots.txt using the full URL, such as Sitemap: https://sample-outdoors.example/sitemap.xml. You can add more than one line if you have multiple sitemaps. Google reads robots.txt when it crawls your site and picks up those URLs automatically.
Do not use Google's old sitemap ping URL. Google retired the sitemap ping endpoint in 2023, so requests to google.com/ping?sitemap=... fail and do nothing. Remove ping calls from your deploy scripts or plugins.
Do not resubmit the same sitemap repeatedly in Search Console. Submitting it over and over does not speed up crawling. Google rereads known sitemaps on its own schedule.
Check your sitemaps in ChatGPT or Claude
AI assistants reach outside data through MCP, the Model Context Protocol. An MCP server exposes a small set of tools, and the assistant calls them when your question needs live data.
QuerySail is a hosted Google Search Console MCP server. Its list_sitemaps tool lists every sitemap submitted for one property. It returns the sitemap URL, type, whether it is a sitemap index, whether it is pending, last submitted time, last read time, error and warning counts, and listed URL counts by content type. Pass a sitemap index URL in sitemap_index to list the child sitemaps inside it.
The list_sitemaps tool is read-only. It cannot submit, resubmit, or delete sitemaps, so you still submit sitemaps in Search Console.
Because QuerySail also includes list_properties, inspect_urls, get_performance, and compare_performance, you can check sitemap status, inspect individual URLs, and review clicks and impressions in the same chat.
Connect Search Console
Setup takes a few minutes. There is no Google Cloud project, service account, or API key, and nothing to install.
- Create a QuerySail account. The 7-day free trial needs no card and starts with your first successful report.
- Open Account, then Connections, select Connect Search Console, and approve read-only access on Google's consent screen.
- Add the endpoint
https://mcp.querysail.com/gsc/mcpto your AI app as a custom connector and sign in with your QuerySail account when it asks.
https://mcp.querysail.com/gsc/mcpQuerySail works in ChatGPT, Claude, Codex, Cursor, and VS Code. For exact steps in each app, read the guide to connect Google Search Console to ChatGPT and Claude.
Prompts to check your sitemaps
Run these six prompts in order. The examples use a made-up site, sample-outdoors.example, so replace the property and URLs with yours.
1. Find your Search Console properties
Which Google Search Console properties can you access?
Tool: list_properties
Every Search Console property your connected Google accounts can read, such as sc-domain:sample-outdoors.example and https://blog.sample-outdoors.example/. Use the exact property name in the next prompts.
2. List submitted sitemaps and their status
List the sitemaps submitted for sc-domain:sample-outdoors.example with their status, last read date, errors, warnings, and URL counts.
Tool: list_sitemaps
Every submitted sitemap for that property, whether it is a sitemap index or pending, its last submitted and last read dates, error and warning counts, and listed URL counts by content type.
3. List child sitemaps inside a sitemap index
List the child sitemaps inside https://sample-outdoors.example/sitemap.xml for sc-domain:sample-outdoors.example.
Tool: list_sitemaps with sitemap_index
Each child sitemap inside the sitemap index, with its own last read date, error count, warning count, and listed URL count.
4. Flag sitemaps that need attention
From the sitemaps you just listed, flag any sitemap with errors, warnings, a pending status, or a last read date older than 14 days.
Tool: no tool call
A short list of sitemaps that need attention, built from the results already in the chat.
5. Inspect key URLs for indexing and sitemap discovery
Inspect these URLs on sc-domain:sample-outdoors.example and tell me if they are indexed and which sitemaps list them: https://sample-outdoors.example/guides/tent-footprint, https://sample-outdoors.example/guides/stove-fuel-types, https://sample-outdoors.example/gear/bivy-sack.
Tool: inspect_urls
Whether each URL is on Google, its coverage state, robots.txt and noindex blocking, fetch result, last crawl time, Google-selected and user-declared canonicals, rich results, and the sitemaps and referring pages that list it.
6. Check clicks and impressions for those pages
Show clicks, impressions, CTR, and average position for those three pages over the last 28 days on sc-domain:sample-outdoors.example.
Tool: get_performance
Clicks, impressions, CTR, and average position for each page over the last 28 finalized days, so you can see which indexed pages get search traffic.
Example answer
The table and summary below are made up using the sample site sample-outdoors.example. They show a sample reply after running prompts 2 and 3.
| Sitemap | Type | Sitemap index | Pending | Last submitted | Last read | Errors | Warnings | Listed URLs |
|---|---|---|---|---|---|---|---|---|
| https://sample-outdoors.example/sitemap.xml | Sitemap | Yes | No | 2026-08-14 | 2026-09-29 | 0 | 2 | 205 web |
| https://sample-outdoors.example/sitemap-guides.xml | Sitemap | No | No | 2026-08-14 | 2026-09-29 | 0 | 0 | 120 web |
| https://sample-outdoors.example/sitemap-gear.xml | Sitemap | No | No | 2026-08-14 | 2026-09-29 | 0 | 2 | 85 web |
Made-up summary. On sc-domain:sample-outdoors.example, Google last read https://sample-outdoors.example/sitemap.xml on 2026-09-29. It is a sitemap index, is not pending, has 0 errors and 2 warnings, and lists 205 web URLs. Inside it, sitemap-guides.xml has 120 URLs with 0 errors and 0 warnings, while sitemap-gear.xml has 85 URLs with 0 errors and 2 warnings. Open sitemap-gear.xml in Search Console to see the two warning messages, and inspect priority URLs such as https://sample-outdoors.example/gear/bivy-sack to check indexing.
Limits to know
- Read-only sitemap tool. The
list_sitemapstool cannot submit, resubmit, or delete sitemaps. QuerySail cannot request indexing or change anything in Search Console. - Listed URLs, not indexed URLs. The URL counts from
list_sitemapscount URLs listed in each sitemap, not indexed pages. - Search Console records only. The
list_sitemapstool lists sitemaps Search Console knows about. It does not read or validate the XML file itself and cannot list the URLs inside a sitemap file. - Batch limit on URL Inspection. The
inspect_urlstool checks 1 to 20 full URLs per call, all from one property. It shows the indexed version, not a live test. - One property per call. Each
list_sitemaps,inspect_urlsorget_performancecall reads one Search Console property. To checksc-domain:sample-outdoors.exampleandhttps://blog.sample-outdoors.example/, check them one after the other.