Sitemap Generator
Create a valid sitemap.xml from a list of URLs. Paste your pages, choose dates and options, and download a file that is ready for Google Search Console. Everything runs in your browser, so your URLs are never uploaded.
How to create a sitemap
Three quick steps, no account needed.
Why use this sitemap generator
Clean, valid files without a crawler or an account.
About XML sitemaps
What a sitemap does and what to put in it.
What is a sitemap?
An XML sitemap is a file that lists the pages on your website so search engines can find them. It does not guarantee that a page will be indexed, but it helps crawlers discover new and updated pages, which is most useful for new sites, large sites and pages with few links pointing to them.
What this tool does and does not do
This generator builds the file from a list of URLs that you give it. It does not crawl your website. You can get your list from your CMS, an export from your analytics or a spreadsheet. Tidy a long list first with the sort lines tool.
Which URLs should you include?
- Only pages you want in search results, using the final canonical address.
- Pages that load normally. Leave out redirects, error pages and pages blocked with noindex.
- One site only. All URLs should use the same host, for example www.example.com.
- Accurate dates. Add a last modified date only when it shows a real change to the page.
Where does the file go?
Upload sitemap.xml to the root of your site, such as example.com/sitemap.xml. Then add a Sitemap line to your robots.txt file and submit the address in Google Search Console and Bing Webmaster Tools.
Sitemap tags explained
What each part of an entry means.
| Tag | Required | What it does |
|---|---|---|
| <loc> | Yes | The full address of the page, starting with https://. |
| <lastmod> | No | The date the page last changed in a meaningful way. Use it only when it is accurate. |
| <changefreq> | No | A hint about how often the page changes. Google ignores it. |
| <priority> | No | A hint from 0.0 to 1.0 about a page’s importance on your own site. Google ignores it. |
Frequently asked questions
Quick answers.
Is the sitemap generator free and private?
Yes. It is free, needs no signup, and runs inside your browser. Your URLs are processed on your device and never uploaded.
Does it crawl my website?
No. It builds the sitemap from the list of URLs you paste or upload. You can get that list from your CMS, an analytics export or a spreadsheet.
Where do I upload sitemap.xml?
Upload it to the root folder of your website so it opens at example.com/sitemap.xml. Then add a Sitemap line to your robots.txt file, which this tool gives you ready to copy.
How do I submit my sitemap to Google?
Open Google Search Console, choose your site, go to the Sitemaps section, enter the sitemap address and submit it. You can also submit it in Bing Webmaster Tools.
How many URLs can one sitemap hold?
A single sitemap can hold up to 50,000 URLs and 50 MB uncompressed. If your list is longer, this tool splits it into several sitemaps and adds an index file. Submit the index file.
Should I include priority and change frequency?
You do not need to. Google ignores both values. Leave them out unless another tool asks for them. An accurate last modified date is more useful.
Which URLs should I leave out of a sitemap?
Leave out redirects, error pages, pages with a noindex tag, duplicate versions of a page and pages blocked in robots.txt. List only the final, canonical address of each page you want found.
More tools
Related text and data tools.