XML Sitemap Generator
Paste your page URLs — one per line, optionally followed by the last-modified date — and get a valid sitemap.xml. URLs are encoded and XML-escaped, duplicates removed, and lists over 50,000 URLs are split into several files with a sitemap index.
URL,date lines — both columns are read.Tell crawlers where your sitemap is Robots.txt Generator →What Is an XML Sitemap?
A file that lists the URLs on your site so search engines can find them.
An XML sitemap is a file — usually /sitemap.xml — that lists the pages you want search engines to crawl, optionally with the date each page last changed (lastmod). It's especially useful for new sites, large sites and pages that aren't well linked internally.
This generator follows the sitemaps.org protocol used by Google, Bing and others. Each URL is checked, encoded (spaces and non-English characters become %XX) and XML-escaped (& becomes &), so the file is always valid XML.
Input format. One URL per line. A date may follow after a space, tab or comma: https://example.com/about 2026-09-14. Dates can be YYYY-MM-DD or a full timestamp with a time zone such as 2026-09-14T10:30:00+05:30. Lines starting with # are ignored, and lines starting with / use the Base URL.
Limits. One sitemap may hold at most 50,000 URLs and 50 MB. Longer lists are split automatically into sitemap-1.xml, sitemap-2.xml … plus a sitemap_index.xml that points to them — submit just the index.
Publishing Your Sitemap
After downloading the file:
Upload it to the site root
A sitemap at /sitemap.xml can list any URL on that host. One in /blog/ can only list URLs inside /blog/.
Add it to robots.txt
Add Sitemap: https://example.com/sitemap.xml so every crawler can find it.
Submit it in Search Console
Submit the sitemap (or the index) in Google Search Console and Bing Webmaster Tools to see crawl reports.
List only canonical pages
Leave out redirects, error pages, noindex pages and duplicate URLs with tracking parameters.
How to Use the XML Sitemap Generator
Get your result in under ten seconds.
Paste your URLs
One per line, with an optional date — or open a text/CSV file.
Choose lastmod
Use dates from your list, today's date for all, or none.
Download sitemap.xml
Upload it to your site root and add it to robots.txt.
Why Use the XML Sitemap Generator on Developers Web Tools
Fast, accurate and private — built for developers.
Always valid XML
URLs are encoded and & < > ' " escaped exactly as the protocol requires.
Correct dates
lastmod values are checked against the W3C date format; invalid ones are reported, not guessed.
Clean list
Duplicates, #fragments and invalid lines are removed, with line numbers so you can fix them.
Auto-split
More than 50,000 URLs? You get numbered files plus a sitemap index.
Fast
Hundreds of thousands of URLs are processed in a background thread.
Private
Your URL list never leaves your browser.
Frequently Asked Questions
No. It builds the sitemap from the URLs you paste, so it works for any site — including private, staging and very large sites — and nothing is uploaded. Export URLs from your CMS, database or a crawler, then paste them here.
They're optional, and Google ignores both. Google does use lastmod when it's consistently accurate, which is why this generator focuses on correct lastmod dates and leaves the other two out.
Only if every page really changed today. Search engines learn to ignore lastmod when it doesn't match real changes. Use real dates from your CMS where possible.
Up to 50,000 URLs and 50 MB uncompressed. This tool splits longer lists automatically and creates a sitemap index file that lists each part.
Normally no — a sitemap should only list URLs from the host it is published on. The tool warns you when your list mixes several sites.
No. Everything happens locally in your browser.