Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

Web Crawler User Agents, robots.txt Rules, and Request Verification

How crawler user-agent strings relate to robots.txt, which bots ignore rules, and how to verify traffic with reverse DNS and published IP lists.

When traffic in server logs claims to be a search or platform bot, the practical questions are which program it really is, whether robots.txt applies, and how to confirm the request is genuine. This page centers on Google’s documentation on crawlers and fetchers, with shorter coverage of Bing, Meta, Perplexity, and Cloudflare where the cluster overlaps those topics.

HTTP User-Agent header vs robots.txt token: why log strings differ

Section titled “HTTP User-Agent header vs robots.txt token: why log strings differ”

The full HTTP user-agent request header is what appears in access logs. The User-agent: token in robots.txt is often shorter and may not match the log string one-to-one. Google treats Googlebot Smartphone and Googlebot Desktop as two crawlers you can see in logs, but both obey the same product token in robots.txt:

However, both crawler types obey the same product token (user agent token) in robots.txt, and so you cannot selectively target either Googlebot Smartphone or Googlebot Desktop using robots.txt.

Some crawlers have no separate HTTP user-agent string and reuse another bot’s string while exposing a dedicated robots.txt token—for example Google-Extended and Googlebot-News. When filtering logs, use wildcards for embedded Chrome versions: documentation uses Chrome/W.X.Y.Z as a placeholder that tracks the Chromium build in use.

Per Google’s robots.txt interpretation, both the field name and value for User-agent: are case-insensitive. Always give each rule group a non-empty user-agent value—empty values make the file invalid for crawlers (as noted in Lighthouse’s invalid robots.txt guidance).

Google crawlers and fetchers: three categories that behave differently

Section titled “Google crawlers and fetchers: three categories that behave differently”

Google’s overview splits automated and on-demand clients into three types. The category determines default robots.txt behavior and which published IP and reverse DNS patterns apply when you verify requests.

Category Typical role Default robots.txt behavior Reverse DNS pattern (examples) IP range reference (per Google docs)
Common crawlers Indexing and product crawls (e.g. Googlebot, Storebot-Google) Respect rules for automatic crawls crawl-*.*.*.*.googlebot.com, geo-crawl-*.*.*.*.geo.googlebot.com common-crawlers.json (see verification doc)
Special-case crawlers Product-specific access with site/product agreements (e.g. AdsBot-Google, APIs-Google) May ignore global User-agent: * or other rules rate-limited-proxy-*.*.*.*.google.com special-crawlers.json
User-triggered fetchers Single fetches on user action (e.g. FeedFetcher-Google, Google-Agent) Generally ignore robots.txt google-proxy-*.*.*.*.google.com or *.gae.googleusercontent.com user-triggered-fetchers.json, user-triggered-fetchers-google.json, user-triggered-agents.json

Google’s common crawlers are used to find information for building Google’s search indexes, perform other product specific crawls, and for analysis. They always obey robots.txt rules when crawling automatically.

User-triggered fetchers are initiated by users to perform a fetching function within a Google product. … Because the fetch was requested by a user, these fetchers generally ignore robots.txt rules.

Common conclusion: Treat “blocked in robots.txt for Googlebot” as blocking automatic Google Search crawling, not every Google-branded client. User-driven fetchers and many special-case bots need explicit tokens, unregistering the product feature, or server-level responses—not only a global Disallow: /.

robots.txt: how to target Googlebot, AdsBot, APIs-Google, and Google-Extended

Section titled “robots.txt: how to target Googlebot, AdsBot, APIs-Google, and Google-Extended”

Rules for User-agent: Googlebot affect Google Search surfaces documented for Googlebot—including mobile-first indexing context from Googlebot documentation. Separate tokens exist for specialized fetch types, for example Googlebot-Image, Googlebot-Video, Storebot-Google, and Google-InspectionTool (testing tools only, not ranking).

Google-Extended is only a robots.txt control token (no dedicated HTTP user-agent string). It manages whether crawled content may be used for Gemini training and related uses—not whether pages appear in Google Search:

Google-Extended does not impact a site’s inclusion in Google Search nor is it used as a ranking signal in Google Search.

Special-case crawlers and the global * wildcard

Section titled “Special-case crawlers and the global * wildcard”

Special-case crawlers are documented with whether they honor User-agent: *. Example: AdsBot-Google and AdsBot-Google-Mobile “ignore the global user agent (*)” with publisher permission in the Ads context. APIs-Google uses its own token and does not follow Googlebot rules:

Use robots.txt. The user agent to specify in the robots.txt file is APIs-Google - APIs-Google does not follow rules for the Googlebot user agent.

To stop API push notifications at the HTTP layer, use User-agent: APIs-Google in robots.txt, unregister the notification consumer, or both—as described in APIs-Google documentation.

User-triggered fetchers: blocking via robots.txt usually fails

Section titled “User-triggered fetchers: blocking via robots.txt usually fails”

Feedfetcher (Feedfetcher documentation) retrieves RSS/Atom because a user subscribed in a Google product; it ignores robots.txt:

Feedfetcher behaves as a direct agent of the human user, not as a robot, so it ignores robots.txt entries.

To refuse feeds, return 404, 410, or another error to the FeedFetcher-Google user agent, or restrict access at the host. The same “user requested the fetch” pattern applies to agents such as Google-Agent, Google-Read-Aloud, Google-Site-Verification, and Google-GeminiNotebook (see user-triggered fetchers list).

Google Read Aloud is explicitly not a link-following crawler:

Google Read Aloud is not a web crawler: it is activated upon user request, and it doesn’t follow links.

For locale-adaptive sites, Google’s international guidance recommends consistent robots.txt and meta robots rules across locales when Googlebot may arrive from geo-distributed IPs.

User agents you are likely to see in logs (Google and others)

Section titled “User agents you are likely to see in logs (Google and others)”
Client Example HTTP identifier robots.txt token Notes
Googlebot (mobile/desktop) compatible; Googlebot/2.1 in a Chrome mobile or desktop string Googlebot Majority of search crawls are mobile; see Crawl Stats “Googlebot type”
AdsBot AdsBot-Google AdsBot-Google Ad quality checks; may ignore * (special-case list)
Mediapartners-Google Mediapartners-Google Mediapartners-Google AdSense/Ad Manager crawling

User-triggered and product fetchers (selected)

Section titled “User-triggered and product fetchers (selected)”

The user-triggered fetchers list includes strings such as FeedFetcher-Google, GoogleMessages, Google-Agent, Google-Read-Aloud (formerly google-speakr), and Mozilla/5.0 (compatible; Google-CWS) for Chrome Web Store metadata checks.

APIs-Google delivers HTTPS POST push notifications; invalid TLS or slow responses trigger retries over days (APIs-Google).

Historic Googlebot-Mobile for smartphones was retired in favor of Googlebot with mobile device tokens (2014 announcement); smartphone crawling then followed Googlebot robots.txt rules, not Googlebot-Mobile.

Provider Crawler Example user-agent substring robots.txt notes
Bing Bingbot compatible; bingbot/2.0 Standard indexing crawler (Bing crawler overview)
Bing AdIdxBot adidxbot/2.0 Bing Ads quality
Meta FacebookExternalHit facebookexternalhit/1.1 Link previews; may bypass robots.txt for security checks (Meta Web Crawlers)
Meta Meta-ExternalFetcher meta-externalfetcher/1.1 User-requested fetches; may bypass robots.txt
Perplexity PerplexityBot PerplexityBot/1.0 Search surfacing; not foundation-model training crawl (Perplexity Crawlers)
Perplexity Perplexity-User Perplexity-User/1.0 User-driven fetches; generally ignores robots.txt
Cloudflare Product crawlers e.g. CloudFlare-AlwaysOnline/1.0, Cloudflare-Healthchecks/1.0 Triggered when those products are enabled (Cloudflare site crawling)

Meta notes up to 24 hours cache for robots.txt changes. Perplexity documents a similar propagation window.

Verify crawler requests: reverse DNS, forward DNS, and IP lists

Section titled “Verify crawler requests: reverse DNS, forward DNS, and IP lists”

Google’s verification guide recommends:

  1. Reverse DNS on the client IP (e.g. with host).
  2. Confirm the hostname is under googlebot.com, google.com, or googleusercontent.com.
  3. Forward DNS on that hostname and confirm it matches the original IP.

Example from Google’s documentation for a common crawler:

host 66.249.66.1
host crawl-66-249-66-1.googlebot.com

Before you decide to block Googlebot, be aware that the HTTP user-agent request header used by Googlebot is often spoofed by other crawlers. It’s important to verify that a problematic request actually comes from Google. The best way to verify that a request actually comes from Googlebot is to use a reverse DNS lookup on the source IP of the request, or to match the source IP against the Googlebot IP ranges.

For APIs-Google spoofing concerns, Google notes reverse DNS may show googlebot.com or google.com (APIs-Google).

At scale, match IPs to the JSON range files named in the verification table for each crawler category. Cloudflare’s bot verification guide describes the same pattern for verified bots: public IP lists and/or reverse DNS against owner-provided domains.

Bing’s crawler overview states that user-agent identification is insufficient. Verifying Bingbot describes reverse DNS to a name ending in search.msn.com, then forward confirmation—or the Verify Bingbot tool. Bing warns against hardcoding IP ranges without refreshing them daily.

Perplexity publishes JSON IP lists for PerplexityBot and Perplexity-User (perplexitybot.json, perplexity-user.json on perplexity.ai).

Common conclusion: Log user-agent strings for classification, but treat IP + DNS (or vendor IP JSON) as the trust boundary. WAF rules keyed only on strings will miss spoofed traffic and may block legitimate bots.

Common mistakes when reading crawler traffic

Section titled “Common mistakes when reading crawler traffic”
  • Assuming one Disallow blocks all Google traffic. Special-case and user-triggered clients often need their own User-agent lines or non-robots.txt controls (overview).
  • Blocking Googlebot to stop AI training. Training/grounding control for Gemini-related uses is Google-Extended, not generic Googlebot (common crawlers list).
  • Expecting robots.txt to stop Feedfetcher or Read Aloud. Use HTTP error responses to the specific user agent (Feedfetcher, Read Aloud).
  • Testing only in Chrome’s default browser UA. Ads and search teams document overriding the user agent (e.g. AdsBot-Google) in DevTools Network conditions to mimic crawlers (Google Ads policy help, Display & Video troubleshooting)—that simulates headers only; it does not replace IP verification.
  • Treating Bing or Google log spikes as attacks without checking bot type. Crawl Stats ties spikes to types such as AdsBot or StoreBot.
  • Parsing browser User-Agent for capability detection on real users. Chrome’s privacy guidance recommends feature detection; User-Agent Client Hints apply to browsers, not crawler verification.
  1. Open server or CDN logs and group requests by HTTP User-Agent, noting tokens documented in Google’s common, special-case, and user-triggered lists (and any other providers you care about).

  2. Compare your root robots.txt User-agent groups to those tokens; confirm special-case bots are not relying on a lone User-agent: * block if you intended to stop them.

  3. Pick a suspicious high-volume IP, run reverse then forward DNS as in Verify requests from Google crawlers and fetchers, or use Verify Bingbot for Bing claims.

  4. In Google Search Console, review Crawl Stats Googlebot type to see whether spikes match AdsBot, StoreBot, or core Googlebot smartphone/desktop fetches.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about so it can be corrected quickly.