Sitemap Generator
Build a valid sitemap.xml for search engines. Bulk-add or drag-and-drop URLs, validate URL formats, enforce a single host, attach images, and download β all in your browser. Smart health score, easy & advanced modes, and auto-save included.
Smart Sitemap Generator
Sitemap Details
How to Use the Sitemap Generator
- Start in Easy Mode β paste your site URL and pages, then hit Generate. Validation, deduplication and single-host enforcement run automatically.
- Watch the Sitemap Health score β it updates live and highlights anything that could block generation.
- Switch to Advanced Mode for per-URL priority, changefreq, lastmod, image sitemaps, sitemap index, bulk import and XML options.
- Bulk-add or drag files β
.txt,.csvand.xmlsitemaps are supported. XML files have their<loc>URLs extracted automatically. - Fix or remove any row flagged as invalid or foreign, then Generate.
- Drafts auto-save in this browser; use the Clear button to wipe both fields and the saved draft.
Easy Mode vs Advanced Mode
Easy Mode exposes only what beginners need and applies smart defaults (weekly / 0.8). Advanced Mode unlocks everything the original tool offered, including the sitemap index, image extension and XML declaration toggle. Your choice is remembered on this browser.
Bulk pipe format
Each line can carry per-URL overrides: url | priority | changefreq | YYYY-MM-DD | image_url | image_caption. Any field may be left blank to fall back to the defaults. Lines starting with # are ignored.
Image sitemaps
Enable Image sitemap extension to emit image:image blocks with image:loc, image:title and image:caption. Google requires the image URL to be on the same site (or a domain verified in Search Console), but this tool only validates URL format β different-host images are permitted because CDNs are common.
Sitemap limits you should know
A single sitemap file may contain up to 50,000 URLs and must not exceed 50 MB uncompressed. Each <loc> must be shorter than 2,048 characters. When you exceed the URL limit, the tool switches to sitemap index mode and generates multiple sitemap files plus an index.
Single-host enforcement
The sitemap protocol requires every <loc> to share one host. This tool blocks generation if any URL belongs to a different host than your Site URL, and lets you remove those rows. Hosts are compared exactly β www.example.com and example.com are different.
changefreq and priority
Google has publicly stated it ignores changefreq and priority. They remain part of the protocol and are included, but they are not a ranking signal. Accurate lastmod is the field search engines can actually use β which is why this tool never invents a date for you.
Where to submit your sitemap
Upload sitemap.xml (and any index parts) to your site root, then submit the URL in Google Search Console and Bing Webmaster Tools. You can also reference it from robots.txt with a line like Sitemap: https://example.com/sitemap.xml.
Is my data uploaded?
No. Your URL list, images and options are processed entirely in your browser. Drafts are saved to this browser's localStorage only β nothing is sent to a server.
Frequently Asked Questions
<loc> to be on the same host as the sitemap file itself. Cross-host URLs are typically ignored.<lastmod>?It is optional, but a truthful lastmod helps crawlers prioritise re-crawls. This tool deliberately does not auto-fill today's date β you must supply the real modification date yourself.