Sitemap XML Generator

Create a valid sitemap.xml file from your URLs with lastmod, changefreq, and priority settings.

URL Input

One URL Per Line
Most sitemap tools accept one URL per line and skip blank lines or invalid entries.

Guidance

Valid XML Sitemap Notes

What a sitemap includes

A valid XML sitemap commonly includes a `` root and URL entries containing a required `` field, with optional fields such as ``, ``, and ``.

Typical workflow

  • Paste or add one URL per line.
  • Generate the XML file and download `sitemap.xml`.
  • Upload it to your site root and reference it in `robots.txt`.

Field meaning

`changefreq` and `priority` are valid sitemap attributes, but at least some tools note that search engines may treat them as weak hints rather than strict directives.

Valid URLs
0
Skipped Lines
0
XML Lines
0
Default Priority
0.8

Generated sitemap.xml

0 characters

About the Sitemap XML Generator

A sitemap.xml is the machine-readable map of your site handed to search engines: every indexable URL with its last-modified date, change frequency, and priority. Crawlers discover pages through links, but links miss things β€” freshly launched pages, deep catalogue items, pages orphaned by redesigns. A sitemap guarantees discovery, and the lastmod values tell Google which pages are worth re-crawling after an update.

This generator assembles a valid XML sitemap from your URL list: paste URLs one per line, set the optional lastmod/changefreq/priority values, and receive protocol-compliant XML with proper escaping. Batch handling keeps you under the 50,000-URL-per-file protocol limit with clear guidance on splitting into a sitemap index beyond that.

The honest context for priorities: Google largely ignores changefreq and priority and focuses on lastmod β€” so the tool keeps those optional and emphasises the parts that matter: complete URL coverage and truthful modification dates.

How to use the Sitemap XML Generator

  1. 1 Paste your URLs into the input, one per line, absolute and canonical.
  2. 2 Optionally set lastmod dates, changefreq, or priority per group of URLs.
  3. 3 Generate; valid XML appears with your URLs escaped and structured correctly.
  4. 4 Download sitemap.xml, upload it to your site root, and submit its URL in Search Console.

Key features

Protocol-compliant XML

Proper urlset schema, escaping, and structure that validates first time.

Batch URLs

Hundreds of URLs per generation, with the 50k limit handled by guidance.

Optional metadata

lastmod encouraged, changefreq/priority available without the noise.

Copy or download

Take the XML as a file or paste-ready text.

Who uses the Sitemap XML Generator?

  • New sites declaring every page before first indexing.
  • Large catalogues ensuring deep product pages are discoverable.
  • Migrations: the new site’s sitemap accelerates re-crawl of moved URLs.
  • Content sites where lastmod dates drive faster re-indexing of updates.
  • Audits: diffing the sitemap against actually-indexed pages to find orphans.

Tips and best practices

  • List canonical URLs only β€” including parameter duplicates wastes the file’s promise of indexable pages.
  • Make lastmod truthful (actual content-update dates); fake-fresh dates get discounted and waste your credibility.
  • Exclude noindex pages, 404s, and redirects β€” a sitemap of junk teaches crawlers to trust yours less.
  • Beyond 50,000 URLs or 50 MB, split into multiple files plus a sitemap index file; the generator flags the threshold.
  • Submit via Search Console and reference the file in robots.txt β€” both channels, one discovery each.

Frequently asked questions

An XML file listing your site’s indexable URLs with optional lastmod, changefreq, and priority β€” submitted to search engines to guarantee page discovery.

Usually yes: it covers orphaned pages, speeds discovery of new content, and communicates update recency β€” cheap insurance for any site over a few pages.

Primarily loc and lastmod; changefreq and priority are largely ignored. Keep the file complete and the dates honest.

50,000 URLs or 50 MB uncompressed, whichever first. Beyond that, split files and wrap them in a sitemap index.

Host at domain root (example.com/sitemap.xml), submit its URL in Google Search Console, and add a Sitemap: line in robots.txt.