Sitemap.xml Generator
Generate a valid XML sitemap with multiple URLs, priorities, and change frequency.
About this tool
Sitemap Generator creates a well-formed XML sitemap that you can submit to Google Search Console and Bing Webmaster Tools. Add as many URLs as you need, set the change frequency (daily, weekly, monthly) and priority (0.1–1.0) for each entry, and optionally include a last-modified date. The live output validates against the Sitemap Protocol 0.9 format. When done, copy the XML or download it as sitemap.xml ready to upload to your site root.
How to use
- Click 'Add URL' and fill in the URL, change frequency, priority, and last-modified date.
- Add all the pages you want indexed and adjust per-page settings as needed.
- Copy the generated XML or download sitemap.xml and upload it to your site root.
Related Tools
Generate HTML meta tags including OpenGraph and Twitter Card markup.
Build a valid robots.txt file with allow, disallow, and sitemap rules.
Fetch any URL and verify the canonical tag — detect self-referential and cross-domain canonicals.
FAQ
How do I submit my sitemap to Google?
Go to Google Search Console, open your property, navigate to Sitemaps, and enter the full URL of your sitemap (e.g. https://example.com/sitemap.xml). Google will fetch and process it, typically within a few days.
What should the priority value be?
Priority is a hint to crawlers about the relative importance of pages within your site on a scale from 0.0 to 1.0. The homepage is typically 1.0. Main category pages 0.8, sub-pages 0.5–0.6, and less important pages 0.3. Priority does not influence ranking — it only suggests crawl priority.
How often should I update my sitemap?
Update your sitemap every time you publish new content, change URLs, or remove pages. For large sites with frequent updates, use a sitemap index file to split entries across multiple sitemap files (max 50,000 URLs or 50 MB per file).
Do I need to list every page in my sitemap?
No. Include only the canonical, indexable pages you want in search results — skip redirects, noindex pages, duplicate URLs, and admin/system paths. Quality over quantity reduces crawl budget waste.
What is the lastmod field for?
The lastmod tag tells search engines when the page content was last changed. Use the ISO 8601 date format (YYYY-MM-DD). Accurate lastmod values help crawlers prioritise recently updated content, but inflating the date artificially may cause trust issues with Google.