All tools
SEO tools

Sitemap XML Generator

Build a valid XML sitemap with your URLs, priority and change frequency — ready to upload and submit to Google Search Console.

Valid XML output Priority & changefreq Last-modified dates Instant download Search Console ready
Get started free Sign in

Free · No credit card · 50 credits/day

XML sitemap reference

Tag Required Values / notes
<loc> Yes Full URL of the page including https://. Must be URL-encoded.
<lastmod> No Last modified date in W3C format (YYYY-MM-DD). Helps Google prioritise re-crawling.
<changefreq> No always | hourly | daily | weekly | monthly | yearly | never. Largely ignored by Google.
<priority> No 0.0–1.0. Default 0.5. Relative priority within your own sitemap — not compared to other sites.

Frequently asked questions

What is an XML sitemap and why do I need one?

An XML sitemap is a file listing your website's URLs and optional metadata to help search engine crawlers discover and index your content. You need one when your site has pages that aren't easily discoverable through internal linking, or when you want to give crawlers accurate signals about which pages to prioritise.

How do I submit my sitemap to Google?

Upload your sitemap.xml to the root of your website (e.g. https://example.com/sitemap.xml). Then go to Google Search Console, select your property, navigate to Sitemaps in the left menu, paste the sitemap URL and click Submit.

What is the maximum number of URLs in a sitemap?

Google supports up to 50,000 URLs per sitemap file and a maximum file size of 50 MB uncompressed. For larger sites, use a sitemap index file that references multiple individual sitemaps. You can also compress sitemaps with gzip (.xml.gz) to reduce file size.

Do sitemap priority and changefreq affect rankings?

Not directly. Google largely ignores changefreq and priority values. What Google does use is the lastmod date — when it's accurate and changes alongside content updates, it can help Google prioritise re-crawling updated pages.

Related SEO tools

More tools to help crawlers discover your content.

Robots.txt Generator

Build a robots.txt file to control which pages search engine crawlers can access.

Canonical Tag Generator

Generate canonical link tags to avoid duplicate content issues.

Schema Markup Generator

Generate JSON-LD structured data for rich results in Google Search.

Help Google index your pages

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →