A worked example, rendered from real sample data. Sign in to run the tool on your own input.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2024-03-15</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<priority>0.8</priority>
</url>
</urlset>═══ Summary ═══
Document type: URL set (sitemap)
Entries: 2 of 50,000 allowed
Uncompressed size: 0.3 KB of 50 MB allowed
With <lastmod>: 1 (50%)
Unique URLs: 2
✓ No errors found
✓ No warnings
═══ Hosts ═══
https://example.com: 2 URLs
═══ robots.txt ═══
Add this line to robots.txt so crawlers can discover the file:
Sitemap: https://example.com/sitemap.xml
ℹ The URL was guessed from the first host in the file — set the sitemap URL option to pin it.
═══ Notes ═══
✓ Every entry matches the sitemaps.org 0.9 protocol.
ℹ Only the pasted markup was checked. No URL in this sitemap was fetched, so 404s, redirects and robots.txt blocks are not covered.
Validate sitemap.xml structure and check for common issues. Part of the DevTools Surf developer suite. Browse more tools in the Web / Frontend collection.