---
title: "Sitemap could not be read in Search Console: how to fix it"
description: "Why Search Console says your sitemap could not be read or couldn't fetch, the usual causes, and how to check what Googlebot gets for your sitemap."
canonical: "https://seoskill.dev/guides/sitemap-could-not-be-read"
language: "en"
---

Written by AI and Ian NuttallX: 81.8kYouTube: 16.9kLinkedIn: 4.5k

Ian Nuttall

More than 20 years in SEO. Founder of Practical Programmatic, a programmatic SEO course with over 1,000 students, and of URL Monitor, sold for $250,000.

-   [81.8kfollowers on X](https://x.com/iannuttall)
-   [16.9ksubscribers on YouTube](https://www.youtube.com/@inuttall)
-   [4.5kfollowers on LinkedIn](https://www.linkedin.com/in/iannuttall)

AI writes these pages. I plan each one, gather the data from real sources and review the draft before it goes live.

[See my background](https://seoskill.dev/about#ian-nuttall)

# Sitemap could not be read

Search Console shows this when Google could not fetch or parse a sitemap you submitted. The fix is almost always in what your server sends for that one file. Check it the way Googlebot gets it.

## What does a readable sitemap look like?

It is a file Google can find, fetch without a redirect or a block, and parse as valid XML with full URLs. A failure at any step shows as could not be read.

seoskill.dev's sitemap, step by step

1.  200

    seoskill.dev/robots.txt

    Names the sitemap on a Sitemap: line, so Google and SEO Skill know where it is.

2.  200

    seoskill.dev/sitemap.xml

    Answers 200 with Content-Type application/xml, straight away, with no redirect or sign-in.

3.  Valid

    237 page URLs

    Each one a full https:// URL on the same domain, in valid XML.

What the server sends

Readable

```
GET /sitemap.xml
HTTP/2 200
content-type: application/xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
```

What seoskill.dev sends. Google can fetch and parse it.

Could not be read

```
GET /sitemap.xml
HTTP/2 200
content-type: text/html

<!doctype html>
<html><body>Page not found</body></html>
```

A common failure: the app sends its HTML not-found page with a 200 for a file it does not have.

Both answer 200. Only one is a sitemap.

## What usually causes it?

One of these, and the first ones are the most common and the quickest to rule out, so work down the list in order.

### The URL is wrong or missing

The sitemap moved, or you submitted a URL that returns 404 or an HTML page.

### robots.txt or a sign-in blocks it

A Disallow rule, a password or a firewall stops Googlebot fetching the file.

### The XML is broken

An unescaped &, a missing closing tag or text before the XML declaration.

### The server is slow or blocks bots

A timeout, a 5xx or a bot challenge from a CDN or security plugin.

### It redirects

The sitemap URL redirects to another host or to a page that is not the sitemap.

### It is too big

Over 50,000 URLs or 50 MB uncompressed in one file. Split it under a sitemap index.

## How do you check your sitemap the way Google gets it?

With SEO Skill, which reads your sitemaps from robots.txt, or from /sitemap.xml when robots.txt names none, and says which file it could not read and why.

Connect SEO Skill to your agent, then ask:

```prompt
Search Console says our sitemap could not be read. Fetch example.com's robots.txt and every sitemap it lists, tell me what each one returns and why Google might fail to read it, then fix it in our codebase.
```

Or run it in a terminal:

```
seo index --site example.com
```

Its summary lists each sitemap it could not read, with the status or error it got. It follows sitemap indexes and reads gzipped files, and it says when it stopped at a file or URL limit, so a short list is never mistaken for the whole site.

To check one file for broken XML, bad URLs, duplicates and size limits, paste it into the free [sitemap validator](https://seoskill.dev/tools/sitemap-validator). To see whether robots.txt blocks it, use the [robots.txt checker](https://seoskill.dev/tools/robots-txt-validator).

## What do you do after you fix it?

Resubmit the sitemap, then check that Google can use the pages in it.

### Resubmit in Search Console

Open the Sitemaps report and submit the same URL again. The status updates after Google's next fetch.

[

### Check the pages it lists

A readable sitemap full of redirects or noindex pages still sends Google mixed signals.

Page with redirect guide](https://seoskill.dev/guides/page-with-redirect)

## Questions about sitemap could not be read

These are the follow-ups people ask after they see it in Search Console.

### What does "sitemap could not be read" mean?

Google tried to fetch the sitemap you submitted and could not get or parse it. The Sitemaps report also shows this as couldn’t fetch. Google’s help says to check that robots.txt does not block it, that it is valid, and that you submitted the right URL.

### My sitemap opens fine in a browser. Why can’t Google read it?

A browser is not Googlebot. A CDN or security rule may block bots, the file may need a cookie your browser has, or the server may send HTML with the wrong content type. Fetch it from outside your network, as a bot would.

### Does a sitemap that could not be read stop my site being indexed?

Not on its own. Google also finds pages through links. But the sitemap is how you tell Google which pages you want indexed, so new and deep pages can take longer to be found while it fails.

### How long does Search Console take to read a fixed sitemap?

Search Console shows the result of its last fetch. Resubmit the sitemap in the Sitemaps report after you fix it, and the status updates when Google fetches it again.

### Where should my sitemap be listed?

Add a Sitemap: line with the full URL to robots.txt, and submit the same URL in Search Console. If you have several sitemaps, list one sitemap index that names them all.

## What do the other Search Console reasons mean?

Each guide below explains one reason in the Page indexing report, and how to check every URL it covers.

[

### Alternate page with proper canonical tag

A URL names another page as its canonical and Google indexed that one.

Read the guide](https://seoskill.dev/guides/alternate-page-with-proper-canonical-tag)[

### Duplicate without user-selected canonical

Google found copies of a page with no canonical tag and picked one itself.

Read the guide](https://seoskill.dev/guides/duplicate-without-user-selected-canonical)[

### Page with redirect

A URL redirects, so Google indexes where it ends instead.

Read the guide](https://seoskill.dev/guides/page-with-redirect)[

### Excluded by 'noindex' tag

The page or its server told Google not to index it.

Read the guide](https://seoskill.dev/guides/excluded-by-noindex-tag)[

### Soft 404

A page answers 200 but reads like an error or an empty page to Google.

Read the guide](https://seoskill.dev/guides/soft-404)[

### Crawled, currently not indexed

Google fetched the page and chose to leave it out.

Read the guide](https://seoskill.dev/guides/crawled-currently-not-indexed)[

### Discovered, currently not indexed

Google knows the URL and has not crawled it yet.

Read the guide](https://seoskill.dev/guides/discovered-currently-not-indexed)

## Check your sitemap with your agent

Add SEO Skill to your agent, sign in with Google and ask whether Google can read every sitemap on your site.

## Set up SEO Skill

Give this prompt to your AI agent. It installs the `seo` CLI, adds the hosted MCP server, waits while you sign in with Google and checks it connects.

```prompt
Set up SEO Skill in this agent so you can work on my site's SEO with my own Search Console data. Do every step yourself and only stop when you need me.

1. If `seo --version` fails, install the SEO Skill CLI with `npm i -g seo`. If Node.js is missing or too old for it, install the current LTS release of Node.js yourself, such as with Homebrew, winget or nvm, and ask me only when it needs my password or approval.
2. Add the hosted MCP server https://seoskill.dev/mcp to this agent as a remote HTTP MCP server named seoskill, for every project. Use this agent's own command or config file and keep its other servers. If you cannot add MCP servers yourself, find this agent's steps at https://seoskill.dev/integrations and walk me through them.
3. Start this agent's MCP sign-in for seoskill, or tell me how to start it. I sign in with Google, which creates my free seoskill.dev account. Wait until it finishes.
4. Run `seo login`. It prints a link and a code. Show me both and ask me to open the link, sign in with the same Google account and click "Link this machine". Wait until I say it is done, then run `seo login` again to finish.
5. Run `seo skill install` to add the SEO skill.
6. Check that this agent lists seoskill as connected. If it does not, read the error and fix it.
7. Run `seo sites` and ask me which site to start with. If it lists none, tell me the Google account I used needs access to a Search Console property. Its last line shows my plan and how much usage is left: tell me that in a sentence.

When it's connected, tell me what to restart so the seoskill tools load, and give me a message to send afterwards that asks you to run seo_next for the site I picked. After that, use the seoskill MCP tools for my data. Call seo_next for the site I picked and do the step it returns. Use the `seo` CLI only for site crawls and Bing data, which run on my machine. Research such as keywords, competitors, backlinks and AI answers works without my own key: it uses my plan's usage or my free credit. When a tool says I have used 50%, 80% or all of it, tell me in one line and offer the next step it gives, such as moving to the next plan. If a tool fails with USAGE_LIMIT, tell me research is paused and keep going with the free tools. You can pick or change my plan, buy a top-up, set auto-reload or cancel with seo_sites, but only after I say yes to that exact step and price. If it returns a Stripe link, give it to me to pay. Only add a site to the weekly site audit when I ask.
```

There are setup guides for [Claude Code](https://seoskill.dev/integrations/claude-code), [Codex](https://seoskill.dev/integrations/codex), [Cursor](https://seoskill.dev/integrations/cursor) and [every other agent](https://seoskill.dev/integrations).
