XML Sitemap Generator β Help Google Discover & Index All Your Pages
Learn how XML sitemaps work, what to include and exclude, the size limits, how to use sitemap index files, and how to submit and monitor your sitemap in Google Search Console with a free generator.
By sadiqbd Β· June 6, 2026
Search engines can only index pages they know exist β the sitemap tells them everything
A website might have hundreds or thousands of pages: tool pages, blog posts, category archives, tag pages, individual calculators. Search engines find some through internal links and external backlinks. Others β particularly newer pages, deeply nested content, or pages with few internal links β might not be discovered for weeks or months. An XML sitemap eliminates this problem by giving search engines a direct, comprehensive list of every URL you want indexed.
An XML sitemap generator builds this file from your URL inputs in the correct format β ready to submit to Google Search Console and Bing Webmaster Tools.
What an XML Sitemap Is
An XML sitemap is a structured file that lists URLs on your website along with optional metadata: when each page was last modified, how often it changes, and its relative priority. Search engines read this file to efficiently discover and queue pages for crawling.
The format is standardised (Sitemap Protocol 0.9) and understood by all major search engines.
Basic sitemap structure:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2024-06-10</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://example.com/calculators/emi</loc>
<lastmod>2024-05-20</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Sitemap elements
| Element | Required | Description |
|---|---|---|
<loc> |
Yes | The absolute URL of the page |
<lastmod> |
No | Date the page was last significantly changed (W3C Datetime format: YYYY-MM-DD) |
<changefreq> |
No | How often the content changes: always, hourly, daily, weekly, monthly, yearly, never |
<priority> |
No | Relative importance within the site: 0.0 (lowest) to 1.0 (highest); default 0.5 |
Important caveat: Google has confirmed it largely ignores changefreq and priority β these are hints, not directives. The most reliable element is <loc> (the URL itself) and <lastmod> (which Google does use to determine whether to recrawl).
How to Use the XML Sitemap Generator on sadiqbd.com
- Enter your URLs β paste a list of URLs, one per line
- Set optional metadata β last modified dates, change frequency, priority
- Generate β the tool produces valid, well-formed XML
- Download and upload to your domain root as
sitemap.xml - Submit to Google Search Console and Bing Webmaster Tools
For dynamic sites (CMS-based), your platform likely generates a sitemap automatically β check whether it's correctly configured before creating one manually.
Sitemap Best Practices
Only include indexable URLs
The sitemap should contain only URLs that:
- Return HTTP 200 status
- Have
indexrobots directive (nonoindex) - Are canonical URLs (no redirect chains, no parameter variants)
- Represent content you want in search results
What to exclude:
- 301/302 redirect URLs β link to the destination, not the redirect
- Noindex pages β if you don't want them indexed, don't include them in the sitemap
- 404 and error pages
- Paginated pages beyond page 1 in most cases
- Duplicate content (non-canonical URLs)
Sitemap size limits
A single sitemap file has two limits:
- 50,000 URLs maximum per file
- 50MB maximum file size (uncompressed)
For large sites exceeding these limits, use a sitemap index file β an XML file that lists multiple sitemaps, each containing a subset of URLs:
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-pages.xml</loc>
<lastmod>2024-06-10</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-blog.xml</loc>
<lastmod>2024-06-10</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-tools.xml</loc>
<lastmod>2024-06-10</lastmod>
</sitemap>
</sitemapindex>
Submit the index file URL to Search Console rather than individual sitemaps.
Specialised sitemaps
Beyond the standard URL sitemap, separate sitemaps exist for:
Image sitemap: Lists images with captions, titles, and geographic location β helps image search indexing.
Video sitemap: Lists video content with titles, descriptions, durations, and thumbnails β required for Video rich results.
News sitemap: For Google News inclusion β lists recent articles with publication dates and genres.
Real-World Scenarios
New website launch
You launch sadiqbd.com with 108 tool pages and a blog section. Without a sitemap, Google will gradually discover pages through internal links and external backlinks β which could take weeks for all 108 tool pages.
With a sitemap:
- Generate a sitemap listing all 108 tool pages + homepage
- Upload to
sadiqbd.com/sitemap.xml - Add
Sitemap: https://sadiqbd.com/sitemap.xmltorobots.txt - Submit the sitemap URL in Google Search Console
Google now knows about all 108 pages immediately and queues them for crawling based on importance and crawl budget.
Content update signalling
You update a blog post significantly β new statistics, restructured content, added sections. Update the <lastmod> date in the sitemap to the current date. This signals to Google that the page has changed and prioritises it for recrawling.
Post-migration discovery
After a site migration to a new URL structure, the new sitemap contains all new URLs. Submitted to Search Console, it accelerates Google's discovery and indexing of the new structure β rather than waiting for links to be followed one by one.
Finding orphaned pages
When generating your sitemap, you need to list every important URL. If you struggle to list certain pages because they're not well-linked internally, those pages may be "orphaned" β hard for search engines to find. The sitemap generation process surfaces these structural gaps.
Submitting and Monitoring the Sitemap
Google Search Console
- Go to Search Console β Sitemaps
- Enter the sitemap URL (
https://yourdomain.com/sitemap.xml) - Click Submit
- Monitor the Sitemaps section for:
- Submitted URLs β total pages in the sitemap
- Indexed URLs β how many Google has indexed
- Errors β any URLs with issues
A significant gap between submitted and indexed URLs is worth investigating β the Coverage report shows which URLs aren't being indexed and why.
Bing Webmaster Tools
Submit the sitemap separately through bing.com/webmasters for Bing and DuckDuckGo (which uses Bing's index) coverage.
Auto-discovery via robots.txt
Adding Sitemap: https://yourdomain.com/sitemap.xml to robots.txt allows any crawler to discover the sitemap without requiring manual submission:
User-agent: *
Disallow: /admin/
Allow: /
Sitemap: https://yourdomain.com/sitemap.xml
CMS-Specific Sitemap Notes
WordPress: Yoast SEO, RankMath, and All in One SEO generate sitemaps automatically. Check Settings β Yoast β Technical β XML Sitemaps to verify it's enabled and correctly configured.
Shopify: Automatically generates yourstore.myshopify.com/sitemap.xml β submit this URL to Search Console.
Webflow: Generates sitemap automatically; can be found at /sitemap.xml. Verify noindex pages are excluded.
Custom sites: Use the XML Sitemap Generator for manual creation, or integrate sitemap generation into your build process.
Tips for Sitemap Maintenance
Keep the sitemap current. A sitemap with 404s and redirect URLs is worse than no sitemap β it wastes crawl budget. Remove deleted pages promptly.
Automate sitemap generation if possible. For sites with frequent content updates, manual sitemaps go stale. Most CMS platforms handle this; for custom sites, build sitemap generation into the deployment pipeline.
Set accurate <lastmod> dates. Some tools auto-populate today's date for every URL β inaccurate lastmod signals that everything changed, which is misleading. Only update lastmod when content genuinely changed.
Monitor the indexed/submitted ratio monthly. A ratio below 80% warrants investigation. Common causes: quality issues, canonical mismatches, crawl budget constraints, or slow page speed.
Frequently Asked Questions
Is an XML sitemap required for SEO? Not strictly required β search engines can discover pages through links. But for new sites, large sites, or sites with pages that aren't well-linked internally, a sitemap significantly accelerates discovery and indexing.
Does having a sitemap guarantee my pages will be indexed? No β a sitemap is a request, not a guarantee. Google decides what to index based on crawl budget, quality signals, and relevance. Low-quality pages in the sitemap don't get indexed simply by being listed.
Can I have multiple sitemaps? Yes β use a sitemap index file to reference multiple sitemaps. This is required when you exceed 50,000 URLs and also useful for organising different content types.
How often should I update my sitemap? After any significant content addition, deletion, or URL change. For active blogs, regenerate regularly (weekly or after each publishing cycle).
Is the XML Sitemap Generator free? Yes β completely free, no sign-up required.
An XML sitemap is the simplest, most direct thing you can do to help search engines find all your pages. For a site like sadiqbd.com with 108 tool pages and a growing blog, it's the difference between Google discovering everything in days versus weeks.
Try the XML Sitemap Generator free at sadiqbd.com β generate a correctly formatted sitemap for any set of URLs instantly.