---
title: "XML Sitemap Validator: Free Sitemap Tester"
description: "XML sitemap validator: paste, upload or fetch a sitemap and get every error with its line number. Namespaces, URLs, lastmod, duplicates, limits, gzip."
canonical: "https://browser-use.com/tools/sitemap-validator"
last_updated: "2026-11-16"
---

# XML Sitemap Validator: Free Sitemap Tester

## Free XML Sitemap Validator

Validate an XML sitemap against sitemaps.org and Google's rules. Every problem with its line number, as a list or CSV.

## How it works

### Paste, open or fetch

Paste XML, open a .xml, .xml.gz or .txt file, or fetch a sitemap URL. Pasted text and files stay in your browser.

### Check every entry

XML syntax, namespace, each loc, lastmod, changefreq and priority, duplicates, image, video, news and hreflang tags, and the 50,000 URL and 50 MB limits.

### Fix by line

Each problem shows its line and the bad value. Download them as CSV.

### What makes a sitemap invalid?

XML that does not parse (for example an unescaped &), a missing or wrong namespace, relative URLs, lastmod not in W3C Datetime format, or more than 50,000 URLs or 50 MB uncompressed in one file. Files must be UTF-8.

Source: [sitemaps.org protocol](https://www.sitemaps.org/protocol.html) · [Google: build a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)

### Do changefreq and priority matter?

Not for Google: it ignores both. It uses lastmod when the dates are consistently accurate.

Source: [Google: build a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#additional-notes-about-xml-sitemaps)

### Which formats are checked?

XML sitemaps and sitemap indexes, text sitemaps (one URL per line), RSS 2.0 and Atom 1.0 feeds, and Google's image, video, news and hreflang (xhtml:link) extensions.

Source: [Google: sitemap formats](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#sitemapformat) · [Google: large sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps)

## Need what is on those pages?

Browser Use agents open each URL, including dynamic and logged-in pages, and return structured data.

[See AI web scraping](https://browser-use.com/web-scraping)

SourcePaste or open a fileFetch a sitemap URL

Sitemap XML or text<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"> <url> <loc>https://example.com/</loc> <lastmod>2026-11-02</lastmod> </url> <url> <loc>https://example.com/shop?color=red&amp;size=m</loc> <lastmod>2026-11-16 10:00</lastmod> </url> <url> <loc>/about</loc> <changefreq>Daily</changefreq> <priority>1.5</priority> </url> <url> <loc>https://example.com/blog/</loc> <image:image><image:loc>https://example.com/cover.jpg</image:loc></image:image> </url> <url> <loc>https://example.com/blog</loc> </url> </urlset>

Open fileLoad exampleClear

Checked in your browser. Nothing is uploaded.

## Invalid: 2 errors

URL sitemap · 5 URLs · 687 B · 25 lines · newest lastmod 2026-11-02

-   Same-host check skipped: pasted text has no address. Fetch the URL to run it.
-   Extensions: Image.

### 2 errors · 3 warnings

CopyDownload

1.  L10Error: Not a W3C Datetime. Use 2026-11-16 or 2026-11-16T10:00:00+00:00 (a time needs a timezone).2026-11-16 10:00
2.  L13Error: Relative URL. sitemaps.org requires a full URL starting with http:// or https://./about
3.  L14Warning: Not a changefreq value. Use one of always, hourly, daily, weekly, monthly, yearly, never (lowercase, no spaces).Daily
4.  L14Info: Google ignores changefreq and priority.
5.  L15Warning: Priority must be from 0.0 to 1.0.1.5
6.  L22Warning: Same as line 18 except for a trailing slash or #fragment. List one version.https://example.com/blog

---

BROWSER USE

- Browser Use Agents: give Browser Use a task and receive completed work. API V4 is current for new integrations.
- Browser Infrastructure: connect your agent or automation to managed browsers through SDK, REST, or CDP. Starts at $0.06/browser-hour.
- Developer tools: Open Source, Browser Harness, SDK, and MCP support the two products above.

[Developer Index](https://browser-use.com/index.md)
[Product Map](https://browser-use.com/llms.txt)
[Full Product Context](https://browser-use.com/llms-full.txt)
[Pricing](https://browser-use.com/pricing.md)
[Cloud Docs](https://docs.browser-use.com/cloud/quickstart)
[Open Source Docs](https://docs.browser-use.com/open-source/introduction)
