Smart Sitemap Generator
Generate SEO-friendly XML sitemaps instantly with live preview, URL management, priority configuration, and real-time validation for modern search engine compatibility.
About this tool
A professional XML sitemap generator with a visual URL manager, live syntax-highlighted preview, and real-time SEO scoring. Choose from 7 website presets (Blog, SaaS, eCommerce, Next.js, WordPress and more) or build a custom sitemap from scratch — adding, removing, and configuring each URL's priority, changefreq, and lastmod individually.
Bulk-import URLs by pasting a list, validate against common sitemap errors in real time, and download a production-ready sitemap.xml file. Everything runs in your browser — your website data never leaves your device.
How to use
Choose a preset
Select your website type — Blog, SaaS, eCommerce, Next.js or more — to auto-fill common URL structures with sensible priority and changefreq defaults.
Set your base URL
Enter your domain (e.g. https://yourdomain.com) in Global Settings. All relative paths like /about/ will be combined with it to produce valid absolute URLs in the XML.
Add and configure URLs
Add individual URLs with the Add URL button, or paste a bulk list with Bulk Import. Set priority (0.0–1.0), changefreq, and optional lastmod date for each URL.
Download & deploy
Check the SEO Health Score and Validation panel, then copy the XML or download sitemap.xml. Upload it to your website root and reference it in robots.txt.
Sitemap SEO best practices
Prioritise your homepage
Set your homepage priority to 1.0. It's your most crawled page and sets the reference point for all other priorities on your site.
Use lastmod accurately
Only include a lastmod date if you can reliably track when content changed. Inaccurate lastmod values reduce trust and may cause crawlers to ignore them.
Exclude non-indexable pages
Don't add admin, cart, checkout, login, or API pages to your sitemap. Only include URLs you want appearing in search results.
Reference in robots.txt
Add Sitemap: https://yourdomain.com/sitemap.xml to your robots.txt file so all search engines can find it without manual submission.
Submit to Search Console
After deploying, submit your sitemap in Google Search Console (Sitemaps section) and Bing Webmaster Tools for fastest indexing.
Use sitemap index for scale
If your site has more than 50,000 pages, create multiple sitemap files and reference them from a sitemap index file instead of a single large sitemap.
How it works
URL management engine
Each URL is stored as a structured object with loc, priority, changefreq, and lastmod fields. Changes to any field immediately regenerate the live XML preview using a pure-JS serialiser.
Syntax-highlighted preview
The XML output is rendered line by line with colour-coded spans — XML declaration, urlset tags, URL blocks, loc values, priority numbers, and changefreq strings each get distinct colours for instant readability.
SEO health scoring
The tool evaluates five factors: HTTPS base URL, homepage presence, duplicate-free URLs, lastmod inclusion, and minimum URL count. Each factor contributes up to 25 points for a maximum score of 100.
100% client-side
All URL processing, XML generation, validation, and file creation happens in JavaScript in your browser tab. No data is transmitted to any server — your website structure stays private.
Related tools
Frequently asked questions
Quick answers about this free online tool.
