# Google-InspectionTool: allow it or block it?

> For the complete documentation index, see [llms.txt](https://attensira.com/llms.txt).
> Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.

> Google-InspectionTool is the fetcher behind URL Inspection and the Rich Result Test. Why to allow it, and why Search Console says it cannot fetch.

- Canonical page: https://attensira.com/bots/google-inspectiontool
- Family: bots
- Last updated: 2026-10-04
- Author: Karl-Gustav Kallasmaa (https://attensira.com/about)
- Claims as data: https://attensira.com/claims.json?slug=google-inspectiontool

**In short:** Google-InspectionTool is the fetcher Google's testing tools use: when you run URL Inspection in Search Console or the Rich Result Test, this agent loads your page. Allow it. Google states it has no effect on Search or other products, so blocking it changes nothing for rankings and only stops your own diagnostics from seeing the page.

AI traffic on attensira.com, 30 days to 2026-10-04 (Attensira AI traffic board, n=143,601 requests): no request filed as Google-InspectionTool. User agents as sent, not checked against address lists.

The other SEO crawlers, with attensira.com's rule for each:

- AhrefsSiteAudit: No named group
- MJ12bot: No named group
- rogerbot: No named group
- Screaming Frog SEO Spider: No named group
- SemrushBot: Blocked site-wide
- AhrefsBot: Blocked site-wide
- DataForSeoBot: No named group
- dotbot: No named group

## How do I allow or block Google-InspectionTool in robots.txt?

Paste this into the robots.txt at the root of your domain.

```
# This is what fetches your page when you press Test in Search Console.
# Disallowing it does not change your rankings; it blinds your own tooling.
User-agent: Google-InspectionTool
Allow: /

User-agent: Googlebot
Allow: /
```

We do not name Google-InspectionTool. It follows the Googlebot group instead (Google lists Googlebot as its second token), which allows everything except /api/.

```
# No group names Google-InspectionTool, so it reads the Googlebot group.
User-agent: Googlebot
Allow: /
Disallow: /api/
```

## Who runs Google-InspectionTool, and what is it for?

- robots.txt token: `Google-InspectionTool`
- Operator: Google (https://www.google.com)
- What the fetch is for: Product operations. Loads your page when someone runs URL Inspection in Search Console or the Rich Result Test. Google states it has no effect on Search or other products.
- robots.txt: Operator states it respects robots.txt
- Operator documentation: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers (read 2026-09-03)

## Should you ever block Google-InspectionTool?

Almost never. Google documents rules addressed to Google-InspectionTool as affecting Search testing tools such as the Rich Result Test and URL inspection in Search Console, and states it has no effect on Google Search or other products ([Google](#claim-inspectiontool-purpose)). Press *Test live URL* and this is the agent that arrives.

So a block gains nothing for rankings and costs you your own diagnostics. It is the one agent in this directory whose traffic you generate yourself, which is why the robots.txt block above allows it explicitly instead of disallowing it.

## Why does Search Console say it cannot fetch a page that loads fine?

This is the failure the token actually causes, and almost nobody causes it on purpose. The symptom: URL Inspection reports the page could not be fetched, the page loads perfectly in a browser, and Googlebot is crawling normally.

The usual cause is the header. Google's documented desktop string is `Mozilla/5.0 (compatible; Google-InspectionTool/1.0)`: no Chrome fragment, no platform, nothing browser-shaped ([Google](#claim-inspectiontool-strings)). Bot filters that allowlist Googlebot by pattern often fail to recognise it, and the rejection happens at the edge, above your application, where nobody looks.

Check three places, in this order:

1. **The robots.txt group.** Is there a `Disallow` under `Google-InspectionTool`, `Googlebot` or `*` for that path?

1. **The WAF or CDN bot rules.** Does the rule that admits Googlebot also admit this header? This is nearly always the answer.

1. **Application-level allowlists.** Any middleware that checks user agents against a list of browsers or named crawlers.

The right fix is to allow verified Google-InspectionTool, not anything that sends the short header. The header is free text, and a string that simple is trivial to copy.

## How do I verify that a visit really came from Google-InspectionTool?

A user-agent header is free text, so a log line naming Google-InspectionTool is a claim until you check it.

Published IP ranges:

- https://developers.google.com/static/crawling/ipranges/common-crawlers.json

Reverse DNS: look up the accessing IP, confirm the hostname ends in one of these, then forward-look-up that hostname and confirm it returns the same IP.

- `googlebot.com`
- `geo.googlebot.com`

One of Google's common crawlers, so it verifies the way Googlebot does. Do it deliberately if you run a strict allowlist: the short desktop header is exactly the shape heuristic bot filters reject, and what you admit should be the verified agent, not its header.

## Why does a Googlebot rule also block your tests?

Google lists this agent's robots.txt tokens as both `Google-InspectionTool` and `Googlebot` ([Google](#claim-inspectiontool-tokens)). A `Disallow` addressed to `Googlebot` on a path therefore also stops the testing tools working there.

People hit this on staging subdomains and private sections. The intent was to keep a section out of the index; the effect was to make it untestable. If you want a section out of Search but testable, a robots.txt rule cannot express that, because both agents answer to the Googlebot token. Use a `noindex` on those pages instead and leave robots.txt open for them. The wildcard behaves differently from what many people expect. Google's crawlers follow only the most specific group that matches them and never combine it with `User-agent: *` ([Google](#claim-google-robots-precedence)). A `User-agent: *` `Disallow: /` binds this tool only while no `Google-InspectionTool` or `Googlebot` group exists; once one does, that group's rules are the only ones it reads.

## Is Google-InspectionTool part of your AI or search traffic?

Neither. In the four-way job taxonomy of the AI crawler guide, it is product operations: it builds no index, feeds no model and produces no citation. A rise in its hits means your team has been testing pages. It says nothing about how Google, or any AI engine, sees you.

Keep it in its own row. A crawler report that lumps test fetches in with indexing fetches shows a Googlebot "spike" every time someone audits the site, and somebody then spends a morning explaining a number that meant nothing.

## How should you match it in logs and allowlists?

Both published strings carry `Google-InspectionTool/1.0`, and the `1.0` is a version Google can increment ([Google](#claim-inspectiontool-strings)). Match the bare token `Google-InspectionTool`, case-insensitively, as a whole word. Do it in your log filters and in your CDN's allowlist, which is the one people forget.

## What can Attensira show you about Google-InspectionTool?

AI traffic, on Growth and Business, counts crawler fetches per operator and declared purpose at the edge, so testing traffic does not get mistaken for indexing. It reports user agents as sent; the reverse DNS check is still yours. The question that matters for AI visibility is a different one, whether engines cite your pages, and Attensira reads that in the answers themselves every day. See [crawler logs](/features/crawler-logs) and the [robots.txt generator](/tools/robots-generator).

```
Mozilla/5.0 (compatible; Google-InspectionTool/1.0)
```

Carries a version the operator increments; check the operator's page before relying on the exact string.

## Should I allow Google-InspectionTool in my situation?

- **URL Inspection reports that the page could not be fetched, but the URL loads fine in your browser and Googlebot is crawling normally.** Check whether Google-InspectionTool is being blocked, in robots.txt and at the WAF. Google documents Google-InspectionTool as its own agent with its own robots.txt token, so a rule or a filter can stop the testing tools while leaving indexing untouched. The desktop header "Mozilla/5.0 (compatible; Google-InspectionTool/1.0)" is short and browser-unlike, which is exactly what heuristic bot filters reject even when they allowlist Googlebot.

- **You are pruning crawler traffic and Google-InspectionTool is on the list to disallow.** Leave it allowed unless the volume is genuinely a problem, and expect the volume not to be. Its fetches are triggered by someone on your side pressing a button in Search Console, so the traffic scales with your own testing rather than with Google's crawling. Disallowing it saves almost nothing and costs you the ability to diagnose the next indexing problem from inside Google's own tooling.

- **Someone proposes a blanket Googlebot Disallow on a staging subdomain and wants to keep testing it in Search Console.** Those two goals conflict. Google lists Googlebot among this agent's tokens. Google documents Google-InspectionTool's robots.txt tokens as both Google-InspectionTool and Googlebot, so a Googlebot group can govern the testing fetcher too. If you need the tools to work on a path, the rule blocking Googlebot there will have to be narrowed or the testing will fail in a way that looks like a Google bug.

## FAQ

### Why does URL Inspection say my page cannot be fetched when it loads in a browser?

Usually a bot filter. The desktop header is Mozilla/5.0 (compatible; Google-InspectionTool/1.0), with no browser-shaped detail, and WAF or CDN rules that allowlist Googlebot by pattern often reject it. Check the robots.txt group, then the WAF or CDN bot rules, then any application user-agent allowlist.

### Does a Googlebot Disallow block Google-InspectionTool?

Yes. Google lists this agent's robots.txt tokens as both Google-InspectionTool and Googlebot, so a path disallowed for Googlebot cannot be tested either. That is why staging sections kept out of the index often become untestable too.

### Is Google-InspectionTool an AI crawler?

No. It builds no index, feeds no model and produces no citation. It is the test fetcher for Google's own tools, and a rise in its traffic means someone has been testing pages.

## Sources

Each entry below is one claim on this page. `retrieved` is the date the exporter or a human last saw the source say this, and nothing more: it is not a publication date and not a promise of re-verification. `cite` is the anchor on the canonical page where this claim is rendered.

### google-robots-precedence

Google documents that only one robots.txt group is valid for a particular crawler. Its crawlers follow the group with the most specific user agent that matches and ignore the others, and user-agent-specific groups are not combined with the * group.

- source: https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt (developers.google.com)
- retrieved: 2026-10-04
- cite: https://attensira.com/bots/google-inspectiontool#claim-google-robots-precedence

> Only one group is valid for a particular crawler.
### inspectiontool-purpose

Google documents that crawling preferences addressed to the Google-InspectionTool user agent affect Search testing tools such as the Rich Result Test and URL inspection in Search Console, and that it has no effect on Google Search or other products.

- source: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers (developers.google.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/google-inspectiontool#claim-inspectiontool-purpose

> Crawling preferences addressed to the Google-InspectionTool user agent affect Search testing tools such as the Rich Result Test and URL inspection in Search Console.
### inspectiontool-strings

Google documents Google-InspectionTool's desktop header as "Mozilla/5.0 (compatible; Google-InspectionTool/1.0)" and a mobile form built on the Nexus 5X Chromium preamble also ending in "(compatible; Google-InspectionTool/1.0)".

- source: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers (developers.google.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/google-inspectiontool#claim-inspectiontool-strings
### inspectiontool-tokens

Google lists Google-InspectionTool's robots.txt user agent tokens as Google-InspectionTool and Googlebot.

- source: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers (developers.google.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/google-inspectiontool#claim-inspectiontool-tokens
### google-robots

Google states that its common crawlers always respect robots.txt rules for automatic crawls.

- source: https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers (developers.google.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/google-inspectiontool#claim-google-robots

> always respect robots.txt rules for automatic crawls
### google-verification

Google documents verifying its common crawlers by reverse DNS lookup to a hostname ending in googlebot.com or geo.googlebot.com followed by a forward lookup back to the same address, or by matching the address against its published common-crawlers.json range file.

- source: https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot (developers.google.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/google-inspectiontool#claim-google-verification
