Googlebot Desktop user agent string

Handles the smaller share of Googlebot crawls that simulate a desktop user. It shares the robots.txt token Googlebot with the smartphone crawler, so robots.txt cannot target either one alone. Below is the exact string it sends, what each part means, and how to allow or block it.

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/154.0.8037.92 Safari/537.36

At a glance

TypeSearch engine crawler
OperatorGoogle
PurposeDesktop crawling for Google Search
Version2.1
robots.txt tokenGooglebot
How to verifyReverse DNS resolves to crawl-*.googlebot.com or geo-crawl-*.geo.googlebot.com, or the IP is in Google's common-crawlers.json.

Allow or block it in robots.txt

Block Googlebot from the whole site

User-agent: Googlebot
Disallow: /

Allow it again

User-agent: Googlebot
Allow: /

String breakdown

FragmentMeaning
Mozilla/5.0Historical compatibility token. Nearly every browser claims "Mozilla/5.0" so that old servers do not serve it broken pages.
AppleWebKit/537.36WebKit rendering engine, build 537.36. Chromium browsers keep this token for compatibility.
KHTML, like GeckoCompatibility note: the engine descends from KHTML and behaves like Gecko. Kept for legacy browser sniffers.
compatibleCompatibility token — historically sent by IE, now mostly by bots.
Googlebot/2.1Googlebot 2.1 — an automated crawler/bot, not a real browser.
+http://www.google.com/bot.htmlInfo page the bot operator publishes for webmasters.
Chrome/154.0.8037.92Chrome (or a Chromium-based browser), version 154.0.8037.92.
Safari/537.36Safari/WebKit build 537.36 — a compatibility token, not the Safari version. Chromium browsers send it too.

Use it in code

curl

curl -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/154.0.8037.92 Safari/537.36" https://example.com

Python (requests)

import requests
requests.get("https://example.com", headers={"User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/154.0.8037.92 Safari/537.36"})

Playwright (Node.js)

const context = await browser.newContext({ userAgent: "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/154.0.8037.92 Safari/537.36" });

Source: Google's common crawlers · checked September 2026

Related user agents

All user agent strings →

What does your own browser send? Check your user agent →