AVAILABLE FOR WEB, FLUTTER & QA PROJECTS

How to use this tool

1. Paste or Fetch XML

Paste raw XML markup or input your live sitemap URL to fetch and validate automatically.

2. Inspect Protocol Checks

Review checks for urlset namespaces, loc elements, ISO 8601 lastmod dates, changefreq, and priorities.

3. Identify Warnings & Errors

Examine detected issues such as duplicate URLs, non-HTTPS protocols, or missing trailing slashes.

4. Export Cleaned XML

Download or copy the sanitized, compliant XML sitemap ready for production deployment.

Formula or logic used

XML Sitemap Protocol & Validation Logic

Sitemaps must adhere to the XML 1.0 schema specification defined by sitemaps.org (Namespace: http://www.sitemaps.org/schemas/sitemap/0.9).

  • URL Limit: Maximum 50,000 URLs per individual sitemap file (use sitemap index if greater).
  • File Size Limit: Maximum 50MB uncompressed file size.
  • Date Formatting: `lastmod` must be formatted in ISO 8601 (YYYY-MM-DD or YYYY-MM-DDThh:mm:ssTZD).
  • Entity Encoding: URLs must escape reserved characters (& as &amp;, ' as &apos;, < as &lt;, etc.).
  • Canonical URLs Only: URLs in sitemaps must return HTTP 200 OK and match canonical tags.

Examples

Example 1: Standard Next.js / Static Sitemap

Input: <?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://faisalrafique.com/</loc><lastmod>2026-03-01</lastmod></url></urlset>
Calculated Result: Status: Valid | 1 URL detected | 0 Warnings | 0 Errors | Schema: sitemaps.org/0.9

Contains clean XML declaration, proper namespace, valid HTTPS location, and compliant ISO date.

Example 2: Broken Date & Unescaped Query Sitemap

Input: <urlset><url><loc>http://example.com/page?cat=1&tag=seo</loc><lastmod>03/01/2026</lastmod></url></urlset>
Calculated Result: Errors: Missing namespace; unescaped '&'; non-ISO date; insecure HTTP protocol.

Google Search Console will reject this sitemap due to XML parsing errors at the raw ampersand.

Common use cases

Pre-deployment Build Audits

Validate dynamically generated Next.js or Nuxt sitemaps before publishing to production.

Google Search Console Error Fixing

Troubleshoot 'Sitemap could not be read' or 'General HTTP error' status warnings in GSC.

CMS Plugin Migration

Verify that Yoast, RankMath, or custom XML generator output complies with search engine specifications.

Large E-Commerce Sitemap Auditing

Audit multi-thousand URL catalog sitemaps for duplicate canonical links and malformed paths.

Technical SEO Tools

Sitemap Splitter

The Sitemap Splitter breaks down oversized URL catalogs or large monolithic sitemaps into clean, standardized ...

Launch Tool โ†’
Technical SEO Tools

Sitemap URL Counter

The Sitemap URL Counter parses XML sitemaps and sitemap indexes, providing instant counts of indexable URLs, c...

Launch Tool โ†’
Technical SEO Tools

Robots.txt Tester

The Robots.txt Tester evaluates website crawling permissions according to the RFC 9309 Robots Exclusion Protoc...

Launch Tool โ†’

Frequently asked questions

What is the maximum number of URLs allowed in an XML sitemap?

A single XML sitemap can contain up to 50,000 URLs and cannot exceed 50MB uncompressed. If your website has more than 50,000 URLs, you must split them into multiple sitemaps and reference them in a master sitemap index file.

Does Google require the changefreq and priority tags in sitemaps?

No. Google's webmaster guidelines have explicitly stated that Googlebot largely ignores `changefreq` and `priority` tags. The most critical tags are `<loc>` and an accurate `<lastmod>` date.

Why should noindexed or redirected pages be excluded from sitemaps?

XML sitemaps should represent a clean directory of your highest-priority, canonical, 200 OK indexable pages. Including 301 redirects, 404s, or noindex URLs wastes crawl budget and sends conflicting signals to search engines.

What date format is accepted in sitemap lastmod tags?

The `lastmod` element must use W3C Datetime format (ISO 8601), such as `YYYY-MM-DD` (e.g. 2026-03-18) or with time `YYYY-MM-DDThh:mm:ss+00:00`.

Blueprint Grid Background
AVAILABLE FOR NEW CONTRACTS & ARCHITECTURAL BUILDS

Let's build something
exceptional together

Work directly with Faisal Rafique to architect and deliver high-performance Next.js 15 platforms, 60fps Flutter mobile applications, and enterprise automated QA testing pipelines.

โœ“Direct Senior Architect Access
โœ“100% Code & IP Ownership
โœ“Milestone-Based Global Delivery