Generate XML sitemap url blocks — enter one or more page URLs with optional priority, changefreq, and lastmod values to get ready-to-paste sitemap snippets or a complete urlset wrapper.
Use URL blocks to append to an existing sitemap, or full urlset for a standalone sitemap.xml file.
Frequently Asked Questions
What is a sitemap url block?
Each url entry in a sitemap contains a loc (URL) and optional lastmod, changefreq, and priority tags that help search engines understand your pages.
Do I need priority and changefreq?
They are optional. Google largely ignores priority and changefreq, but lastmod can help signal when content was updated.
How do I validate my sitemap?
Paste the full XML into the Sitemap Validator to check structure and URL formatting before submitting to Search Console.
Can I extract URLs from an existing sitemap?
Yes. Use the Sitemap URL Extractor to pull loc values from existing sitemap XML.
Is this tool free and does it work on mobile?
Yes on both counts. The XML Sitemap Snippet Generator on draft21 is completely free with no sign-up required and works on all devices.
Related Tools
Sitemap URL ExtractorExtract URLs from sitemap XML.
Robots.txt GeneratorBuild robots.txt with sitemap directive.
Canonical Tag GeneratorGenerate canonical link tags.
SEO & Website ToolsBrowse all SEO and website tools on draft21.
Redirect Mapping ToolCreate redirect rules for URL migrations.