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

TypeSearch engine crawler
OperatorMicrosoft
PurposeStandard crawler for Bing Search
Version2.0
robots.txt tokenBingbot
How to verifyReverse 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

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.
bingbot/2.0bingbot 2.0 — an automated crawler/bot, not a real browser.
+http://www.bing.com/bingbot.htmInfo page the bot operator publishes for webmasters.
Chrome/156.0.4314.42Chrome (or a Chromium-based browser), version 156.0.4314.42.
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; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/156.0.4314.42 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; 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

Related user agents

All user agent strings →

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