How to Verify Googlebot: Real Crawler or Fake?
Anything can claim to be Googlebot in a user agent string. Here is the one check Google publishes for telling the real crawler from the impostors, in plain English.
On this page
If a visit in your logs says it is Googlebot, that proves nothing. A user agent string is just text the visitor sends about itself, and any script can copy Google’s word for word. The only check that settles it is a reverse DNS lookup: take the IP address, ask what hostname it belongs to, and confirm the answer ends in googlebot.com or google.com. Real Googlebot passes. Impostors do not.
That matters because fake Googlebot is one of the most common disguises on the web. Scrapers use it because plenty of sites wave Googlebot through without question, and because it hides comfortably in traffic reports that take the user agent at face value.
Why the User Agent Proves Nothing
Every request your server receives includes a user agent header, and the visitor chooses what goes in it. Changing it takes one line in a script or one setting in a browser’s developer tools. There is no signature, no key, and nothing for your server to check it against.
So the word Googlebot in your access log means only that something wanted you to think it was Googlebot. It might be. It might equally be a content scraper, a competitor’s price monitor, or a vulnerability scanner that found this disguise opens more doors than an honest one.
The Reverse DNS Check, Step by Step
Google publishes one verification method and it works in two directions.
First, run a reverse DNS lookup on the IP address that made the request. On Windows that is nslookup followed by the address; on macOS or Linux, use the host command. You are looking for a hostname ending in googlebot.com or google.com.
Second, and this is the step people skip, run a forward lookup on the hostname you just got back and confirm it resolves to the same address you started with. Without that second step, a spoofed DNS record could name any hostname it likes. Matching in both directions is what makes the check trustworthy.
If either direction fails, the request is not from Google.
The IP Range Alternative
Google also publishes machine readable lists of the IP ranges its crawlers use, which some site owners prefer because matching an address against a list is faster than running two DNS lookups.
The trade-off is maintenance. The ranges change, so a copy you saved last year is a liability rather than a shortcut. If you go this route, fetch the current list on a schedule instead of hardcoding it. For occasional manual checks, reverse DNS is simpler and never goes stale.
What Fake Googlebot Actually Costs You
The damage is rarely dramatic, which is why it goes unnoticed for so long.
The clearest cost is measurement. A crawler that visits 400 pages looks like an unusually engaged visitor in any report that counts requests without classifying them. Multiply that across a few scrapers and your pageview total drifts upward while your real audience stays flat. Decisions made on that number are decisions made on noise, and if your analytics plan charges by pageview you are also paying for it.
The second cost is server load. Aggressive scrapers ignore crawl delay hints and can hit a small site harder than every human visitor combined.
The third is content theft. The Googlebot disguise is popular with scrapers precisely because it gets past naive blocking rules, and the content it lifts often ends up on sites competing with you for the same search terms.
Do Not Break Real Googlebot
Here is the asymmetry that should govern every rule you write: letting a fake crawler through costs you some noise and some bandwidth. Blocking the real Googlebot costs you your search rankings.
So bias your rules toward caution. Log first, block later. Never block an entire IP range because one address in it misbehaved. And if you use a firewall rule, test it against a verified Googlebot address before you leave it running, then check Search Console for crawl errors over the following week.
The Search Console crawl stats report is the honest scoreboard here. If Google’s own numbers show it is still crawling you happily, your rule is safe.
Filtering Instead of Blocking
For most site owners, the goal is not to stop these requests at the door. It is to stop them polluting the numbers you make decisions with.
That is a different job, and a better fit for your analytics layer than your firewall. DevDome Analytics classifies each hit against several independent signals rather than trusting the user agent: whether a claimed crawler verifies, whether the request has a real browser profile, whether it shows automation markers, and whether it comes from a datacenter rather than a consumer connection. Traffic that fails those checks is reported as bot activity instead of quietly joining your visitor count, and because plans are metered on human pageviews only, a bad month of scraping does not turn into a bigger bill.
You still see the bot numbers, which is the point. Knowing that 30 percent of your requests are automated is useful. Having them silently counted as readers is not.
A Sensible Routine
You do not need a monitoring project for this. Once a month, sort your traffic sources by request volume, take the handful claiming to be search crawlers, and verify them. It takes ten minutes and usually confirms everything is normal.
When it does not, you will find out because one address made thousands of requests and resolves to a hosting provider rather than to Google. That is your answer, and now you know what to do with it.
Disclosure: DevDome publishes this blog and makes the products it mentions. We describe what they do rather than promise results.
Key takeaways
- A user agent string is self-reported text, so anything can call itself Googlebot.
- The only reliable check is a reverse DNS lookup that resolves to googlebot.com or google.com.
- Google also publishes IP ranges you can match against if you prefer a list.
- Fake Googlebot traffic inflates pageviews and hides in reports that trust the user agent.
- Blocking real Googlebot by mistake is far more expensive than letting a fake one through.
Sources
- Google Search Central: verifying Googlebot and other Google crawlers — the official reverse DNS method and published IP ranges
- Google Search Central: Google crawlers and user agents — the full list of user agent strings Google actually uses
Links last checked August 19, 2026.
Frequently asked questions
Can I just block anything claiming to be Googlebot but failing the check?
You can, and many sites do, but be careful with the rule you write. Verify first and block second, because a broken reverse DNS lookup or a timeout can make a real crawler look fake for a few minutes. A safer pattern is to log the failures for a week, look at what they actually are, then block only the patterns you are confident about.
Does fake Googlebot traffic hurt my SEO?
Not directly. Google does not rank you lower because someone else spoofed its crawler. The damage is indirect: scrapers using the disguise can copy your content, and the extra requests consume server resources. The bigger practical cost is measurement, since traffic reports that trust the user agent will count those hits as visits.
How often should I run the verification?
For a one-off investigation, checking a handful of suspicious IP addresses by hand is enough. If you want it continuous, it belongs in your analytics layer rather than in a manual routine, because the volume is too high to check by hand and the answer only matters in aggregate.
What about Bingbot and other crawlers?
The same principle applies. Bing publishes a verification tool and its own IP list, and most serious crawlers document a way to confirm they are genuine. Any crawler that offers no way to verify itself and ignores robots.txt should be treated as an unknown bot rather than as a search engine.