The HN Solutions XML Sitemap Generator turns a simple list of page URLs into a valid sitemap.xml file that search engines understand. Paste your URLs one per line, choose optional lastmod, changefreq and priority values, and copy or download a standards-compliant sitemap ready for Google Search Console — all built instantly in your browser.
Why our XML sitemap generator is better
- Valid by design — output follows the official sitemaps.org 0.9 protocol, with URLs properly escaped.
- Cleans your list automatically — duplicates removed, missing https:// added, invalid lines skipped and counted.
- Optional tags done right — add lastmod, changefreq and priority only if you want them.
- Copy or download sitemap.xml in one click — no email walls, no page limits within reason.
- Private — your URL list never leaves your browser.
How to create an XML sitemap
- Paste your page URLs, one per line.
- Pick optional settings like lastmod, change frequency and priority.
- Click Generate, then copy or download sitemap.xml and submit it to Google Search Console.
Frequently asked questions
What is an XML sitemap?
An XML sitemap is a file listing your website’s pages so search engines can discover and index them all, even pages with few internal links.
Where do I upload my sitemap?
Upload it to your site’s root folder so it loads at yoursite.com/sitemap.xml, then submit that URL in Google Search Console under Sitemaps.
Do I need changefreq and priority?
They are optional and Google largely ignores them. The loc and lastmod tags matter most, so it is fine to leave the others unset.
How many URLs can a sitemap contain?
A single sitemap can hold up to 50,000 URLs or 50MB uncompressed. Larger sites should split sitemaps and use a sitemap index file.
Is this sitemap generator free?
Yes, completely free with no sign-up. Everything is generated locally in your browser.
Explore more free utilities in our SEO tools hub and daily tools hub.
What a sitemap does, and what it does not
A sitemap tells search engines which URLs you consider worth crawling. It is a suggestion, not an instruction: listing a page does not guarantee indexing, and omitting one does not prevent it.
It matters most when discovery is hard — a new site with few backlinks, a large site where some pages sit many clicks from the homepage, or content that is poorly interlinked. On a small, well-linked site, Google will find everything anyway. The sitemap is still worth having; it is just not the lever people imagine.
Only include pages you want indexed
This is the most common fault. A sitemap listing pages that are noindex, canonicalised elsewhere, redirected, or returning 404s sends contradictory signals — one part of your site says index this and another says do not.
Leave out tag archives you have noindexed, paginated duplicates, thank-you pages and anything behind a login. A short accurate sitemap beats a long one that needs interpreting.
changefreq and priority are largely ignored
Google has said for years that it does not use priority, and treats changefreq as a weak hint at best. It works out crawl frequency from observed behaviour instead.
lastmod is the one that still carries weight — but only if it is honest. A site that sets every lastmod to today on every rebuild teaches Google to ignore the field entirely. Update it when the content actually changed.
Size limits and index files
A single sitemap may hold up to 50,000 URLs and must be under 50 MB uncompressed. Beyond that, split it and reference the parts from a sitemap index file — which is exactly what WordPress SEO plugins do automatically, giving you separate post, page and category sitemaps under one index.
After you generate it
Upload to the domain root, reference it in robots.txt, and submit it in Search Console — that last step is also how you see which URLs were read and which were rejected, which is the only real feedback available.
If you run WordPress with Rank Math or Yoast, you already have a maintained sitemap and do not need a static one. This tool is for static sites, custom builds and one-off submissions.