Technical Guide
XML Sitemaps And IndexNow In 2026: Protocol Limits, Lastmod And Discovery Data
What Google actually parses in /sitemap.xml, how IndexNow pushes updates to 7+ engines including Bing/Copilot, and why 61.94% of pages stay unindexed.
An XML sitemap is a discovery map, not an indexing guarantee. Yet most sites still ship bloated sitemaps packed with ignored <priority> tags, fabricated <lastmod> dates and redirect chains while leaving instant push protocols like IndexNow unconfigured.
Google Search Central enforces hard caps of 50,000 URLs and 50 MB uncompressed per sitemap file, honors accurate <lastmod> timestamps, and explicitly ignores <priority> and <changefreq>. Meanwhile, IndexNow processes over 3.5 billion submitted URLs per day across Microsoft Bing, Yandex, Seznam, Naver, Yep, Amazon and the Internet Archive—accepting up to 10,000 URLs per HTTP POST.
Discovery and indexation remain two distinct gates. In IndexCheckr's 16-million-page dataset, 61.94% of tracked URLs were not indexed by Google even when the domain was healthy. This guide details what crawlers actually parse, how sitemap byte math breaks early, how IndexNow feeds Bing and Microsoft Copilot, and how to wire a clean discovery stack.
What Google And Bing Actually Read Inside An XML Sitemap
Default CMS plugins still emit <priority> and <changefreq> on every URL node, inflating XML payloads with metadata Google stopped reading years ago. Google Search Central and Microsoft Bing document exact parser behavior for each tag.
Only two core elements matter: <loc> and <lastmod>. Every <loc> entry must return HTTP 200, match the page's self-referencing canonical URL, and exclude UTM parameters, redirects or noindex directives.
| Element Or Namespace | Googlebot Behavior | Bingbot Behavior | Engineering Rule |
|---|---|---|---|
<loc> | Required canonical URL | Required canonical URL | Emit HTTP 200 canonicals only |
<lastmod> | Used for recrawl scheduling if accurate | Used for recrawl priority and freshness | Update on substantive edits only |
<changefreq> | Explicitly ignored | Low-priority hint; overridden by crawl history | Omit to cut file weight |
<priority> | Explicitly ignored | Non-binding hint; ignored for ranking | Omit to cut file weight |
image:image | Up to 1,000 images per URL | Supported for image discovery | Use for JS-loaded or CDN images |
video:video | Supported for video metadata | Supported for video discovery | Include thumbnail, duration and URL |
news:news | Max 1,000 URLs, last 48 hours | Supported for news feeds | Keep rolling 48-hour news shard |
xhtml:link | Supported for hreflang clusters | Prefers HTML and HTTP hreflang | Shard large multilingual matrices |
Dropping <priority> and <changefreq> is pure upside. Removing both cuts roughly 30% to 40% of raw XML bytes per URL and keeps <sitemapindex> builds fast.
Why Reliable Lastmod Timestamps Beat Ping Endpoints
Google deprecated and shut down its unauthenticated google.com/ping?sitemap= endpoint in June 2023; requests now return 404. Google cited spam abuse from automated ping scripts and pointed publishers to robots.txt declarations, Search Console submission and verifiable <lastmod> dates.
Googlebot reads <lastmod> in W3C ISO 8601 format (YYYY-MM-DD or full UTC timestamps such as 2026-11-27T14:30:00+00:00). Crucially, Google Search Central warns that its systems verify <lastmod> against real page diffs over time.
If a build script stamps today's date across 12,000 URLs every time a footer link or CSS bundle ships, Google stops trusting your <lastmod> signal completely. Once ignored, Googlebot falls back to slower historical crawl intervals even after major rewrites.
- Bump
<lastmod>on real edits: New prose, updated tables, price or stock changes, new primary data or schema fixes. - Freeze
<lastmod>on cosmetic builds: Navigation tweaks, copyright years, analytics tags or CSS deploys. - Read database or frontmatter dates: Never rely on filesystem
mtimeinside CI/CD containers, where a freshgit cloneresets every file timestamp to the deploy time.
<lastmod> from database updated_at columns, explicit frontmatter dates or git log -1 --format=%cI per file.Honest <lastmod> dates reinforce editorial freshness signals tracked in our content freshness for SEO and AI search study.
Sitemap Protocol Limits, Payload Math And Sharding Rules
The sitemaps.org protocol and Google Search Central enforce two simultaneous limits per sitemap file: 50,000 URLs and 50 MB (52,428,800 bytes) uncompressed. A root <sitemapindex> can list up to 50,000 child sitemaps under the same 50 MB cap, supporting up to 2.5 billion URLs per domain.
Teams expect to hit 50,000 URLs first. On multilingual or media-heavy sites, uncompressed byte weight hits 50 MB far earlier.
In this worked calculation using 68-character URLs, adding <changefreq> and <priority> inflates 50,000 URLs from 6.8 MB to 9.6 MB—a 41.2% payload tax for zero SEO return. Embedding 10 xhtml:link alternates per URL pushes 50,000 entries to 49.5 MB, right at the truncation ceiling. Gzip (.xml.gz) saves transfer bandwidth, but Google enforces the 50 MB limit strictly on uncompressed XML.
Sharding by page template pays off even below 10,000 URLs.
| Site Scale | Recommended Sharding Pattern | Target URLs Per Shard | Diagnostic Payoff |
|---|---|---|---|
| Under 10,000 URLs | Template shards (guides, products, categories) | 2,000 to 5,000 | Separates indexation rates by template |
| 10,000 to 250,000 URLs | Template plus taxonomy (products-audio.xml) | 10,000 to 25,000 | Isolates thin programmatic clusters |
| 250,000 to 5,000,000 URLs | Template plus recency (listings-2026-q4.xml) | 25,000 to 40,000 | Separates active inventory from archives |
| Over 5,000,000 URLs | Nested indexes by vertical and freshness tier | 40,000 max | Prevents timeouts and 50 MB breaches |
Splitting by section turns Google Search Console's Sitemaps report into a free diagnostics dashboard: you immediately see whether editorial guides index at 95% while faceted category leaves stall at 20% under Crawled — currently not indexed.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/blog/xml-sitemaps-and-indexnow-data</loc>
<lastmod>2026-11-27T14:30:00+00:00</lastmod>
</url>
<url>
<loc>https://example.com/blog/internal-linking-architecture-data</loc>
<lastmod>2026-11-18T09:15:00+00:00</lastmod>
</url>
</urlset>
Declare your root index inside /robots.txt using the robots.txt Sitemap directive spec. In the HTTP Archive Web Almanac (2024–2025 SEO chapter), 81% to 82% of sites return HTTP 200 for /robots.txt, while 14% to 16.5% return 404 Not Found—missing the first file crawlers check for sitemap paths.
Image, Video, News And Hreflang Sitemap Extensions
Specialized XML namespaces supplement standard crawling when media or regional mappings are hard to parse from HTML alone.
- News sitemaps (
xmlns:news): Capped by Google at 1,000 URLs and restricted to articles published within the last 48 hours. Expire older stories out of the news shard automatically while keeping them in your standard sitemap. - Image sitemaps (
xmlns:image): Allow up to 1,000<image:image>tags per<url>. Useful when images load via JavaScript or live on a separate verified CDN host. - Video sitemaps (
xmlns:video): Require<video:thumbnail_loc>,<video:title>,<video:description>and a content or player URL, paired withVideoObjectschema on-page. - Hreflang sitemaps (
xmlns:xhtml): Every URL in a locale cluster must list reciprocal<xhtml:link rel="alternate">entries including itself. Because 15 locales multiply XML weight roughly 12x, cap hreflang shards at 5,000 to 10,000 URLs and validate reciprocity using our hreflang and international SEO guide.
Cross-domain sitemaps work only when every listed host is verified in Search Console or explicitly declared in the respective robots.txt files. Otherwise Googlebot drops foreign-host entries silently.
How RSS And Atom Feeds Complement XML Sitemaps
XML sitemaps list your full canonical inventory. RSS 2.0 and Atom 1.0 feeds list what changed recently. Google Search Central explicitly recommends publishing both: XML sitemaps for complete coverage and RSS or Atom feeds for faster discovery of new and edited URLs.
Because an Atom feed holds only the latest 20 to 100 edits, its payload stays under 150 KB and parses in milliseconds. Googlebot polls active feeds far more often than multi-megabyte sitemap archives.
- Keep feeds recent: Output the latest 50 to 100 created or materially edited canonicals sorted newest first.
- Match timestamps: Align Atom
<updated>or RSS<pubDate>with your visible edit date and XML<lastmod>. - Add autodiscovery links: Include
<link rel="alternate" type="application/rss+xml">per our rel="alternate" RSS spec, and submit the feed URL inside Search Console's Sitemaps panel.
How The IndexNow Protocol Works Under The Hood
IndexNow replaces passive crawl polling with an authenticated HTTP webhook. Co-founded in October 2021 by Microsoft Bing and Yandex, the protocol lets publishers notify participating engines the moment a URL is created, edited or deleted.
Verification uses a static root key rather than OAuth tokens. Generate a UTF-8 key of 8 to 128 characters (a-z, A-Z, 0-9, -) and host a plain-text file named {key}.txt at your domain root containing that exact string.
When pages change, your backend sends a single-URL GET or a batch JSON POST of up to 10,000 URLs to https://api.indexnow.org/indexnow. One call fans out automatically to Microsoft Bing, Yandex, Seznam.cz, Naver, Yep, Amazon and the Internet Archive.
- 1Filter To 200 CanonicalsEmit live HTTP 200 canonicals only—zero 301s, 404s, parameterized URLs or noindex pages.
- 2Stamp Real LastmodUpdate lastmod strictly on substantive body, table or data edits—never on cosmetic deploys.
- 3Declare In Robots.txtAdd an absolute Sitemap: https://domain.com/sitemap.xml line inside /robots.txt.
- 4Publish Atom FeedServe a 50-to-100-item feed of recent edits for fast Googlebot recrawl pickup.
- 5Ping IndexNow On DeployPOST created, edited or deleted URLs (up to 10,000 per batch) to api.indexnow.org.
curl -sS -o /dev/null -w "Key HTTP: %{http_code}\n" \
"https://example.com/a9f4c2e8b7d1406391f2a8c5e3b0d472.txt"
curl -sS -w "\nIndexNow HTTP: %{http_code}\n" \
-X POST "https://api.indexnow.org/indexnow" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{
"host": "example.com",
"key": "a9f4c2e8b7d1406391f2a8c5e3b0d472",
"keyLocation": "https://example.com/a9f4c2e8b7d1406391f2a8c5e3b0d472.txt",
"urlList": [
"https://example.com/blog/xml-sitemaps-and-indexnow-data",
"https://example.com/blog/canonical-tags-and-duplicate-content"
]
}'
IndexNow accelerates removals too. Submitting a retired URL that now returns 404 or 410 prompts Bingbot and partner crawlers to verify the deletion and purge stale snippets in hours rather than weeks.
IndexNow Adoption And Why Bing Discovery Matters For AI
Microsoft Bing Webmaster Blog milestones show IndexNow scaling from 1.2 billion URLs per day in its first year to 1.4 billion and now over 3.5 billion URLs per day, accelerated by native support in Cloudflare Crawler Hints, Wix, Shopify, Akamai, Yoast, Rank Math and All in One SEO.
Microsoft Bing reports that 7% to nearly 18% of newly clicked URLs in Bing search results come via IndexNow submissions across measured windows. StatCounter puts Bing at 4.77% global search share across all devices—and over 10% on desktop in several major markets.
Ignoring IndexNow because Google sits out misses AI answer grounding. Bing's live index directly powers Microsoft Copilot citations reported in Bing Webmaster Tools, while Amazon uses IndexNow for crawler freshness and Naver and Seznam lead South Korea and Czechia. Pushing post-deploy diffs cuts Bing and Copilot discovery latency from days to minutes—see our Bing and Copilot search performance data breakdown.
IndexNow HTTP Status Codes, Key Rules And Failure Modes
Most broken IndexNow integrations fail silently because backends ignore response codes. The IndexNow.org specification defines six exact status codes.
| HTTP Status | Protocol Meaning | Common Cause | Required Action |
|---|---|---|---|
200 OK | URLs received; key verified | Healthy submission | Log batch ID; no retry |
202 Accepted | URLs queued; key check pending | First ping or cache refresh | Confirm {key}.txt returns 200 UTF-8 |
400 Bad Request | Invalid JSON or syntax | Empty urlList or bad header | Stop retries; fix payload format |
403 Forbidden | Key invalid or unreachable | WAF block, missing file or BOM | Allowlist {key}.txt; serve plain UTF-8 |
422 Unprocessable Entity | URL host mismatch | www vs. apex or staging URL | Filter URLs strictly by host |
429 Too Many Requests | Rate-limited as spam | Re-submitting unchanged catalog | Back off; push changed diffs only |
Watch Cloudflare Crawler Hints for scanner noise. Cloudflare's one-click Crawler Hints detects edge cache misses and content hash changes, then pings IndexNow automatically. On sites hit by exploit bots probing nonexistent .php paths, uncached 404 spikes can flood your Bing IndexNow log unless your CDN excludes non-200 responses and strips query noise.
WAF bot rules also cause silent 403 Forbidden failures. If security rules challenge non-browser requests to /*.txt, Bing's validator cannot read your key file. Allowlist the exact {key}.txt path and test it with curl externally.
Google Indexing API Limits And Push Vs. Pull Tradeoffs
Teams often try to repurpose the Google Indexing API as a Google substitute for IndexNow. Google's documentation restricts it strictly to JobPosting pages and livestream BroadcastEvent markup inside VideoObject, with a default quota of 200 publish requests per day. Submitting normal blog posts or product pages violates policy and gives no durable indexation gain.
Assign each discovery channel to the exact job it was built to perform.
| Discovery Channel | Supported Engines | Typical Latency | Hard Capacity Cap | Eligible Scope |
|---|---|---|---|---|
| XML Sitemap + Index | Google, Bing, Yandex, Applebot, AI bots | Hours to days | 50,000 URLs / 50 MB | Full canonical inventory |
| RSS / Atom Feed | Google, Bing, AI fetchers | Minutes to hours | 50 to 100 recent URLs | Newly created and edited pages |
| IndexNow API | Bing, Yandex, Naver, Seznam, Yep, Amazon, Archive | Seconds to minutes | 10,000 URLs / POST | Created, updated or deleted URLs |
| Google Indexing API | Google only | Minutes | 200 requests/day | JobPosting and livestreams only |
| Internal Link Graph | All web and AI crawlers | Continuous | Crawl depth hierarchy | Core authority and indexation gate |
Why 61.94% Of Sitemap URLs Still Stay Unindexed
Submitting a sitemap or pinging IndexNow accelerates crawling, not indexing. In IndexCheckr's study of 16 million tracked pages, 61.94% (~9.03 million) were not indexed by Google despite a live domain, 37.08% (~5.4 million) were indexed, and 0.98% (~143,068) belonged to unindexed domains.
Read that headline with methodological care. IndexCheckr tracks URLs submitted by users of an index-checking tool—a self-selected cohort skewed toward new launches, programmatic templates and troubled URLs rather than a random web sample. Even so, its retention findings are stark: indexed pages took an average of 27.4 days to enter Google's index, and 21.29% of indexed pages were later deindexed.
Four structural defects explain most unindexed sitemap URLs:
- Orphan URLs: Listing pages in
/sitemap.xmlwith zero internal links signals low importance—see our internal linking architecture study. - Canonical conflicts: Emitting URL A in the sitemap while HTML
<link rel="canonical">points to URL B splits signals, covered in our canonical tags guide. - Thin templates: Swapped-keyword programmatic pages or filter permutations land in Crawled — currently not indexed—see our pagination and faceted navigation SEO guide.
- Status or rendering failures: Soft 404s, origin
5xxtimeouts or broken hydration stop indexation cold—see our HTTP status codes guide.
Diagnosing Sitemap Pollution And Crawl Budget Waste
Sitemap pollution happens when non-canonical, redirected, blocked or dead URLs leak into /sitemap.xml, burning crawl budget and eroding trust in your manifest.
Quarterly, reconcile your (1) XML sitemaps, (2) full site crawl and (3) server access logs (see our log file analysis for SEO and AI bots guide). Fix four failure modes immediately:
- Non-200 URLs in sitemaps: Keep
3xx,4xxand5xxentries at 0.0% (except a temporary 14-to-30-day migration sitemap used to speed redirect pickup, then deleted). robots.txtvs. sitemap conflicts: Never list URLs disallowed in/robots.txtor taggednoindex. Check how AI bots read your crawl file in our AI crawlers and robots.txt guide.- Host or slash drift: Every
<loc>must match exact protocol (https), hostname (wwwvs. apex) and trailing slash. - Sitemap-only orphans: Any high-value URL missing from your internal link crawl needs contextual links from topic hubs—monitor coverage drops via our Google Search Console diagnostics data workflow.
Production Discovery Playbook For Engineering Teams
Wire sitemap checks and IndexNow diffs straight into CI/CD. This TypeScript helper deduplicates changed canonicals, enforces hostname parity, chunks at 10,000 URLs and backs off cleanly on 429.
const ENDPOINT = "https://api.indexnow.org/indexnow";
const MAX_BATCH = 10_000;
export async function pushIndexNowDiff(host: string, key: string, urls: string[]) {
const valid = Array.from(new Set(urls)).filter((u) => {
try { return new URL(u).host === host; } catch { return false; }
});
for (let i = 0; i < valid.length; i += MAX_BATCH) {
const body = JSON.stringify({
host,
key,
keyLocation: `https://${host}/${key}.txt`,
urlList: valid.slice(i, i + MAX_BATCH),
});
for (let attempt = 1; attempt <= 3; attempt++) {
const res = await fetch(ENDPOINT, {
method: "POST",
headers: { "Content-Type": "application/json; charset=utf-8" },
body,
});
if (res.status === 200 || res.status === 202) break;
if (res.status === 429 && attempt < 3) {
await new Promise((r) => setTimeout(r, 1_000 * 2 ** attempt));
continue;
}
throw new Error(`IndexNow failed (${res.status})`);
}
}
}
Ship this four-step rollout in one sprint:
- Strip dead tags and shard by template: Remove
<priority>and<changefreq>, cap shards at 25,000 to 40,000 URLs (5,000 to 10,000 for multi-locale hreflang), and bind<lastmod>to real content edits. - Gate deploys on 200 canonical parity: Crawl
<loc>URLs in staging and fail builds if redirects,noindextags or canonical mismatches appear. - Publish Atom feed and root
Sitemap:line: Serve a 50-to-100-item Atom feed, declare your root index in/robots.txtand submit both in Search Console and Bing Webmaster Tools. - Automate diff-only IndexNow pushes: Host
{key}.txtat root, allowlist it in your WAF and invokepushIndexNowDiff()solely on created, edited or410-deleted canonicals after deploy.
Frequently Asked Questions
Does Google Still Use Priority Or Changefreq Tags In XML Sitemaps?
No, Google Search Central explicitly states that Google ignores both <priority> and <changefreq> tags in XML sitemaps, relying instead on accurate <lastmod> timestamps and observed crawl history.
What Are The Hard Size Limits For A Single XML Sitemap?
Every single XML sitemap file is capped at 50,000 URLs and 50 MB uncompressed. Larger sites must split URLs into child sitemaps referenced by a root <sitemapindex> file.
Does Google Support The IndexNow Protocol?
No, Google does not participate in IndexNow and continues to rely on XML sitemaps, RSS/Atom feeds and internal links. IndexNow notifies Microsoft Bing, Yandex, Seznam, Naver, Yep, Amazon and the Internet Archive.
How Many URLs Can You Submit In One IndexNow Request?
The IndexNow specification allows up to 10,000 URLs per HTTP POST request to api.indexnow.org, verified by hosting a matching key text file at the root of your domain.
Why Are URLs In My XML Sitemap Still Not Indexed By Google?
XML sitemaps act as discovery hints rather than indexing guarantees. Orphan URLs with zero internal links, canonical mismatches and thin templates frequently remain in 'Crawled — currently not indexed'.