XML Sitemap Generator

Turn a list of page URLs into a valid sitemap.xml, with accurate last-modified dates, ready to upload and submit.

Put the date a page last changed after its URL (2026-09-30) to add <lastmod>. Columns pasted from a spreadsheet work too.

Only if those pages really changed that day: sitemaps.org says lastmod is when the page changed, not when the sitemap was made, and Google ignores dates that aren't accurate.

URLs
3
With a date
2
File size
359 B

Upload sitemap.xml to your site's root so it opens at https://example.com/sitemap.xml, then submit that address in Google Search Console and Bing Webmaster Tools.

How to use your sitemap

  1. Paste your page URLs, one per line, all on the same site. Add the date each page last changed after its URL if you know it.
  2. Download sitemap.xml and upload it to your site's root, so it opens at https://yourdomain.com/sitemap.xml.
  3. Add the Sitemap: line the tool gives you to robots.txt, and submit the sitemap in Google Search Console and Bing Webmaster Tools.

What the tool checks

  • Every line is a full http(s) address on the same host and protocol as the first one (the sitemaps.org rule).
  • Characters like & and ' are escaped, and addresses with spaces or accents are percent-encoded, so the XML is valid.
  • Duplicate URLs and #fragments are removed; dates must be real dates in YYYY-MM-DD form (a time with a time zone also works).
  • Limits: 50,000 URLs, 50 MB and URLs under 2,048 characters per sitemap.

Only list canonical pages you want indexed. Skip redirects, duplicates and noindex pages.

Sources: the sitemaps.org protocol; Google Search Central, "Build and submit a sitemap" (updated July 2026); Bing Webmaster Blog on lastmod (February 2023). Checked October 2026.

Frequently asked questions

Do I need priority and changefreq?

No. Google says it ignores both, and Bing has said the same, so this tool leaves them out. The tag that matters is lastmod, and only when its date is accurate.

What date should lastmod have?

The date the page's content last changed in a meaningful way, not the day you made the sitemap. Google uses lastmod only when it's consistently accurate, so leave the date off rather than stamping every page with today.

Why must all URLs be on one domain?

A sitemap can only list URLs on the same host and protocol as the sitemap itself: https://example.com/sitemap.xml can't list http:// pages or pages on blog.example.com. Make one sitemap per host.

How many URLs can one sitemap hold?

Up to 50,000 URLs and 50 MB uncompressed. Bigger sites split their URLs into several sitemaps and list them in a sitemap index file.

Does a sitemap guarantee indexing?

No. It helps search engines find your pages and notice changes; they still decide what to crawl and index.

More SEO and creator tools

See all SEO and creator tools →

Can't find the tool you need? Tell us.