Microsoft · Traditional search crawlers

Bingbot robots.txt guide

Microsoft’s Bingbot crawls web content for Bing Search. It is a traditional search crawler, rather than a dedicated AI training token.

Reviewed December 1, 2026 · Official documentation

Bingbot robots.txt rules

Add the chosen group to your site’s robots.txt. Review existing rules for this token first: repeated matching groups combine.

Block all paths

User-agent: Bingbot
Disallow: /

Allow all paths

User-agent: Bingbot
Allow: /

Restrict selected paths

User-agent: Bingbot
Allow: /
Disallow: /private/
Disallow: /api/

Test Bingbot access

Blocked/

Line 2 · Disallow: /

Specific User-agent: Bingbot

Site-wide policy: Blocked

What changes if you block Bingbot?

Google & Bing Search

Blocking Bingbot can prevent Bing from crawling your content and reduce search visibility. robots.txt is not a secure way to hide private pages or a guaranteed index-removal mechanism.

AI visibility & content use

Bing’s index can support downstream search experiences. A Bingbot restriction can affect crawl availability, but is not a precise opt-out from every Microsoft AI product.

Identify genuine requests

robots.txt token
Bingbot

Follow Microsoft’s Bingbot verification guidance: reverse-resolve the source IP, validate the documented hostname, then forward-resolve it back to that IP, or use its official verification tool.

User-Agent versions change. Use the operator’s current examples rather than treating a sample header as proof of identity.

Which robots.txt rule takes priority?

In this inspector, matching groups for Bingbot are combined. If a specific group exists, the wildcard group (User-agent: *) is not added. Without a specific group, the wildcard applies. With neither, access defaults to allowed.

For each path, the longest matching directive wins; Allow wins a tie. An empty Disallow does not block anything. A policy result describes the written rules, not proof that a crawler follows them.

Read RFC 9309

Common questions about Bingbot

Should I block Bingbot to stop AI training?

Not as a blanket policy. Bingbot is a search crawler and blocking it can affect Bing discoverability. Consult current Microsoft product-specific content controls.

Is a Bingbot User-Agent enough to allow a request?

No. Headers are easy to spoof. Use Microsoft’s documented IP or forward-confirmed DNS verification process.

Does blocking Bingbot protect private pages?

No. robots.txt is public and voluntary. Use authentication, authorization, and appropriate server controls for private content; do not publish secret paths as a security measure.

Related bot guides