This XML sitemap generator turns a list of page addresses into a valid sitemap.xml file. Paste your URLs, one per line, choose the last-modified date, change frequency and priority, and download the file. Duplicates and invalid lines are removed automatically. Upload the file to your website and submit it in Google Search Console so search engines can find your pages.
How do I use the XML sitemap generator?
- Paste your page URLs, one per line.
- Choose the last-modified date, frequency and priority.
- Download sitemap.xml.
- Upload it to the main folder of your website.
- Submit the sitemap in Google Search Console.

What is a sitemap?
A sitemap is a file that lists the pages on your website that you want search engines to know about. It does not guarantee that pages are indexed, but it helps search engines discover them, especially on new sites, large sites and sites with few links pointing in.

Sitemap limits
| Limit | Value |
|---|---|
| URLs per file | Up to 50,000 |
| File size | Up to 50 MB uncompressed |
| Larger sites | Split into several sitemaps and use a sitemap index |
| Format | UTF-8 encoded XML |
Lastmod and priority
- lastmod tells search engines when a page last changed. Use real dates; Google ignores lastmod values it finds unreliable.
- changefreq is a hint about how often a page changes. Most search engines now give it little weight.
- priority shows how important a page is compared with others on your site, from 0.0 to 1.0. It does not affect how you rank against other sites.
The tool sets priority automatically by default: the home page gets the highest value, and deeper pages get less.
How to submit sitemap files
- Open Google Search Console and choose your property.
- Go to Sitemaps in the left menu.
- Enter the address of your sitemap, such as sitemap.xml.
- Click Submit and check the status after a few days.
Also add a line to your robots.txt: Sitemap: https://yoursite.com/sitemap.xml. The robots.txt generator can add it for you.
Which pages to include
Include pages you want people to find in search: your home page, main sections, products, posts and important guides. Leave out login pages, thank-you pages, internal search results and duplicates. Every URL should return a normal 200 status and should not be blocked by robots.txt or a noindex tag.
Keeping your sitemap up to date
When you add or remove pages, update the sitemap and upload it again. Search Console reads it from time to time, so you do not need to resubmit after every change. Check the Sitemaps report now and then for errors, such as URLs that redirect or return 404, and remove them from the list.
Do I need a sitemap?
Small sites with good internal links may be found without one, but a sitemap rarely hurts and often helps. WordPress, Shopify and most website builders create one automatically. This tool is useful for hand-built sites, landing pages and sites where the built-in sitemap is missing pages.
Related SEO tools
Check a page's SEO basics with the SEO analyzer. Write title and description tags with the meta tag generator. Add structured data with the schema markup generator, and format the finished file with the XML formatter.
