Bingbot user agent string
Bing renders pages with the latest stable Microsoft Edge, so the number after "Chrome/" is really an Edge version. Bing documents it as W.X.Y.Z; the current stable Edge is filled in here. 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; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/156.0.4314.42 Safari/537.36
At a glance
| Type | Search engine crawler |
| Operator | Microsoft |
| Purpose | Standard crawler for Bing Search |
| Version | 2.0 |
| robots.txt token | Bingbot |
| How to verify | Reverse DNS ends in search.msn.com and resolves back to the same IP, or the IP is in bingbot.json. |
Allow or block it in robots.txt
Block Bingbot from the whole site
User-agent: Bingbot
Disallow: /Allow it again
User-agent: Bingbot
Allow: /
String breakdown
| Fragment | Meaning |
|---|---|
Mozilla/5.0 | Historical compatibility token. Nearly every browser claims "Mozilla/5.0" so that old servers do not serve it broken pages. |
AppleWebKit/537.36 | WebKit rendering engine, build 537.36. Chromium browsers keep this token for compatibility. |
KHTML, like Gecko | Compatibility note: the engine descends from KHTML and behaves like Gecko. Kept for legacy browser sniffers. |
compatible | Compatibility token — historically sent by IE, now mostly by bots. |
bingbot/2.0 | bingbot 2.0 — an automated crawler/bot, not a real browser. |
+http://www.bing.com/bingbot.htm | Info page the bot operator publishes for webmasters. |
Chrome/156.0.4314.42 | Chrome (or a Chromium-based browser), version 156.0.4314.42. |
Safari/537.36 | Safari/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; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/156.0.4314.42 Safari/537.36" https://example.comPython (requests)
import requests
requests.get("https://example.com", headers={"User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/156.0.4314.42 Safari/537.36"})Playwright (Node.js)
const context = await browser.newContext({ userAgent: "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/156.0.4314.42 Safari/537.36" });
Source: Which Crawlers Does Bing Use? · checked September 2026