BingBot IP ranges
Current IP ranges (CIDRs) used by the BingBot crawler, updated daily.
| category | AI Crawlers & Bots |
|---|---|
| website | https://www.bing.com |
| ranges | 28 (28 IPv4, 0 IPv6) |
| last change | |
| downloads | 357 |
| download | txt csv json — permalinks, always the latest data |
curl -O https://cloud-ip-ranges.com/download/bingbot.txt
Ranges
Sample of 25 of 28 ranges. Download the full list above, or check a specific IP.
| CIDR | Type |
|---|---|
| 13.66.139.0/24 | ipv4 |
| 13.66.144.0/24 | ipv4 |
| 13.67.10.16/28 | ipv4 |
| 13.69.66.240/28 | ipv4 |
| 13.71.172.224/28 | ipv4 |
| 20.15.133.160/27 | ipv4 |
| 20.36.108.32/28 | ipv4 |
| 20.43.120.16/28 | ipv4 |
| 20.74.197.0/28 | ipv4 |
| 20.79.107.240/28 | ipv4 |
| 20.125.163.80/28 | ipv4 |
| 40.77.139.0/25 | ipv4 |
| 40.77.167.0/24 | ipv4 |
| 40.77.177.0/24 | ipv4 |
| 40.77.178.0/23 | ipv4 |
| 40.77.188.0/22 | ipv4 |
| 40.77.202.0/24 | ipv4 |
| 40.79.131.208/28 | ipv4 |
| 40.79.186.176/28 | ipv4 |
| 51.105.67.0/28 | ipv4 |
| 52.167.144.0/24 | ipv4 |
| 52.231.148.0/28 | ipv4 |
| 65.55.210.0/24 | ipv4 |
| 139.217.52.0/28 | ipv4 |
| 157.55.39.0/24 | ipv4 |
Blocking BingBot
iptables
curl -sO https://cloud-ip-ranges.com/download/bingbot.txt
while read ip; do
iptables -A INPUT -s $ip -j DROP
iptables -A OUTPUT -d $ip -j DROP
done < bingbot.txt
ufw
curl -sO https://cloud-ip-ranges.com/download/bingbot.txt
while read ip; do
ufw deny from $ip
ufw deny to $ip
done < bingbot.txt
fail2ban
sudo tee /etc/fail2ban/filter.d/bingbot-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF
sudo tee /etc/fail2ban/jail.d/bingbot-block.conf << EOF
[bingbot-block]
enabled = true
filter = bingbot-block
action = iptables-allports[name=bingbot]
logpath = /tmp/bingbot.txt
findtime = 1
bantime = -1
maxretry = 1
EOF
curl -so /tmp/bingbot.txt https://cloud-ip-ranges.com/download/bingbot.txt
sudo systemctl restart fail2ban
pfSense / OPNsense
curl -sO https://cloud-ip-ranges.com/download/bingbot.txt
# Firewall > Aliases: new alias BINGBOT_BLOCK, type Network(s), import the file
# Firewall > Rules > WAN: Action=Block, Source=BINGBOT_BLOCK
About
These IP ranges are sourced from BingBot's official feed and are updated regularly. Use them to verify that requests claiming to be BingBot actually originate from it, or to rate-limit or block it at the network edge. To opt out of crawling entirely, prefer a robots.txt rule — blocking by IP can prevent the crawler from reading your robots.txt at all. Last update was 3 days ago.
Other providers
AirVPN, Akamai, Alibaba, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, Anthropic, AppleBot, Atlassian, AWS, Azure, Backblaze, Baidu, BinaryEdge, Bunny, CacheFly, CCBot, Censys, ChatGPT-User, ClaudeBot, Cloudflare, Datadog, DigitalOcean, DuckDuckBot, Fastly, Gabia, G-Core, GitHub, Googlebot, Google Cloud, Google Public DNS, Google Services, GPTBot, Hetzner, Hostway, Huawei Cloud, IBM Cloud, iCloud Private Relay, Internet Archive, IVPN, Leaseweb, Linode, Meta, Microsoft 365, Mistral, Mullvad, NHN Cloud, NordVPN, OpenAI ChatGPT, OpenAI SearchBot, Oracle Cloud, OVHcloud, OVPN.com, PerplexityBot, Perplexity-User, Pingdom, Private Internet Access, QUIC.cloud, Rackspace, Rapid7 Sonar, Salesforce, Scaleway, Shodan, StatusCake, StormWall, Stretchoid, Sucuri, Telegram, Tencent, TOR, UpCloud, UptimeRobot, Vultr, Wasabi, Windscribe, Yandex, Zoho, Zoom, Zscaler