SmartToolsNest
Developer ToolSEO Tool

XML Sitemap Generator

Build valid XML sitemaps from a list of page URLs with optional metadata.

Valid XML outputURL validationUp to 500 URLs

1. Add detailsStart with the first field; examples appear inside empty fields.

2. See the resultThe preview updates automatically while you type.

3. Copy or downloadReview warnings before using the output.

Start here

Fill the simple fields below. Your result updates instantly.

Your result

Start typing above to see the result.


                        
Checks and warnings
  • Add content to begin.

What is XML Sitemap Generator?

XML Sitemap Generator creates a machine-readable list of canonical URLs that a site wants search engines to discover. It is useful for new sites, large content collections, and migrations, but inclusion is a discovery hint rather than a promise of indexing.

How to use XML Sitemap Generator

  1. 1.Provide canonical, absolute URLs from the same intended website.
  2. 2.Remove redirects, duplicates, blocked pages, and URLs that return errors.
  3. 3.Add accurate last-modified dates only when meaningful page content changed.
  4. 4.Generate the XML, validate it, publish it on the site, and submit its URL in search-console tools.

Key features

  • ✓Escapes URL characters correctly for valid XML output.
  • ✓Optional lastmod values communicate genuine content updates.
  • ✓Duplicate removal prevents the same canonical location appearing repeatedly.
  • ✓Standards-compliant output can be referenced from robots.txt.

Common use cases

  • Build a first sitemap for a newly launched website.
  • Prepare clean canonical URLs after a migration.
  • Create a focused sitemap for tools, articles, or products.
  • Check a URL inventory before submitting it to search engines.

Frequently asked questions

Does a sitemap guarantee indexing?

No. Search engines still evaluate accessibility, canonicalization, quality, duplication, and demand. A sitemap mainly supports discovery and monitoring.

Should redirected URLs be included?

No. List the final canonical 200-status destination instead of redirected, missing, blocked, or noindex URLs.

How often should lastmod change?

Update it only when the page content changed substantially, not on every request or routine crawl.

Where should I submit an XML sitemap?

Publish it on the verified site, reference it in robots.txt if helpful, and submit the sitemap URL in the relevant search-console account.

Developer newsletter

Stay ahead with new tools

Get practical developer guides, new tools, and workflow improvements without inbox noise.