Mumbai, India
Free Guide

How to Submit a Sitemap to Google Search Console

The complete walkthrough for creating, validating, and submitting XML sitemaps to Google. Covers standard sitemaps, image sitemaps, video sitemaps, and sitemap indexes for sites with 50,000+ URLs.

Last updated: March 2026 · 10 min read

Quick Answer

How do you submit a sitemap to Google?

Log into Google Search Console, click “Sitemaps” in the left sidebar under Indexing, paste your sitemap URL (e.g., /sitemap.xml), and click Submit.

Submitting a sitemap to Google takes under 60 seconds. Open Google Search Console, select your property, go to Indexing > Sitemaps, type your sitemap URL into the “Add a new sitemap” field, and hit Submit. Google fetches the sitemap immediately and begins processing the URLs. But getting the submission right is only one part of the process. The sitemap itself needs to be correctly formatted, contain the right URLs, exclude the wrong ones, and stay updated as your site changes. Most indexing problems we diagnose at ScaleGrowth.Digital trace back to sitemap issues: outdated URLs, missing pages, bloated files with noindexed content, or sitemaps that haven’t been updated in months.

“A sitemap isn’t a set-it-and-forget-it file. It’s a live document that tells Google what you consider important on your site. Every URL in your sitemap is a crawl request. If you’re sending Google to 404 pages, redirect chains, or noindexed content, you’re wasting crawl budget and signaling that your site isn’t well-maintained.”

Hardik Shah, Founder of ScaleGrowth.Digital

This guide covers everything from basic submission to advanced sitemap strategies for large sites. Whether you have a 20-page WordPress site or a 200,000-page e-commerce store, the principles below apply.
Contents

What this guide covers

  1. What is a sitemap and why does it matter?
  2. What types of sitemaps exist?
  3. How to create an XML sitemap
  4. How to submit your sitemap to Google Search Console
  5. How to verify your sitemap was accepted
  6. Alternative ways to submit a sitemap
  7. How to handle sitemaps for large sites (50,000+ URLs)
  8. Pro tips from 200+ technical SEO audits
  9. Common sitemap mistakes to avoid
  10. Frequently asked questions
Fundamentals

What is a sitemap and why does it matter for SEO?

Definition: A sitemap is an XML file that lists the URLs on your website you want search engines to crawl and index. It includes metadata like the last modification date, change frequency, and priority for each URL.

Google discovers pages in two ways: by following links from pages it already knows about, and by reading sitemaps you submit directly. For well-linked sites with strong internal architecture, Google can find most pages through crawling alone. But sitemaps become critical in four scenarios:
  • New sites with few or no inbound links. Google needs a starting point.
  • Large sites with 10,000+ pages. Without a sitemap, deeper pages may never get crawled.
  • Sites with isolated content. Pages not linked from your main navigation (landing pages, campaign pages, archived content) won’t be discovered through crawling.
  • Sites with rich media. Image and video content benefits from specialized sitemap extensions that provide metadata Google can’t extract from HTML alone.
According to Google’s official documentation, sitemaps are particularly useful for sites that are “really large,” “have a large archive of content pages that are isolated or not well linked to each other,” or “are new and have few external links” (Source: Google Search Central, 2026).
Sitemap Types

What types of sitemaps does Google support?

Google accepts three sitemap formats and four specialized extensions. The format you choose depends on your site’s content and technical setup.
Format File Type Best For URL Limit
XML Sitemap .xml Most websites (standard choice) 50,000 URLs or 50MB
RSS/Atom Feed .rss / .atom Blogs, news sites with frequent updates No fixed limit
Text Sitemap .txt Simple sites, quick setup 50,000 URLs or 50MB
Specialized extensions add extra metadata within XML sitemaps:
  • Image sitemap extension: Helps Google discover images that might not be found through HTML parsing, especially useful for photography sites, e-commerce product catalogs, and portfolio sites.
  • Video sitemap extension: Provides video title, description, play page URL, thumbnail, and duration. Required if you want videos to appear in Google Video search results.
  • News sitemap extension: For Google News publishers. Limited to articles published in the last 2 days, with a maximum of 1,000 URLs per news sitemap (Source: Google Search Central, 2026).
  • Hreflang extension: For multilingual sites. Maps alternate language versions of each page so Google serves the right version to each user.
Most sites only need a standard XML sitemap. Add extensions when you have significant image, video, or multilingual content that isn’t easily discoverable through regular crawling.
Creation

How do you create an XML sitemap?

Most CMS platforms generate sitemaps automatically. If you’re on WordPress, plugins like Yoast SEO, Rank Math, or All in One SEO create and maintain your sitemap without manual work. Your sitemap URL is typically yoursite.com/sitemap_index.xml or yoursite.com/sitemap.xml. For custom-built sites or when you need manual control, here’s the standard XML sitemap structure:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page-1/</loc>
    <lastmod>2026-03-15</lastmod>
  </url>
  <url>
    <loc>https://example.com/page-2/</loc>
    <lastmod>2026-02-20</lastmod>
  </url>
</urlset>
Rules for what to include:
  • Only canonical, indexable URLs (200 status code, no noindex tag)
  • Use absolute URLs with the correct protocol (https, not http)
  • Match the canonical URL exactly (if your canonical is https://example.com/page/ with a trailing slash, the sitemap URL must have the trailing slash too)
  • UTF-8 encoding only
Rules for what to exclude:
  • URLs returning 3xx, 4xx, or 5xx status codes
  • Pages with noindex meta tags or X-Robots-Tag headers
  • Non-canonical URL versions (parameter variations, pagination pages that are canonicalized)
  • Utility pages (login, cart, checkout, admin) that shouldn’t be indexed
The lastmod tag is optional but valuable. Google uses it to prioritize recrawling pages that have genuinely changed. Only update lastmod when the page content actually changes. Fake lastmod dates (updating daily when nothing changed) erode trust and can cause Google to ignore the tag entirely.
Submission

How do you submit a sitemap to Google Search Console?

Follow these 4 steps to submit your sitemap. The entire process takes under 2 minutes.
  1. Log into Google Search Console at search.google.com/search-console. You need owner or full permissions on the property. If you only have restricted access, you can reference the sitemap in your robots.txt file instead (covered in the alternatives section below).
  2. Select your property. Make sure you’re viewing the correct domain or URL-prefix property. If you have both http and https versions, submit the sitemap to the https property.
  3. Go to Indexing > Sitemaps. In the left sidebar, expand the “Indexing” section and click “Sitemaps.”
  4. Enter your sitemap URL and click Submit. In the “Add a new sitemap” field, type the path to your sitemap (e.g., sitemap.xml or sitemap_index.xml). The base URL is pre-filled. Click Submit.
Google fetches the sitemap immediately after submission. You’ll see a “Success” status if the file was readable and valid. Processing the URLs inside the sitemap takes longer. Depending on your site size and crawl history, it can take anywhere from a few hours to several weeks for Google to crawl all the URLs listed. After submission, the Sitemaps report shows: number of discovered URLs, submission date, last read date, and status. Check this report weekly for the first month, then monthly after that.
Verification

How do you verify your sitemap was accepted?

After submitting, Google Search Console shows one of four status messages for your sitemap:
Status What It Means Action Required
Success Sitemap was fetched and parsed without errors None. Monitor the Pages report for indexing progress.
Has errors Sitemap was fetched but contains format issues Click the sitemap to see specific errors. Fix and resubmit.
Couldn’t fetch Google couldn’t access the sitemap URL Check the URL is correct, the file exists, and it’s not blocked by robots.txt.
Pending Sitemap was submitted but not yet processed Wait 24-48 hours. If still pending, resubmit.
Cross-check with the Pages report. The Sitemaps report tells you Google received the file. The Pages report (Indexing > Pages) tells you what happened to the URLs inside it. Look for the “Indexed, not submitted in sitemap” and “Submitted and indexed” categories to understand the gap between what you submitted and what Google actually indexed. A healthy site typically has 85-95% of its sitemap URLs indexed. If that number is below 70%, you likely have quality or technical issues that need attention.
Alternative Methods

What are other ways to submit a sitemap to Google?

Google Search Console is the primary method, but two alternatives exist for specific situations. Method 2: robots.txt reference. Add a Sitemap: directive to your robots.txt file. Google reads robots.txt before crawling your site and will find the sitemap reference automatically.
# robots.txt
User-agent: *
Allow: /

Sitemap: https://example.com/sitemap.xml
This method works without Search Console access. It’s useful when you’re managing a site you don’t own or when you want redundancy alongside a Search Console submission. The Sitemap: line can appear anywhere in the robots.txt file. Method 3: Search Console API. For enterprise sites or automated workflows, use the Search Console API to submit sitemaps programmatically. The API endpoint is PUT https://www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}. This is useful for sites that regenerate sitemaps frequently (e-commerce with daily inventory changes, news publishers). We recommend using both Method 1 (Search Console) and Method 2 (robots.txt) together. There’s no downside to redundancy, and it ensures Google finds your sitemap even if one discovery method fails.
Scale

How do you handle sitemaps for large sites with 50,000+ URLs?

A single sitemap file is limited to 50,000 URLs or 50MB uncompressed (Source: sitemaps.org protocol specification). For sites that exceed these limits, use a sitemap index file that references multiple individual sitemaps.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemap-products.xml</loc>
    <lastmod>2026-03-15</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-blog.xml</loc>
    <lastmod>2026-03-10</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-categories.xml</loc>
    <lastmod>2026-02-28</lastmod>
  </sitemap>
</sitemapindex>
Segment your sitemaps logically. Don’t just split alphabetically. Group URLs by content type: products, blog posts, categories, location pages. This lets Google process each segment independently and makes debugging easier when indexing issues arise. For e-commerce sites with frequent inventory changes, consider updating product sitemaps daily while keeping static sitemaps (about pages, policies) on a monthly cadence. The lastmod date on each sitemap entry in the index file tells Google which segments have changed and need recrawling. Gzip compression is supported and recommended for large sitemaps. A 50MB uncompressed sitemap compresses to roughly 2-5MB, reducing server bandwidth and speeding up Google’s fetch time.
Pro Tips

What do technical SEO professionals check beyond basic submission?

1. Audit your sitemap monthly

Download your sitemap, run every URL through a status code checker, and verify each URL returns 200. We’ve found sitemaps containing 10-30% non-200 URLs on roughly half the audits we run. That’s wasted crawl budget on every Googlebot visit.

2. Match sitemap to canonical tags

Every URL in your sitemap should match its own canonical tag exactly. If a page’s canonical points to a different URL, remove the non-canonical version from the sitemap. Mixed signals confuse Google’s indexing decisions.

3. Compare sitemap vs. indexed count

If your sitemap has 5,000 URLs but Google only indexes 3,200, that 36% gap demands investigation. Use the Pages report to find reasons: crawled but not indexed, duplicate content, soft 404s. Each reason has a different fix.

4. Use lastmod honestly

Only update the lastmod date when page content genuinely changes. Some CMS themes update lastmod on every server restart or plugin update. Google has stated it will ignore lastmod if it detects the dates aren’t reliable. Honest lastmod data accelerates re-crawling of truly updated content.

Avoid These

What are the most common sitemap mistakes?

Mistake 1: Including noindexed URLs in the sitemap. If a page has a noindex tag, it shouldn’t be in your sitemap. You’re asking Google to crawl a page you’ve explicitly told it not to index. This sends contradictory signals. The fix: add a sitemap generation rule that excludes any page with noindex. Mistake 2: Never updating the sitemap after launch. We’ve audited sites where the sitemap was generated during the initial launch and never touched again. Three years later, 40% of the URLs returned 404. Google was spending crawl budget on dead pages every single visit. Set up automatic sitemap regeneration through your CMS or build a weekly cron job. Mistake 3: Blocking the sitemap in robots.txt. This sounds obvious, but we see it 2-3 times per year. A robots.txt rule like Disallow: /sitemap or an overly broad Disallow: /*.xml can block Google from reading your sitemap. Always test your robots.txt rules against your sitemap URL. Mistake 4: Submitting one massive sitemap instead of a sitemap index. A single sitemap with 45,000 URLs is technically valid (under the 50,000 limit), but it’s harder to debug, slower to process, and gives you no segmentation. Break it into logical groups of 5,000-10,000 URLs each, referenced from a sitemap index. This mirrors how Google processes them internally. Mistake 5: Ignoring sitemap errors in Search Console. Google reports sitemap errors explicitly. If your Sitemaps report shows “Has errors” or “Couldn’t fetch,” that needs immediate attention. Yet we’ve seen sites go months with broken sitemaps because nobody checks the report. Add a monthly calendar reminder or set up Search Console email notifications.
Related Resources

What pairs well with sitemap optimization?

On-Page SEO Checklist

Once your pages are indexed, make sure they’re optimized. Our 47-point checklist covers every on-page factor that moves rankings. Get Checklist

How to Use Google Keyword Planner

Before building pages worth indexing, you need the right keywords. Our Keyword Planner guide covers discovery, filtering, and export workflows. Read Guide

SEO Audit Report Sample

See how we diagnose technical SEO issues (including sitemap problems) in a full audit report with prioritized recommendations. View Sample

Want a Full Technical SEO Audit?

We audit sitemaps, crawlability, indexing, Core Web Vitals, and 30+ technical dimensions. Free diagnostic for qualified brands. Get Your Free Technical Audit

FAQ

Frequently Asked Questions

How long does it take Google to process a submitted sitemap?

Google fetches the sitemap file within minutes of submission. However, crawling and indexing the URLs inside it can take anywhere from a few hours to several weeks, depending on site size, crawl budget, and content quality. New sites with no crawl history take the longest.

Do I need to resubmit my sitemap after adding new pages?

No. If your CMS automatically updates the sitemap when new pages are published, Google will discover the changes on its next crawl of the sitemap file. Google recrawls submitted sitemaps periodically. You only need to resubmit if you change the sitemap URL itself or create an entirely new sitemap file.

Can I submit multiple sitemaps in Google Search Console?

Yes. You can submit multiple sitemap files to the same Search Console property. This is common for large sites that segment sitemaps by content type (products, blog, categories). You can also submit a single sitemap index file that references all individual sitemaps.

Does submitting a sitemap guarantee my pages will be indexed?

No. A sitemap is a request, not a directive. Google decides whether to index each URL based on content quality, technical health, and site authority. Google’s own documentation states that “it is possible that not all URLs in a sitemap will be crawled” and that crawling depends on site size, activity, and traffic.

What’s the maximum number of URLs a sitemap can contain?

A single sitemap file can contain up to 50,000 URLs and must not exceed 50MB uncompressed. If your site has more than 50,000 indexable URLs, use a sitemap index file that references multiple individual sitemaps. There’s no limit to how many sitemaps a sitemap index can reference.

Free Growth Audit
Call Now Get Free Audit →