Skip to main content
NeatUtility

XML Sitemap Builder & Validator

Web & API100% Client-Side
Ready
TEXT
0 lines0 chars
0 B
About this tool, examples & FAQ

Generate, format, and audit XML sitemaps locally with zero server transmissions. Create compliant sitemaps.org XML documents from URL lists, configure crawler hints like priority and changefreq, escape URL entities, and export structured JSON models.

Key facts

Verified capabilities and limits of this utility
Schema Protocolsitemaps.org Protocol 0.9 (XML Schema Definition)
Protocol Limits50,000 URLs and 50MB uncompressed file limit per sitemap
Maximum Input100 KB
Execution Deadline2 s

How to use

  1. Paste a list of URLs (one per line), JSON array of links, or an existing XML sitemap.
  2. Choose your operation: Build XML Sitemap, Validate & Analyze, or JSON Representation.
  3. Optionally select your default crawler change frequency, relative priority, or lastmod date.
  4. Click Run (or press Ctrl/Cmd + Enter) to generate the formatted XML sitemap.
  5. Copy or download the resulting XML document as sitemap.xml to upload to your web server.

Example

Generate standard XML sitemap for three web pages

Input

https://example.com/
https://example.com/about
https://example.com/pricing

Example output

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Edge cases

XML Entity Escaping in URLs

URLs containing query parameters with ampersands (`&`), quotes (`"`, `'`), or angle brackets (`<`, `>`) must be XML escaped (`&amp;`) to maintain XML parser validity.

Canonical and Trailing Slashes

Every URL inside a sitemap should represent the exact canonical address. Avoid mixing trailing slashes and non-trailing slashes for identical routes.

Sitemap Index for Over 50,000 URLs

When a website contains more than 50,000 URLs or exceeds 50MB in uncompressed size, search engines require splitting into multiple sitemaps coordinated by a <sitemapindex> file.

How it works

  1. Reads URLs from plain text lines, JSON arrays, or parsed XML inputs.
  2. Validates URL formatting, scheme (http/https), and detects duplicates.
  3. Escapes XML entities in query strings and pathnames safely.
  4. Builds a compliant UTF-8 XML document matching the sitemaps.org 0.9 schema.

Frequently asked questions

Do Google and search engines strictly obey priority and changefreq?

Google has stated that its crawler primarily relies on <loc> and <lastmod> timestamps, while treating <priority> and <changefreq> as optional advisory hints.

How frequently should an XML sitemap be updated?

Whenever new pages are published, significant content is altered, or deprecated URLs are removed. Automated build-time generation ensures current indexing.

Where should an XML sitemap be submitted?

Submit the full sitemap URL directly to Google Search Console and Bing Webmaster Tools, and declare its path at the bottom of your robots.txt file.

References