XML Sitemap Generator

Paste your page URLs, choose optional lastmod, change frequency and priority values, and download a standards-compliant sitemap.xml. Invalid and duplicate URLs are flagged as you go.

Loading XML Sitemap Generator…

How to Use XML Sitemap Generator

1

Add your URLs

Paste absolute URLs one per line, upload a TXT or CSV list, or import an existing sitemap.xml to edit it. Load Example fills in a sample set.

2

Set optional fields

Choose a last modified date, change frequency and priority to apply to your URLs. Leave lastmod out when you do not know when a page really changed.

3

Review the validation checks

Invalid and duplicate URLs are flagged in the status column so you can fix or remove them before generating.

4

Generate and submit

Press Generate Sitemap, copy the XML or download sitemap.xml, upload it to your site, and submit its URL in Google Search Console and Bing Webmaster Tools.

XML Sitemap Generator Guide

What a sitemap is for

An XML sitemap lists the URLs you want search engines to know about. It helps most for new sites with few backlinks, large sites where some pages are deep in the navigation, and pages that change often. Submit it in Google Search Console and Bing Webmaster Tools, and reference it from robots.txt with a Sitemap: line.

A sitemap is a hint, not a guarantee. Search engines still decide what to crawl and index, but they use the sitemap to discover pages and to notice when they change.

Which fields matter

The URL is the only required field, and it must be absolute, including https://. Google uses lastmod when it is consistently accurate, so set it to the date the content really changed rather than the date the file was generated. Google ignores changefreq and priority, though some other search engines still read them.

Limits and good habits

One sitemap file can hold up to 50,000 URLs or 50 MB uncompressed. Larger sites split their URLs across several sitemaps and list them in a sitemap index. Only include canonical, indexable pages that return a 200 status: redirects, noindex pages and duplicates in a sitemap send mixed signals.

Frequently Asked Questions

Does a sitemap guarantee my pages get indexed?

No. A sitemap helps search engines discover URLs and understand when they change, but each page is still judged on its own quality. It is most useful for new sites with few external links, large sites, and pages that are hard to reach through navigation.

Should I include every page of my site?

Include only the canonical, indexable pages you want in search results. Leave out redirects, error pages, pages marked noindex, and duplicate URLs with tracking parameters. A sitemap full of URLs that should not be indexed weakens the signal it sends.

Do changefreq and priority matter?

Google has said it ignores both. An accurate lastmod date is the field that helps, and only when it changes because the content changed in a meaningful way. Other search engines may still read changefreq and priority, so including them does no harm.

How do search engines find my sitemap?

Submit it in Google Search Console and Bing Webmaster Tools, and add a "Sitemap: https://example.com/sitemap.xml" line to robots.txt so every crawler can find it without being told.

How large can a sitemap be?

One sitemap file can hold up to 50,000 URLs and be up to 50 MB uncompressed. Larger sites split their URLs across several sitemaps and list them in a sitemap index file, which can then be submitted as a single URL.

Related Guides

More in SEO Utilities