website security

How to verify Googlebot before you block anything

A Googlebot user agent proves nothing alone. Run a reverse DNS lookup on the IP, then a forward lookup that must match it. Block only unverified requests.

Your host's dashboard shows a burst of requests labeled Googlebot, and a security plugin is suggesting you block them. You want to know how to verify Googlebot first, because blocking the wrong visitor is the one move that could cost you search traffic.

The label proves nothing on its own. Google says the Googlebot User-Agent "is often spoofed by other crawlers," which means anyone can type that name into a request. What proves it is the IP address behind the request, and checking it takes two quick lookups.

Verified Googlebot traffic can be left alone. Unverified traffic can be blocked narrowly, and blocking an impostor leaves Google's access untouched when the rule matches only unverified requests. You can run the first check in about ten minutes.

Key Takeaways

The label proves nothing

Any visitor can send "Googlebot" as its User-Agent, so the source IP is what you check, by reverse and forward DNS or against Google's published ranges.

Compare before you block

Search Console's Crawl stats report, found under Settings, shows what Google says it crawled, and you set it beside your host logs.

Block narrowly

Stop unverified or abusive requests at the host, CDN or security plugin, never by User-Agent alone, and recheck Search Console afterward.

How do I verify that a request is really Googlebot?

Google gives a direct method in its guide to verifying requests from Google crawlers and fetchers. You take the IP address from the request and check it two ways. Passing either one makes the request credible; failing both means you are looking at an impostor or something else entirely.

The first way is a pair of DNS lookups. Start with a reverse DNS lookup on the IP, which asks which hostname belongs to that address. The hostname should end in googlebot.com, google.com or googleusercontent.com. Then run a forward lookup on that hostname and confirm it returns the original IP. The second lookup matters because anyone can set a reverse record that looks right; only a match in both directions counts.

The second way is a range check. Google publishes IP-range files for its common and special crawlers, and a request from an address inside those ranges is a match. Both methods are described in Google's own page on what Googlebot is.

A brass key ring with two matching keys laid side by side on a plain linen cloth.
A real crawler matches in both directions: the IP points to the name, and the name points back to the IP.

What should I save from a suspicious request?

Before you check anything or change a rule, copy the evidence out of your logs. Save the IP address, the timestamp, the path that was requested, the User-Agent text, the status code your server returned and how often that IP is hitting you. Six facts are enough to make the check and to show a host or a specialist exactly what you saw.

Pick one suspicious IP to start with rather than trying to sort the whole list. If that single address fails the check, you have a pattern to look for. If it passes, you have learned that the traffic is Google and the right move is usually to leave it be.

Keep the original log lines as they are. Logs can roll over or be trimmed by your host, and a copy saved today makes any later conversation shorter.

A closed notebook with a pencil resting on top, beside a small stack of blank index cards on a wooden desk.
Six saved facts from one suspicious request are enough to run the check.

How do I compare my host's numbers with Search Console?

Open Search Console for the root property, go to Settings, then Crawl stats. Google's Crawl Stats report shows crawl requests, response codes, response times, host status, crawl purpose, file type and the Googlebot type. Set it next to your host's traffic report for the same dates.

What to compare between Crawl stats and your host logs
In Search ConsoleIn your host or CDN logsWhat a match tells you
Googlebot typeUser-Agent text on the suspicious IPWhich Google crawler the request claims to be
Timing of the crawlTimestamps of the burstWhether the spike lines up with a Google crawl
Response codesStatus codes your server sentWhether Google is seeing errors your visitors also see
Affected pathsRequested URLsWhich pages the traffic is asking for
Host statusServer load and uptimeWhether the site is struggling under the requests
In Search ConsoleGooglebot type
In your host or CDN logsUser-Agent text on the suspicious IP
What a match tells youWhich Google crawler the request claims to be
In Search ConsoleTiming of the crawl
In your host or CDN logsTimestamps of the burst
What a match tells youWhether the spike lines up with a Google crawl
In Search ConsoleResponse codes
In your host or CDN logsStatus codes your server sent
What a match tells youWhether Google is seeing errors your visitors also see
In Search ConsoleAffected paths
In your host or CDN logsRequested URLs
What a match tells youWhich pages the traffic is asking for
In Search ConsoleHost status
In your host or CDN logsServer load and uptime
What a match tells youWhether the site is struggling under the requests

Expect the totals to differ. Google says the report does not necessarily include every request, and some totals can include attempted crawls when robots.txt was unavailable. So, compare patterns instead of counts: the same pages, the same hours, the same kinds of responses.

A burst in your logs with nothing matching in Crawl stats, from an IP that fails the lookup, points to an impostor. A burst that matches Google's pattern and passes the lookup is the real crawler.

Will blocking fake Googlebot hurt my Google rankings?

Blocking an impostor leaves Google alone, as long as the rule matches only the unverified traffic. The danger is in how the rule is written. A rule that blocks everything claiming to be Googlebot, or a whole shared IP range, can catch the real crawler along with the fakes.

Real Googlebot is a different matter. Blocking it can stop Google from crawling pages and resources needed for Search, Discover, Images, Video, News and other Google features. Google also notes that a blocked page may still show its URL in search results without a description, because crawling and indexing are separate functions.

So, block by verified identity and by behavior. If you use Cloudflare, its verified bots documentation describes how verified bots are identified, using signals such as published IP lists, stable User-Agent identification, reverse DNS or Web Bot Auth. Cloudflare recommends allowing verified bots separately from generic automated traffic. In its rules, `cf.bot_management.verified_bot` can be used to skip custom blocking rules, while low bot scores can be challenged or blocked, as the guide to challenging bad bots shows.

Security plugins carry the same risk. Wordfence's rate limiting help documents that a rule granting unlimited access based only on a Googlebot User-Agent can also grant access to an impostor. Confirm the exact menu names and controls in your own host, CDN or plugin documentation, because they differ by provider and plan.

A heavy iron gate latch fastened on a narrow wooden door, with the wider door beside it left open.
A narrow block shuts out the impostor and keeps the door open for verified Google traffic.

What is the safe order of work?

The order matters more than any single setting, and it keeps real Google traffic safe at every step.

  1. Save the request details from the suspicious IP.
  2. Verify that IP by reverse and forward DNS or against Google's published ranges.
  3. Compare Crawl stats in Search Console with your host logs.
  4. Block unverified or abusive traffic narrowly, at the host, CDN or security plugin.
  5. Recheck Search Console and your server's health after the change.

The last step catches mistakes early. After a rule goes live, watch Crawl stats for new errors, confirm your important pages still load, and check that your server's response times settle. A clean host-status history in Search Console is the sign the change did what you wanted.

If something looks wrong, undo the rule first and investigate second. A rule that can be switched off in seconds costs far less than a week of blocked crawling.

Can robots.txt or noindex stop fake bots?

Neither one checks who is asking. The robots.txt format is defined in IETF RFC 9309, which covers User-Agent groups and allow or disallow rules. It is a set of voluntary instructions for crawlers that choose to follow them, and a file cannot confirm that a crawler is who it claims to be.

Google's introduction to robots.txt says to use it to manage crawling, not as a way to keep private information private. For genuinely private content, Google recommends authentication or password protection.

The `noindex` tag has a separate job. Google's guide to blocking search indexing describes it as the tool for preventing indexing, whereas robots.txt controls crawling. Neither is a traffic filter. Filtering happens at the host, the CDN or the security plugin, where a request can be checked against an IP.

Which Google crawlers are real but look odd?

A request that passes the check is Google, and Google runs more than one crawler. The list of Google's common crawlers separates Googlebot, Googlebot Smartphone, Googlebot Image, Googlebot Video, AdsBot, StoreBot and others. Each has its own purpose, and each can show up in your logs under its own name.

That is why a quick look at the crawler type in Crawl stats helps. AdsBot, for example, is tied to Google's ad tools, so a spike from it may relate to ads sending visitors to your pages rather than to an attack. Check the type before you decide the traffic is unwanted.

Other legitimate crawlers exist too. The useful sort is three groups: verified Google crawlers, other legitimate crawlers, and unverified or abusive automation. Only the third group needs a block. A dashboard that labels a request "automated" is telling you it is a bot, which is different from telling you it is harmful.

Which mistakes cause the most trouble?

The usual mistakes come from acting before the check. The table lists the common ones, with what the fix involves and a rough size, using Google's troubleshooting guidance for crawling errors as the reference point for crawl problems.

Common mistakes, fixes and job size
MistakeWhat fixing it involvesJob size
Trusting the Googlebot User-Agent without checking the IPReplace the weak rule with IP or provider verification, then review logsSmall
Blocking all automated traffic with one broad ruleNarrow the rule to unverified traffic, chosen paths, rate limits or bot scores, then test for false positivesSmall to medium
Confusing AdsBot or Googlebot Image with a fakeCheck the crawler category and the Google tools using itSmall
Using robots.txt as if it were authenticationEdit the file, check syntax and scope, and test key URLsSmall, larger with many subdomains
Applying a rule to the wrong host, subdomain or pathReview the rule's scope and correct itSmall
Slow or overloaded hostingProfile expensive paths, add caching, fix plugin or database work, or change capacityMedium to large
MistakeTrusting the Googlebot User-Agent without checking the IP
What fixing it involvesReplace the weak rule with IP or provider verification, then review logs
Job sizeSmall
MistakeBlocking all automated traffic with one broad rule
What fixing it involvesNarrow the rule to unverified traffic, chosen paths, rate limits or bot scores, then test for false positives
Job sizeSmall to medium
MistakeConfusing AdsBot or Googlebot Image with a fake
What fixing it involvesCheck the crawler category and the Google tools using it
Job sizeSmall
MistakeUsing robots.txt as if it were authentication
What fixing it involvesEdit the file, check syntax and scope, and test key URLs
Job sizeSmall, larger with many subdomains
MistakeApplying a rule to the wrong host, subdomain or path
What fixing it involvesReview the rule's scope and correct it
Job sizeSmall
MistakeSlow or overloaded hosting
What fixing it involvesProfile expensive paths, add caching, fix plugin or database work, or change capacity
Job sizeMedium to large

The last row deserves attention. If your server struggles, legitimate crawling can look harmful simply because each page is expensive to build. Google's crawl budget guide is the place to start for that, and our posts on a website that is slow to load and on what to do when traffic crashes a site cover the server side.

A stopwatch lying on a clean desk beside a closed notebook and a pencil.
The first verification takes about ten minutes, and verified traffic needs no action after that.

What can I stop worrying about?

A high number of automated requests does not prove a Google penalty, a ranking attack or a hacked site. Each of those is a separate question with separate evidence. A count on a dashboard is only a count.

You can also stop expecting Search Console and your server logs to match exactly. Differences between the two are normal. And a request that says Googlebot is no more trustworthy than a stranger who says they are from the phone company, so there is no need to feel bad about checking.

If you also want to know which AI crawlers and agents visit your site, that is a different check, covered in our guide to seeing which AI agents visit your website. Controlling AI training access has its own steps, laid out in the post on Cloudflare and AI training with Googlebot. Verifying Googlebot is about identity: is this request really Google?

When is it worth paying someone to do this?

Run the first check yourself. It needs one suspicious IP, two lookups or a range check, and a look at Crawl stats. If the traffic is verified, leave it alone. A bot count alone is no reason to buy a redesign or a bot-management system.

Professional help earns its fee when the evidence is mixed or a wrong move could cost you access. That includes incomplete logs, a site sitting behind several proxies, a rule that could catch real Google traffic, a server that is overloaded, repeated attacks, or a change that has to be tested across Cloudflare, hosting, WordPress and Search Console.

A specialist can preserve the original logs, verify the IP and DNS chain, tell Googlebot from Google's other crawlers, find the expensive paths, set a narrow rule, test real Google access and watch Search Console afterward. The benefit is lower risk and saved time. No one can promise higher rankings from it.

Is that traffic really Googlebot?

Pick an answer to begin.

1. A request has "Googlebot" in its User-Agent. What does that prove?

2. Which hostname endings are acceptable after a reverse DNS lookup on a real Googlebot IP?

3. Where in Search Console do you compare Googlebot's activity with your host logs?

Frequently Asked Questions About How to Verify Googlebot

Can a fake bot claim to be Googlebot?

Yes. User-Agent text is easy to spoof, and Google says the Googlebot User-Agent is often spoofed by other crawlers. Verify the source IP through reverse and forward DNS or against Google's published ranges.

Will blocking fake Googlebot hurt SEO?

Blocking an impostor leaves Google's access untouched, provided the rule identifies the impostor correctly and does not catch real Google IPs. Recheck Search Console after any change.

Should I block every bot?

No. Separate verified Google crawlers, useful services and abusive automation, and block only the last group.

Where do I check Googlebot activity?

In Search Console, go to Settings, then Crawl stats. It shows requests, response codes, host status and Googlebot types for root-level properties.

Does robots.txt verify Googlebot?

No. Robots.txt gives crawl instructions to crawlers that follow them and cannot confirm who is asking. Identity checks happen at the IP level.

Why do Search Console and my host logs show different numbers?

Google says Crawl stats may leave out some requests, and some totals can include attempted crawls when robots.txt was unavailable. Compare patterns such as paths, timing and response codes.

What This Means for You

The Googlebot name in a log is only text, so the IP address does the proving. Reverse DNS followed by a forward lookup, or a match against Google's published ranges, tells you whether the request is Google. Search Console's Crawl stats gives you a second view to compare with your host logs.

Once you know which traffic is real, the decision is easy. Verified Googlebot stays welcome, and unverified or abusive requests get a narrow block at the host, CDN or security plugin. Recheck Search Console and your server's health afterward, and keep a way to undo the rule.

If your logs are incomplete, your site sits behind several proxies or a rule could catch real Google traffic, Web Leveling can help. Our website security audit covers the log review, the verification and a tested rule across your host, Cloudflare, WordPress and Search Console. We work with small and medium businesses across the country and overseas. Send us what your logs are showing, and we will tell you whether it needs action or can simply be left alone.

Terms

Googlebot words in this post

Tap a term to see what it means.

Googlebot. Google's main web crawler, which fetches pages so they can be considered for Search.

User-Agent. A line of text a visitor sends with each request to say what it is, which anyone can write.

Reverse DNS lookup. A check that asks which hostname belongs to an IP address.

Forward DNS lookup. A check that asks which IP address a hostname points to, used to confirm the reverse result.

Crawl stats. The Search Console report, under Settings, that shows Google's crawl requests, response codes and host status.

Verified bot. A crawler whose identity a platform such as Cloudflare has confirmed through signals like IP lists or reverse DNS.

robots.txt. A public file of crawling instructions that crawlers may follow, which does not check who is asking.