Dev
Mock Sitemap XML Generator
An XML sitemap helps search engines discover and crawl your pages, but the sitemaps.org schema has specific requirements — the urlset namespace, a loc element per URL, and optional changefreq and priority elements — that are easy to get wrong from memory. This tool generates a sample sitemap.xml with five URL entries using a randomly selected example domain. There are no inputs. The generated sitemap always covers five paths: /, /about, /products, /blog, and /contact. Each url entry includes loc (the full https:// URL), changefreq (daily, weekly, or monthly, randomised per URL), and priority (1.0 for the homepage, 0.3–0.9 for other pages, rounded to one decimal place). Copy the output into a file to test your XML parser, learn the sitemap structure, or use it as a template you fill with real URLs. For a production sitemap, generate it from your actual pages using your framework or CMS — hand-maintaining a sitemap as a site grows leads to stale or missing URLs. Submit the final sitemap via robots.txt and Google Search Console.
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Click Generate to produce a sitemap.
- Copy the XML into a file.
- Adapt the domain and paths.
- Generate the real sitemap from your pages.
Use Cases
- •Learning the XML sitemap format
- •Documenting site structure
- •Testing a sitemap parser
- •Seeding an example sitemap
- •Demoing SEO setup
Tips
- →Follow the sitemaps.org schema.
- →changefreq and priority are hints.
- →Reference the sitemap from robots.txt.
- →Keep a real sitemap up to date.
FAQ
what does the generated sitemap include
A valid XML sitemap with the sitemaps.org/0.9 urlset namespace and five url entries for /, /about, /products, /blog, and /contact on a randomly selected example domain. Each entry has loc, changefreq (randomised), and priority (1.0 for the root, randomised 0.3–0.9 for others).
what do changefreq and priority actually do
They are hints to search engine crawlers, not enforced rules. changefreq suggests how often a page is likely to change; priority indicates its relative importance within the site (on a 0.0–1.0 scale). Google and Bing treat them as advisory — they may crawl pages more or less often based on their own signals.
how many URLs can a single sitemap file contain
A single sitemap file is limited to 50,000 URLs and 50 MB uncompressed. For larger sites, split URLs across multiple sitemap files and reference them all from a sitemap index file. The generator produces a small example sitemap for learning and testing, not for large-scale production use.
how should I generate a real production sitemap
Use your framework's built-in sitemap generation or a plugin — most CMSs and web frameworks have them. Generating from your actual routing or database ensures all pages are included and the sitemap stays up to date as content changes. Hand-writing a sitemap as a site grows leads to stale or missing entries.
You might also like
Popular tools from other categories that share themes with this one.
Try these next
More free tools from other corners of the catalog, picked by shared themes.