Sitemap.xml generator
Paste a list of URLs, get a valid XML sitemap with optional lastmod, changefreq, and priority.
All URLs share the same lastmod (today), changefreq (weekly), and priority (0.8). Switch to Edit per-row to customize.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-06-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-06-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/pricing</loc>
<lastmod>2026-06-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog/getting-started</loc>
<lastmod>2026-06-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-06-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>Upload to your domain root as sitemap.xml, then add Sitemap: https://yourdomain.com/sitemap.xml to robots.txt and submit it via Google Search Console.
Why every site needs a sitemap.xml
A sitemap is a structured list of every URL you want crawled, served at /sitemap.xml. Google can find your pages without one — eventually — but a sitemap accelerates discovery and prioritizes which URLs to crawl on each visit. For new sites it's the difference between Google finding your blog post next week vs. next month.
Most CMSes (WordPress, Webflow, Next.js) auto-generate one. For static sites, custom landing pages, or anything not on a major platform, this generator gives you a valid sitemap from a list of URLs in 30 seconds.
What lastmod / changefreq / priority actually do
- lastmod — the date the page was last meaningfully changed. Crawlers use it to decide whether to re-fetch. Set this honestly: lying makes Google ignore the field on your whole site.
- changefreq — how often the page typically changes. Mostly ignored by modern Google in favor of actual change detection. Bing and Yandex still respect it.
- priority — relative importance, 0.0 to 1.0. Like changefreq, modern Google doesn't weight it heavily. Useful as a hint for first-time crawls.
Pragmatic advice: only lastmod is worth setting carefully. Set changefreq and priority once and forget about them.
How to deploy
- Generate your sitemap above and download it.
- Upload to your domain root —
https://yourdomain.com/sitemap.xml. - Add
Sitemap: https://yourdomain.com/sitemap.xmlto your robots.txt — use our robots.txt analyzer to verify it parses correctly. - Submit the sitemap in Google Search Console (Sitemaps → Add a new sitemap → enter
sitemap.xml). - Repeat the GSC step for Bing Webmaster Tools.
FAQ
How many URLs can a single sitemap contain?
Up to 50,000 URLs per file, and 50 MB uncompressed. Bigger sites split into multiple sitemap files and reference them via a sitemap index file. For most sites, one sitemap.xml is plenty.
Should I include URLs with parameters or filters?
Generally no. Sitemaps should list canonical URLs you want indexed. Filtered, sorted, or paginated URLs (?sort=date, ?page=2) typically shouldn't be in the sitemap — they're noise that dilutes crawl budget.
What happens if I include a URL with noindex on the page?
Google still crawls it (sitemap is a 'please look here' signal) but won't show it in search results because the page itself says no. It's a small waste of crawl budget but not harmful — just don't list pages you really don't want crawled.
Do I need to update the sitemap every time I add a page?
Yes — that's why most sites auto-generate it from their CMS. For static or custom sites, regenerate with this tool whenever you ship significant new pages.
Should I gzip the sitemap?
Optional. For sitemaps over a few hundred KB it's a nice optimization. The .xml.gz extension tells crawlers to expect a compressed file. For most small-to-medium sites, plain XML is fine.
Will Google crawl pages NOT in my sitemap?
Yes. A sitemap is a hint, not a whitelist. Google still discovers pages via internal links, external links, and previously-crawled URLs. Pages absent from your sitemap aren't blocked — they just take longer to discover.
Get the full Web Design Service workspace.
Want this monitored daily across all your projects? Sign up free.