NHRepon
Home
Services
All ServicesWeb Application DevelopmentMobile Application DevelopmentDigital Marketing and SEO
ProjectsToolsProductsPostsAboutContactLogin
HomeServicesProjectsToolsProductsPostsAboutContact
  • Home
  • Projects
  • Posts
Home/Tools/SEO Tools/XML Sitemap Generator
All Tools

XML Sitemap Generator

Build a valid sitemap.xml from your list of URLs, with lastmod, changefreq and priority, and optionally split it into a sitemap index across several files.

With this filled in you can paste relative paths such as /about and they resolve against it. Without it, every line must be a full URL.

0 valid URLs

Leave it off if the dates would be invented; a wrong lastmod is worse than none.

Search engines largely ignore this hint now, so omitting it is a defensible choice.

Paste your URLs above and the sitemap is built as you type. Nothing is crawled and nothing is uploaded — this assembles the file from the list you give it.

What belongs in a sitemap, and what does not

A sitemap is a list of the URLs you want crawled, in a format search engines agree on. It supplements the links a crawler discovers by following; it does not replace them, and a URL in a sitemap is not a request to index it, nor a promise that it will be. What it genuinely helps with is discovery of pages that are hard to reach by links — deep archives, paginated sections, pages generated from a database — and providing a lastmod value that tells a crawler which pages actually changed.

Three field limits matter in practice. A sitemap may contain at most 50,000 URLs and be at most 50 MB uncompressed, which is what the split-into-a-sitemap-index option is for. Only canonical URLs belong in it: listing both a page and its trailing-slash variant, or both http and https, is a way of asking a crawler to treat two addresses as two pages when they are one. And the file needs to be reachable — a sitemap mentioned in robots.txt but returning a redirect or a 404 does nothing at all.

The optional fields are where most sitemaps quietly go wrong. Priority is a relative hint about your own pages only, not a ranking factor, and it has no effect on how a page ranks against another site. Changefreq is a hint that crawlers stopped trusting years ago. lastmod is the one field that still does real work — and it only does work if it is truthful, which is why setting it to the build date on every page, or to today on a page nobody touched, teaches a crawler to ignore your dates entirely.

What does an XML sitemap generator do?

An XML sitemap generator turns a list of URLs into a sitemap.xml file that follows the format search engines agreed on. Each URL becomes a url element with a loc child holding the address, and optionally three further hints: lastmod, the date the page last changed; changefreq, how often it tends to change; and priority, how important it is relative to your other pages. The file is then either saved at your site root or referenced from robots.txt.

The output is built from the list you provide rather than by crawling, which is the honest limitation and also the useful property. Nothing is fetched, so relative paths can be resolved against a site address you type, duplicates are removed as you go, and the tool flags the two commonest mistakes immediately: a URL that is neither absolute nor resolvable, and an address served over plain http where https would do.

For sites larger than a single file it also produces a sitemap index. The format allows at most 50,000 URLs and 50 MB per file, so a sitemap index is a second document that lists the members — one for each chunk — and that single file is the one you submit. The tool splits the list at whatever size you choose, writes each chunk as its own sitemap and builds the index around them, so all of the files can be downloaded in one go.

How to generate a sitemap.xml

  1. Enter your site address, such as https://example.com, if you want to paste relative paths rather than full URLs.
  2. Paste your URLs, one per line. Duplicates are removed, and anything that is neither an absolute URL nor resolvable against the site address is listed as skipped.
  3. Decide on lastmod. A truthful date is the only optional field that still does real work in a sitemap, so leave it off if the dates would be invented.
  4. Set changefreq and priority only if you want them. Modern crawlers ignore both, so omitting them is a defensible choice rather than a gap.
  5. Tick Sitemap index and choose a chunk size if the list is large or likely to grow past 50,000 URLs.
  6. Copy the XML or download every generated file, upload the sitemap to your site root, and reference it from robots.txt or submit it directly in Search Console.

XML Sitemap Generator limits and rules

Limits, caps and standards referenced by this tool
ItemLimit
URLs per sitemap50,000, per the published protocol
Uncompressed size50 MB per file, which is why a sitemap index exists
Optional fieldslastmod, changefreq and priority, each included only when you ask for it
Duplicate handlingRepeated URLs are dropped so each address appears once
Relative pathsResolved against the site address when one is given
WarningsURLs that cannot be resolved, and any that use plain http
Not crawledNothing is fetched; the sitemap is assembled from the list you paste
Not hostedYou upload the file to your own site; nothing is stored here

When to use it

  • Producing a first sitemap for a small site without installing a plugin or a build step.
  • Generating a sitemap index for a catalogue or archive that runs past 50,000 URLs.
  • Rebuilding a sitemap after a migration, when the URL list already exists in a spreadsheet.
  • Setting a single truthful lastmod across a batch of pages that genuinely changed together.
  • Checking whether a URL list is clean — duplicates, malformed entries and plain-http addresses all show up immediately.

Is it private?

Nothing is captured and nothing is uploaded. The sitemap is assembled in this page from the list you paste, so an unreleased site structure or a list of staging URLs never leaves your browser. The download is a file created locally and saved by your own browser.

Frequently asked questions

It depends on the site. For a small site whose pages are all linked from the home page or a menu, a crawler will find everything by following links and a sitemap adds little. It earns its place when pages are hard to reach that way: a deep archive, paginated sections, a catalogue generated from a database, or a site with millions of pages. It is also the cleanest way to declare a lastmod across a whole site, which is the field crawlers still genuinely use. Always keep a sitemap that names pages returning 404 or redirects, though — that costs you the same trust it buys.

Mostly no. Priority is a hint about your own pages relative to each other, not a ranking factor and not a comparison against other sites, and search engines have said plainly that they ignore it. Changefreq is a guess you make on the crawler's behalf, and crawlers stopped trusting such guesses a long time ago because so many sites declared daily on pages that never changed. Including them does no harm but achieves nothing. lastmod is the exception: it is the one optional field that still affects crawl scheduling, and only when it is accurate.

To the date the content of a page last meaningfully changed — not the date the template or the build changed, and certainly not today for every page. A build timestamp is the single most common way to make lastmod useless: if all fifty thousand URLs claim to have changed this morning, the crawler learns that the dates say nothing about your site and starts ignoring them. Our guidance is to set it from the page's own revision date if your site knows it, and to omit the field entirely if it does not.

It is a second sitemap file whose entries point at other sitemaps rather than at pages. The protocol caps a sitemap at 50,000 URLs and 50 MB uncompressed, so a large site is split into several member files and an index is submitted in their place. Search engines support this natively and nested indexes are permitted, though one level is enough for almost every site. Tick the sitemap index option here and the tool writes the members and the index around them.

Name it sitemap.xml and place it at the site root, so it answers at https://example.com/sitemap.xml, then declare it in robots.txt with a Sitemap line giving the full address. That is enough for most search engines to find it, and you can also submit it directly in each engine's webmaster console to see how many URLs were accepted. Note that a sitemap mentioned in robots.txt but returning a redirect, a 403 or a 404 does nothing at all, so check that it is reachable after uploading.

No, and nor should trailing-slash variants, or a page and its printer-friendly twin. A sitemap is a list of canonical addresses: listing two addresses for one page asks a crawler to treat them as two pages, which is exactly the duplication the canonical tag exists to prevent. The tool flags plain http entries for this reason. Pick the scheme, pick whether trailing slashes are used, make sure the page's own canonical tag agrees, and list each address once.

Related tools

  • Robots.txt Generator
  • robots.txt Tester
  • Redirect Checker
  • Meta Tag Generator
  • SEO Audit

Written and maintained by Md. Nur Hossain Repon.

NHRepon


Md. Nur Hossain Repon expert in NextJS, React, React Native and Flutter. He is a full-stack web and mobile application developer with 5+ years of experience and a passion for building innovative and robust application. Also, he has a strong background in developing high-quality web and mobile applications using the latest technologies and frameworks.
Let's build something amazing together 🚀

Quick Links


  • About
  • Projects
  • Services
  • Contact
  • Posts
  • Products
  • Privacy Policy
  • Terms of Service
  • Tools
  • Smart Life Hubs

Newsletter


We respect your privacy. Unsubscribe anytime.

Connect


© 2026 NHRepon. All rights reserved.

Build v1.5.4+56.73c4a90