XML Sitemap Generator

SEO Tools

Generate a sitemap ready to hand to Search Console.

  • 100% FreeNo hidden charges
  • Stays on Your DeviceNothing is uploaded
  • Easy to UseSimple and quick
  • Any DeviceBrowser, mobile and tablet

Upload sitemap.xml to your site root, then submit it in Google Search Console → Sitemaps.

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

  1. Paste your page URLs, one per line.
  2. Pick optional settings like lastmod, change frequency and priority.
  3. 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.

XML Sitemaps — Get Every Page Found and Indexed

You published the page. You did the keyword research, wrote 2,000 good words, polished the meta tags. Two weeks later, it is nowhere in Google — not ranked badly, just absent. Search Console shows the dreaded status: “Discovered — currently not indexed”, or worse, Google has not found it at all.

An XML sitemap is the cheapest insurance against that limbo. It is a machine-readable list of every URL you want indexed, handed directly to search engines. This guide explains what sitemaps do and do not fix, the format rules that matter (and the two tags Google ignores), the best generator tools, and the submission routine that gets new pages found in hours instead of weeks.

What an XML sitemap actually does

Googlebot discovers pages mainly by following links. That works — eventually — but it fails predictably: new sites with few backlinks, new pages not yet linked from anywhere prominent, deep pages three-plus clicks from home, and big sites where crawl budget runs thin. A sitemap short-circuits all of that by declaring: here is every page I have, and when each last changed.

Each entry supports four tags:

  • <loc> — the full URL. The only required tag.
  • <lastmod> — when the page last changed. Google uses this to prioritise recrawling; keep it honest.
  • <changefreq> and <priority> — Google has publicly said it ignores both. Setting them is harmless tradition; skipping them is fine.

Limits: 50,000 URLs or 50MB per file — beyond that you split files and list them in a sitemap index. Blogs and small business sites will never notice.

Discovery is not indexing — why pages sit in limbo and how to fix it

What a sitemap will and will not fix

It fixes discovery: Google learns your URLs exist, fast. New posts, orphan pages, deep archives — all surfaced.

The HN Solutions XML sitemap generator turning a list of six URLs into valid sitemap XML with changefreq and priority
Six URLs turned into valid sitemap XML, with changefreq and priority, in our sitemap generator. Screenshot taken on HN Solutions.

It does not force indexing. “Discovered — currently not indexed” means Google knows the URL and has chosen to wait, usually a quality or demand judgement. The cure there is better content, stronger internal links (see how our tool pages interlink), and site-level trust — not more sitemap submissions. Knowing which problem you have saves weeks of wrong debugging: not discovered → sitemap and links; discovered but not indexed → content and authority.

Sitemap hygiene rules

  • Only canonical, indexable, 200-status URLs. A sitemap full of redirects, 404s and noindexed pages teaches Google to distrust the whole file.
  • Absolute URLs with the right protocol — https, one hostname, consistent trailing slashes.
  • Escape special characters — ampersands in URLs must be &amp; in XML. (Generators handle this; hand-editing forgets it.)
  • Update lastmod when content genuinely changes — faking freshness site-wide gets the signal ignored.
  • Reference it in robots.txt with a Sitemap: line so every crawler finds it without being told — one click in our robots.txt generator.

Why our sitemap generator is worth a look

  • Paste-and-go: your URL list becomes valid XML in one click — no crawler setup, no account.
  • Cleans as it builds: duplicates removed, protocols fixed, bad lines counted so you know what was skipped.
  • Standards-correct output including character escaping — the silent killer of hand-made sitemaps.
  • Private: your URL list (which can reveal unlaunched pages) never leaves the browser.
Submit to Search Console — the 60-second habit after every launch

How to create and submit a sitemap

  1. Open the XML sitemap generator.
  2. Paste your URLs, one per line — every page you want indexed, nothing you do not.
  3. Leave changefreq and priority unset (Google ignores them) and keep lastmod on.
  4. Generate, then download sitemap.xml and upload it to your site root.
  5. In Google Search Console → Sitemaps, enter the sitemap URL and submit. Do the same in Bing Webmaster Tools — Bing powers more assistants and AI search than people realise.
  6. Add the Sitemap: line to robots.txt, and for high-priority new pages, also use Search Console’s URL Inspection → Request Indexing.

Pro tips: after any site launch or migration, resubmit immediately — it is the fastest recovery lever you have; check the Sitemaps report monthly for “discovered vs indexed” gaps, which flag quality issues early; and keep one sitemap per logical section on bigger sites so problems localise.

Sitemap questions people ask

How fast does Google read a submitted sitemap?

Usually within hours; indexing decisions follow on their own schedule. Submission accelerates discovery, not judgement.

WordPress already makes a sitemap — do I need this tool?

Your plugin sitemap covers CMS content. The generator is for everything else: static pages, landing pages, subdomains, or a curated list you want to submit separately.

Should image and video URLs be included?

Standard page sitemaps list pages; media benefits from dedicated image/video sitemap extensions on media-heavy sites. Most sites never need them.

Does a sitemap improve rankings?

Indirectly: it cannot rank a page that was never indexed. Sitemaps fix the plumbing so your content quality can compete.

What a sitemap can and cannot do

An XML sitemap is sixty seconds of setup that removes an entire failure mode from your SEO. Build one with the free sitemap generator, announce it in robots.txt, and make sure the pages it lists deserve the crawl — the density checker and meta tag generator in our free SEO tools hub handle that part.

Free tools for this

Built here, run in your browser, no sign-up.

How to use XML Sitemap Generator

  1. 1Add the URLs you want included.
  2. 2Set change frequency and priority.
  3. 3Generate the sitemap.
  4. 4Upload it and submit it in Search Console.

Why use our XML Sitemap Generator?

No Upload, No Wait

Everything runs on your own device, so there is no queue and no server round-trip.

Genuinely Private

What you enter never leaves your browser. We could not see it even if we wanted to.

No Registration

No account, no email, no usage limit. Open it and use it.

Works Everywhere

Any modern browser on desktop, tablet or phone. Nothing to install.

Tools that pair with this one

The ones people usually reach for in the same sitting. All free, all in your browser.

Scroll to Top