XML Sitemap Generator

Create an XML sitemap from a list of URLs in your browser, or collect links from one live page with a server-side check. Nothing is stored.

URL list and build run in your browser. Collect-from-page uses our server and is not stored.
Updated

1. URL list

One absolute URL per line. Blank lines and duplicates are ignored. All URLs should share one host.

Google mostly ignores changefreq and priority. They stay in the XML for other crawlers. lastmod is the optional field that still helps most.

Collect links from a page

Optional. Fetches one page on our server and lists same-host links (up to 500).

Tick the box to show you are not a robot, then press Collect.

Generated XML

How to use the XML Sitemap Generator

  1. Choose whether you want to paste a list of URLs or collect links from one live page.
  2. Add optional values such as lastmod, changefreq, or priority if you want them in the file.
  3. Generate the sitemap, review the XML, and download the result.

How it works

In list mode, the tool turns each absolute URL into a <url> entry and escapes special characters so the XML stays valid. All URLs must belong to one host, because a sitemap cannot mix domains.

In collect mode, the check runs on our server. The page address is used only for this check and is not stored. The server fetches one page, collects same-host links, and returns up to 500 URLs for the sitemap.

If the final file would go beyond 50,000 URLs or 50 MB, the tool splits the output into several sitemap files and creates a sitemap index.

Examples

  • A short site can generate one sitemap.xml from a pasted list of page URLs.
  • A blog home page can be fetched in collect mode to pull its same-host links into the list before export.
  • A large site can be split into several sitemap files plus one index when the URL count or file size limit is reached.

Limitations

  • Google ignores changefreq and priority. You can include them, but they should not be treated as ranking controls.
  • Collect mode reads one page only. It is not a crawler and it does not follow links across the site.
  • The collected links come from the HTML response. Links added later by JavaScript are not included.

Frequently asked questions

Do all sitemap URLs need to be on the same domain?

Yes. A sitemap file should list URLs from one host. Mixed domains should be split into separate sitemap files.

Should I fill in changefreq and priority?

You can, but search engines may ignore them. lastmod is usually the more useful field when it is accurate.

Does collect mode crawl my whole site?

No. It fetches one page and collects links from that page only.

Often used together with the XML Sitemap Generator.

  • Robots.txt GeneratorDeveloper Tools

    Creates robots.txt rules for search and AI crawlers and tests URLs against them.

  • Sitemap URL Extractor

    Reads sitemap files, follows sitemap indexes, and exports the URL list with lastmod values when available.