XML sitemap generator
An XML sitemap generator turns a list of page addresses into a sitemap.xml file that follows the sitemap protocol. Paste your URLs, one per line, and this tool escapes special characters, removes duplicates, adds an optional last-modified date, and gives you a file to upload to your site’s root.
It’s for small sites, landing pages and static sites whose platform doesn’t make a sitemap, and for quick fixes while you set up an automatic one. Everything happens in your browser, and nothing you paste is sent to our servers.
Free with a ShipScroll account.
How to use the XML Sitemap Generator
- Paste the full addresses of the pages you want indexed, one per line.
- Set a last modified date if the pages changed recently, or clear it.
- Press Generate sitemap, then download sitemap.xml.
- Upload it to your site’s root, add a Sitemap line to robots.txt, and submit it in Google Search Console.
What goes in an XML sitemap
| Tag | Required? | What it means |
|---|---|---|
| <loc> | Yes | The page’s full address, with special characters escaped |
| <lastmod> | No | When the page’s content last changed, as a W3C date |
| <changefreq> | No | A hint at how often the page changes; Google ignores it |
| <priority> | No | A 0.0 to 1.0 hint relative to your other pages; Google ignores it |
Which pages to include
List the canonical version of each page you want in search results: the exact address your canonical tags point to, on one host and protocol. Leave out redirects, error pages, noindexed pages and duplicates such as filtered or sorted views. A shorter, accurate sitemap is more useful to search engines than a long one full of pages they’ll skip.
Sites with more than 50,000 URLs
One sitemap can hold at most 50,000 URLs and 50 MB uncompressed. Past that, this generator splits your URLs into sitemap-1.xml, sitemap-2.xml and so on, plus a sitemap index that lists them. Upload every file, and submit only the index.
Questions
Does this generator crawl my site?
No. You paste the URLs, so the sitemap contains exactly the pages you choose. To get a list of a site’s current sitemap URLs, use the Sitemap URL Extractor and edit the result here.
Where do I put the sitemap file?
Usually at your site’s root, as https://example.com/sitemap.xml. A sitemap can only list URLs in its own folder and below, so the root covers the whole site. Then add “Sitemap: https://example.com/sitemap.xml” to robots.txt.
Should every page have today’s date as lastmod?
Only if every page really changed today. Google uses lastmod when it’s consistently accurate, so set it to when each page’s content last changed, or leave it out.
How do I submit my sitemap to Google?
In Google Search Console, open Sitemaps, enter the sitemap’s address and press Submit. Then check its status there after Google has read it.
Related tools
- Sitemap ValidatorCheck one XML sitemap against the protocol: namespace, escaping, dates, duplicates and limits.
- Robots.txt GeneratorBuild a robots.txt, including which AI crawlers to block.
- Sitemap CheckerFind a site’s sitemap, count its URLs, and catch errors against the protocol.
Sources
Put your AI tool in front of this week’s launches
Link your product, pick your weeks and see a live preview before you pay — or launch for free.
