Dev
Mock Sitemap XML Generator
Used by developers, writers, and creators worldwide.
A mock sitemap XML generator produces example XML sitemaps for learning, testing, and documentation. A sitemap lists a site's pages to help search engines discover and crawl them, using a specific XML format of url entries with a location, change frequency, and priority. This tool emits a valid sitemap with several URLs and their metadata. Click generate and copy it into a file or a tutorial. It is ideal for learning the sitemap format, documenting site structure, and testing a parser. The XML follows the sitemaps.org schema, so it shows how each url entry is structured with a loc, changefreq, and priority. A real sitemap should list your actual pages and be kept up to date, and is usually referenced from robots.txt and submitted to search consoles. Adapt the domain and paths to your own site, and generate the real sitemap from your pages rather than by hand.
Loading usage…
Free forever — no account required
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 is an XML sitemap
An XML sitemap lists a website's pages to help search engines discover and crawl them. Each entry includes the page URL and optional metadata like how often it changes and its relative priority, following the sitemaps.org schema.
what do changefreq and priority do
They are hints to crawlers — changefreq suggests how often a page updates, and priority indicates its relative importance on your site. Search engines treat them as suggestions rather than rules, so accuracy helps but is not strictly enforced.
how should i generate a real sitemap
From your actual pages, kept up to date as the site changes — most frameworks and CMSs can produce one automatically. Reference it from robots.txt and submit it to search consoles. Hand-writing a sitemap is error-prone for a real site.