Free XML Sitemap Generator
Build a valid XML sitemap for any website. Add your URLs, set priority and change frequency, and download sitemap.xml ready to submit to Google Search Console. No signup, no limits.
Quick Presets
URLs 2
sitemap.xml — 2 URLs
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-04-12</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-04-12</lastmod>
<changefreq>yearly</changefreq>
<priority>0.7</priority>
</url>
</urlset>Upload to: https://yourdomain.com/sitemap.xml — then submit in Google Search Console.
What This Sitemap Generator Does
Everything you need to create, configure, and deploy a valid XML sitemap.
Full XML Control
Set URL, last modified date, change frequency, and priority for every page in your sitemap.
Bulk Import
Paste a list of URLs and import them all at once. Each URL defaults to sensible values you can edit.
Valid XML Output
Generated sitemap follows the official sitemaps.org schema — accepted by Google, Bing, and all major search engines.
Download Ready
Download your sitemap.xml file instantly, upload it to your domain root, and submit to Search Console.
XML Sitemap Fields Explained
A valid XML sitemap uses four fields per URL. Only <loc> is required — the other three are optional but recommended.
<loc>RequiredThe full URL of the page. Must include the protocol (https://) and be accessible without redirects. This is the only required field.
Example: <loc>https://example.com/blog/post-title</loc>
<lastmod>OptionalThe date the page was last significantly modified, in YYYY-MM-DD format. Helps search engines prioritise recrawling recently updated content. Don't update this just to trigger crawls — only change it when the content actually changes.
Example: <lastmod>2026-04-12</lastmod>
<changefreq>OptionalA hint to crawlers about how often the page is updated. Valid values: always, hourly, daily, weekly, monthly, yearly, never. Treated as a hint — Google may ignore it and crawl on its own schedule.
Example: <changefreq>weekly</changefreq>
<priority>OptionalA relative importance score from 0.1 to 1.0 for this URL compared to other pages on your site. The default is 0.5. This only affects crawl priority within your own site — it has no direct impact on your ranking relative to other websites.
Example: <priority>0.8</priority>
How to Submit Your Sitemap to Google
Generating the file is half the job. Submitting it correctly is what gets your pages indexed.
Download your sitemap.xml
Use the Download button above. The file is a valid XML sitemap following the sitemaps.org/0.9 schema.
Upload to your domain root
Place the file so it's accessible at https://yourdomain.com/sitemap.xml. For WordPress, most SEO plugins handle this automatically. For custom sites, upload via FTP or your hosting file manager.
Add it to robots.txt
Add a Sitemap: line to your robots.txt file: Sitemap: https://yourdomain.com/sitemap.xml — this lets all crawlers discover it automatically, not just Google.
Submit in Google Search Console
Go to Google Search Console → Sitemaps → enter your sitemap URL → Submit. Google will begin processing within a few hours and show you how many URLs were indexed.
Monitor indexing status
Check the Sitemaps report in Search Console regularly. It shows how many submitted URLs were indexed, which ones have errors, and when Google last fetched the file.
Priority Settings by Page Type
Use this as a starting point — adjust based on how important each page is to your specific site goals.
Homepage
1.0changefreq: weekly
The most important page on every site.
Main category / landing pages
0.9changefreq: weekly
Core service, product category, or pillar pages.
Product / service pages
0.8changefreq: monthly
Individual offerings that directly drive conversions.
Blog posts / articles
0.7changefreq: weekly
Lower than commercial pages but updated more frequently.
About / team pages
0.5changefreq: monthly
Supporting content — important for E-E-A-T but not primary.
Contact / legal pages
0.3changefreq: yearly
Rarely change and not crawl priorities for Google.
Frequently Asked Questions
Common questions about XML sitemaps and how search engines use them.
What is an XML sitemap?
An XML sitemap lists your important pages and tells search engines how often they change, when they were last updated, and their relative priority. It helps crawlers discover and index your content faster.
Does every website need a sitemap?
Most sites benefit from one. It matters most for new sites with few backlinks, large sites with 500+ pages, sites with poor internal linking, and JavaScript-heavy sites where crawlers may miss content.
How do I submit my sitemap to Google?
Upload sitemap.xml to your domain root (https://yourdomain.com/sitemap.xml). Then in Google Search Console go to Sitemaps, paste the URL, and click Submit. Google processes it within hours.
What priority value should I use?
Priority is relative — it only compares pages on your own site. Homepage: 1.0. Main landing pages: 0.8–0.9. Blog posts, product pages: 0.6–0.8. Utility pages (contact, privacy): 0.3–0.5.
What is changefreq?
A hint to crawlers about how often a page changes. Options: always, hourly, daily, weekly, monthly, yearly, never. Search engines treat this as a hint — they still crawl on their own schedule.
How many URLs can be in a sitemap?
One sitemap file can contain up to 50,000 URLs and must be under 50MB. For larger sites, create multiple sitemap files and reference them in a sitemap index file.
Related Tools
Robots.txt Generator
Build a valid robots.txt file and declare your sitemap URL so all crawlers can find it.
SEO Audit Tool
Run a full on-page SEO audit on any URL and check crawlability, meta tags, and more.
Meta Tag Generator
Generate optimised title, description, and Open Graph tags for every page in your sitemap.