🗺️ Sitemap.xml Generator
Generate a sitemap.xml for your website. Add URLs with lastmod, changefreq, and priority, or paste a list of URLs to bulk-import. Live preview, copy, download sitemap.xml.
About this tool
A sitemap.xml file lists the URLs on your website so search engines like Google and Bing can discover and crawl them efficiently. This generator produces a standards-compliant <urlset> sitemap from a list of pages — each with an optional last-modified date, change frequency hint, and priority value.
Useful when launching a new site, after a content migration, or whenever you want to give crawlers a complete map of your pages without waiting for them to find every link. You can type URLs one by one with per-page metadata, or paste a plain list (one URL per line) via Bulk import.
Example — single page:
- URL:
https://example.com/about, lastmod:2025-01-15, changefreq:monthly, priority:0.7 - Output:
<url><loc>https://example.com/about</loc><lastmod>2025-01-15</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
Example — bulk import: paste https://example.com/ on one line, https://example.com/blog on the next — each becomes a <url> entry using your default changefreq and priority.
FAQ
Where do I put the sitemap.xml file? ›
Upload it to the root of your site so it is reachable at https://yoursite.com/sitemap.xml, then submit the URL in Google Search Console and reference it in robots.txt with a "Sitemap:" line.
Do I need changefreq and priority? ›
No. Google has stated it mostly ignores these hints, treating them as suggestions rather than commands. They are optional and safe to omit — use the default "— (omit)" to produce a cleaner file with just <loc> and <lastmod>.
Is there a limit on how many URLs I can include? ›
A single sitemap.xml can hold up to 50,000 URLs and 50 MB uncompressed. For larger sites you need a sitemap index file that points to multiple sitemaps — generate one file per section.
Can I include images or videos? ›
This generator focuses on the core <urlset> with <loc>, <lastmod>, <changefreq>, and <priority>. For image and video sitemaps, the same <url> element accepts child tags like <image:image> and <video:video> — extend the output manually if you need them.
Should URLs be absolute or relative? ›
Always absolute, including the protocol (https://). The sitemap protocol requires fully-qualified URLs; relative paths like /about will be rejected by search engines.
How do I analyze an existing sitemap? ›
Use the <a href="/sitemap-parser" class="text-accent hover:underline">Sitemap Parser</a> to extract all URLs with metadata, validate structure, and export results to CSV for spreadsheet analysis.