An XML sitemap is one of the most direct ways to communicate with Google. Instead of waiting for Googlebot to discover your pages by following links, you hand it a complete list. This is particularly important for new websites, content-heavy sites, and pages that are not well linked internally.
What Is an XML Sitemap?
An XML sitemap is a file that lists all the important URLs on your website in a structured XML format. Each URL entry can include:
- loc — the full URL of the page
- lastmod — the date the page was last modified (ISO 8601 format: YYYY-MM-DD)
- changefreq — how often the page changes (daily, weekly, monthly, etc.)
- priority — relative importance from 0.1 (lowest) to 1.0 (highest)
Step-by-Step: Generate Your Sitemap
List all the important pages on your site: homepage, about, contact, product pages, blog posts. Exclude low-value pages (thank-you pages, admin URLs, duplicate content).
Go to webtoolsz.com/sitemap-generator. Paste your URLs in the text area — one URL per line.
Choose default settings for all URLs. Set your homepage priority to 1.0 and blog posts to 0.7-0.8. Use weekly for frequently updated content, monthly for static pages.
Click Generate, then Download. Upload
sitemap.xml to the root of your web server.Go to Google Search Console → Sitemaps. Enter
sitemap.xml and click Submit. Google will start crawling your URLs immediately.Sitemap: https://yourdomain.com/sitemap.xml. This ensures all crawlers (not just Google) can discover it automatically.
What NOT to Include in Your Sitemap
- Pages with
noindexmeta tags — submitting indexed and noindex pages together confuses crawlers - Redirect URLs — only include the final destination URL
- Duplicate content pages — only the canonical version should appear
- Login, checkout, and session URLs — these are useless to bots
- Soft 404 pages — pages that return a 200 status but contain "not found" content
Generate Your sitemap.xml — Free
Paste your URLs, set priority and changefreq, download sitemap.xml instantly. No sign-up.
Open XML Sitemap GeneratorFrequently Asked Questions
What is an XML sitemap?
An XML sitemap is a file that lists all the important URLs on your website in a structured format that search engines can read. It helps Googlebot and other crawlers discover pages that might not be linked from your homepage, particularly deep pages, new content, and pages with few inbound links.
Do I need a sitemap if my website is small?
Google recommends a sitemap if your website is large (over 500 pages), has content that is not easily discovered through links, or is new. For small sites with strong internal linking, a sitemap is less critical but still beneficial — it tells Google about your content structure and update frequency.
What should the priority value be in a sitemap?
Priority (0.1 to 1.0) is a hint to search engines about the relative importance of your pages. Set your homepage to 1.0, main category pages to 0.8, blog posts to 0.7, and less important pages to 0.5. Note: Google has stated it largely ignores the priority value but it is still good practice to set it correctly.
How do I submit a sitemap to Google Search Console?
In Google Search Console, go to Index → Sitemaps. Enter the path to your sitemap (e.g. sitemap.xml) in the field and click Submit. Google will crawl it and show the number of URLs discovered. You can re-submit it any time after major content updates.