Safe Google Bots

Google-Site-Verification

Operated by Google

Quick Facts

User-Agent:
Google-Site-Verification
Category:
Google Bots
Operator:
Google
Safety:
Safe
Blocking Impact:
Medium - Affects a specific feature, not rankings
SEO Impact Score:
7/10

What is Google-Site-Verification?

Google-Site-Verification fetches the specific file or meta tag that proves you own a domain when you add a property to Google Search Console.

Google-Site-Verification fetches the specific file or meta tag that proves you own a domain when you add a property to Google Search Console. Google-Site-Verification identifies itself with the user-agent token Google-Site-Verification. You can control it with a User-agent: Google-Site-Verification group in robots.txt. Robots.txt is voluntary, so for hard enforcement combine it with server-level blocking.

What happens if you block Google-Site-Verification?

⚠️ Blocking Google-Site-Verification does NOT deindex your site, and it does not affect rankings. It has one specific and self-defeating consequence: Google can no longer fetch the verification file or meta tag that proves you own the domain, so adding or re-verifying the property in Google Search Console will fail. If verification is failing for no obvious reason, check that this user-agent is not disallowed.
Do not block. Blocking it prevents you verifying your own domain.

How to control Google-Site-Verification with robots.txt

<code>User-agent: Google-Site-Verification</code> - Matching is case-insensitive. Robots.txt is fetched from the root of each subdomain separately.

Block completely (robots.txt)
User-agent: Google-Site-Verification Disallow: /
Allow all (robots.txt)
User-agent: Google-Site-Verification Allow: /
Block private only (robots.txt)
User-agent: Google-Site-Verification Disallow: /private/ Disallow: /api/ Disallow: /admin/ Allow: /
Nginx server block
# Nginx: Block Google-Site-Verification if ($http_user_agent ~* "Google-Site-Verification") { return 403 "Bot blocked"; }
Apache .htaccess
# Apache: Block Google-Site-Verification SetEnvIfNoCase User-Agent "Google-Site-Verification" bad_bot Order Allow,Deny Allow from all Deny from env=bad_bot
Meta robots tag
<meta name="robots" content="noindex, nofollow">
X-Robots-Tag header
X-Robots-Tag: noindex, nofollow

Is Google-Site-Verification safe to allow?

Yes, Google-Site-Verification is a **safe and legitimate** crawler. It is operated by Google and documented publicly, and it identifies itself honestly with the token Google-Site-Verification. Do not block. Blocking it prevents you verifying your own domain.
Verify by reverse-DNS: genuine Google fetchers resolve to googlebot.com, google.com or googleusercontent.com. Confirm the forward lookup matches the original IP.

What does Google-Site-Verification do?

Understanding what Google-Site-Verification is for helps you decide whether to allow or block it.

  • Fetches your domain verification file or meta tag
  • Confirms ownership for Google Search Console
  • Runs when you add or re-verify a property
  • Blocking it prevents you verifying your own site
  • Respects robots.txt directives

Frequently Asked Questions

What is the user-agent string for Google-Site-Verification?
Google-Site-Verification uses the token Google-Site-Verification. Match it case-insensitively in robots.txt and in any server-level rule.
Is Google-Site-Verification safe?
Yes. Google-Site-Verification is operated by Google and is documented publicly. Google-Site-Verification fetches the specific file or meta tag that proves you own a domain when you add a property to Google Search Console.
Will blocking Google-Site-Verification hurt my SEO?
Blocking Google-Site-Verification does NOT deindex your site, and it does not affect rankings. It has one specific and self-defeating consequence: Google can no longer fetch the verification file or meta tag that proves you own the domain, so adding or re-verifying the property in Google Search Console will fail. If verification is failing for no obvious reason, check that this user-agent is not disallowed.
How do I block Google-Site-Verification in robots.txt?
Add these lines to /robots.txt:
User-agent: Google-Site-Verification
Disallow: /
To restrict only part of your site, disallow specific paths and allow the rest.