✨ Get 25% OFFon any plan. Use the coupon:
Free tool

XML sitemap validator

Paste your sitemap.xml URL and see the type, the URL count, and the errors that stop Google from reading the file. Right in your browser, no sign up.

Quick guide

Everything about the XML sitemap

An XML sitemap is a file that lists your site URLs for search engines. It helps Google discover and crawl your pages faster, especially on large sites, new sites, or sites with few internal links pointing to the content.

What an XML sitemap is

It is a file, usually named sitemap.xml, in XML format. Each entry holds a URL in a <loc> tag and may include extra data such as the last modified date. You submit this file to Google to state which pages exist and deserve to be crawled.

Format: urlset and sitemapindex

  • urlset: the standard URL sitemap. The root is <urlset> and each page sits in <url><loc>...</loc></url>.
  • sitemapindex: an index that points to other sitemaps. The root is <sitemapindex> and each item sits in <sitemap><loc>...</loc></sitemap>.
  • Use the index when you have many sitemaps, for example one per site section or one per language.

Limits: 50,000 URLs and 50 MB

Each sitemap allows at most 50,000 URLs and 50 MB uncompressed. When you pass either limit, split the content into several sitemaps and create a <sitemapindex> pointing to all of them. You can also serve the file gzipped to save bandwidth.

Where to declare the sitemap

  • In robots.txt: add the line Sitemap: https://yoursite.com/sitemap.xml so any search engine finds the file.
  • In Google Search Console: open the Sitemaps report and submit the file URL to track its read status.
  • In Bing Webmaster Tools: the same file works for other engines, so submit it there too.

Common sitemap mistakes

MistakeEffect
URL with http instead of httpsGoogle may ignore the entry or treat it as a different page
Relative URLs in &lt;loc&gt;The sitemap is invalid; each &lt;loc&gt; must be an absolute URL
Over 50,000 URLs or 50 MBThe file is rejected; split into several sitemaps with an index
Malformed XML or missing closing tagThe engine cannot read the file
Sitemap missing from robots.txt and Search ConsoleDiscovery is slower and you miss read errors

A sitemap does not guarantee indexing

The sitemap helps Google discover your pages, but the decision to index depends on the content quality and the technical signals of each URL. Treat the sitemap as an invitation to crawl and handle the rest with canonical tags, useful content and good internal links.

FAQ

XML sitemap questions

Is the validator free?

Yes, free and no sign up. Paste the sitemap URL and get the analysis instantly.

What is the difference between urlset and sitemapindex?

A urlset lists page URLs. A sitemapindex lists other sitemaps and helps organize large sites across several files.

How many URLs fit in a sitemap?

Up to 50,000 URLs and 50 MB uncompressed per file. Above that, split into several sitemaps and use an index.

How do I submit the sitemap to Google?

Declare the URL in robots.txt with a Sitemap: line and submit the file in the Sitemaps report inside Google Search Console.

Do I need to update the sitemap manually?

It is best to generate the sitemap automatically whenever you publish or remove pages, so it reflects the current site with no manual work.

Is my data stored?

The validation runs on demand and the sitemap content is not stored.

Automarticles

Want a blog with its sitemap and technical SEO always in order?

Automarticles builds your full blog, with sitemap, canonical, schema and content optimized for Google and to be cited by AIs like ChatGPT. With no manual work.

Start for free

More free tools

Character CounterCount characters and words, and check each platform's limit.Word CounterCount words, check reading time and see your most used words.Keyword DensitySee your most used terms and the density of each one, in real time.Readability ScoreTest how easy your text is to read, with a 0 to 100 score.Google PreviewSimulate your page's snippet on Google before you publish.Slug GeneratorTurn titles into clean, SEO friendly URLs.Schema GeneratorCreate JSON-LD for FAQ, article, organization or local business in seconds.robots.txt GeneratorBuild your site's robots.txt and copy the result ready to use.UTM BuilderBuild trackable URLs with UTM parameters for your campaigns.SEO ROI CalculatorCalculate leads, revenue, profit, ROI and payback on your SEO investment.llms.txt GeneratorBuild your site's llms.txt so AIs can understand and cite it.SEO Title GeneratorGenerate 8 optimized titles with AI, each at the right length for Google.Meta Description GeneratorCreate 150-160 character meta descriptions with AI, ready for Google.Blog Outline GeneratorBuild a full article structure with AI: H1, H2, H3 and conclusion.Content Idea Generator10 blog ideas with title and angle from your niche, in seconds.FAQ GeneratorGenerate 6 frequently asked questions with AI plus a ready-to-paste FAQPage schema.Text RewriterRewrite and paraphrase any text with AI, in the tone you need.Introduction GeneratorCreate 3 introductions with a hook, context and promise using AI.Article Conclusion GeneratorWrite your article's closing paragraph with AI: summary, takeaway and call to action.Content Brief GeneratorBuild a full SEO brief with AI to guide writers and agencies.Alt Text GeneratorCreate alt text for your images with AI, ready for accessibility and SEO.AI Visibility CheckerSee if ChatGPT knows your brand and how to improve your AI visibility.Meta Tag GeneratorGenerate title, description, Open Graph and Twitter Card ready to paste in the head.Passive Voice CheckerFind the sentences in passive voice and make your writing clear and direct.Headline AnalyzerGet a 0 to 100 score for your headline, plus tips to win more clicks.SEO ChecklistTick off technical, on-page, content and link items and watch your progress.Grammar CheckerFix grammar, spelling and punctuation with AI, without changing the meaning.Article SummarizerTurn long text into a clear AI summary in seconds.Canonical Tag CheckerCheck any page's canonical tag and the most common mistakes.Open Graph CheckerSee a page's OG and Twitter tags and how the link looks when shared.Heading Tag CheckerCheck any page's H1 to H6 hierarchy and the most common mistakes.Broken Link CheckerFind 404s and dead links on any page, internal and external.robots.txt CheckerAnalyze any site's robots.txt and the mistakes that stall Google.Keyword GeneratorKeyword ideas with real search volume, competition and CPC.Keyword Difficulty CheckerSee, from 0 to 100, how hard it is to rank each keyword on Google.SERP CheckerSee who holds Google's Top 10 for any keyword.Image CompressorCompress and convert images in the browser. Nothing is sent to a server.