XML Sitemap Generator
Turn a list of page URLs into a valid XML sitemap, with lastmod dates, duplicate removal and automatic splitting into a sitemap index.
Tool guide
What this tool does
XML Sitemap Generator converts pasted URLs or paths into a sitemaps.org 0.9 file. It resolves relative paths, removes duplicates and tracking-parameter URLs, adds lastmod dates and splits lists over 50,000 URLs into several files with a sitemap index and a ZIP download.
A sitemap tells search engines which URLs on a site you consider worth crawling and when they last changed. It matters most for large sites, new sites with few external links and pages that are hard to reach through navigation. Many platforms produce one automatically, but static sites, custom builds and migrations often need a sitemap made from a spreadsheet or crawl export.
This generator follows the sitemaps.org protocol: UTF-8 XML, absolute URLs, entity-escaped special characters and a maximum of 50,000 URLs or 50 MB per file. Paste a list (with an optional date after each URL) and it produces a ready-to-upload sitemap.xml, or several files plus a sitemap index when the list is larger. The list never leaves your browser, so unreleased URLs stay private.
How to use XML Sitemap Generator
- Enter the Site URL so that lines beginning with / become full URLs.
- Paste page URLs or paths, one per line; add a date like 2026-10-02 after a tab or comma to set lastmod for that page.
- Choose how Last modified (lastmod) should be filled and whether to include changefreq and priority.
- Keep “Remove duplicate URLs” and “Skip URLs with tracking parameters” on, and pick an Order.
- Check the counts and warnings, then download sitemap.xml, or the ZIP when the list was split into several files.
- Upload the files to the site root and submit the sitemap in Google Search Console and Bing Webmaster Tools, or list it in robots.txt.
Tips for better results
- Only list canonical, indexable URLs that return status 200; redirects, noindex pages and duplicates waste crawl attention.
- Provide lastmod only if it reflects real content changes. Google stops trusting dates that change on every build.
- Add a “Sitemap:” line to robots.txt so every search engine can find the file without manual submission.
- For very large sites, split sitemaps by section (products, articles) so Search Console reports show coverage per area.
Common use cases
- Creating a sitemap for a hand-built or static HTML site.
- Building a sitemap from a crawl export or spreadsheet during a site migration.
- Submitting a temporary sitemap of new or changed URLs to speed up recrawling after a redesign.
- Splitting a 120,000-product catalogue into three files with an index.
Common mistakes to avoid
- Listing URLs from another domain or subdomain; a sitemap should normally only contain URLs from the host it lives on.
- Including URLs with session IDs, filters or utm_ parameters that duplicate a clean URL.
- Expecting a sitemap to force indexing: it is a hint for discovery, not a guarantee of inclusion.
- Forgetting to update the sitemap after deleting pages, which leaves 404 URLs in the file.
Frequently asked questions
Does Google use changefreq and priority?
No. Google has said it ignores both values. It uses lastmod when the dates are consistently accurate. The options are kept because some other crawlers and internal tools still read them.
How many URLs can one sitemap contain?
Up to 50,000 URLs and 50 MB uncompressed. Larger lists must be split into several sitemaps that are listed in a sitemap index file, which this tool creates automatically.
What date format does lastmod use?
W3C Datetime, a profile of ISO 8601. A plain date such as 2026-10-02 is valid, as is a full timestamp with a time zone like 2026-10-02T14:30:00+01:00.
Why were some lines skipped?
Lines that are not http or https URLs, paths without a Site URL, and URLs containing spaces cannot be placed in a sitemap. URLs with tracking parameters are also left out when that option is on.
Feedback & suggestions
Help us improve XML Sitemap Generator. We read every message.