10 GB free data on sign-up · One time only · Valid for 1 monthClaim for free
AnboVPN
IP ranges

Baidu IP ranges

Every IPv4 and IPv6 range that Baidu (AS38365) currently announces on the internet, with CIDR and start/end IP, free to download as TXT or CSV. Data snapshot: 2026-11-02.

Baidu announces 121 IPv4 prefixes covering 346,112 addresses, and 12 IPv6 prefixes, through AS38365. The lists below are a snapshot of 2026-11-02 taken from the public BGP routing table, sorted by address and kept as announced.

ASNAS38365
IPv4 prefixes121
IPv4 addresses346,112Overlaps are counted once
IPv6 prefixes12
Data snapshot

Download the complete list

The complete list has 133 ranges (IPv4 and IPv6). TXT has one CIDR per line; CSV has the columns cidr, version, start_ip, end_ip and addresses.

Baidu IPv4 ranges

IPv4 ranges announced by Baidu: CIDR, start and end IP, address count
CIDRStart IP – end IPAddresses
42.199.240.0/2242.199.240.0–42.199.243.2551,024
106.12.0.0/18106.12.0.0–106.12.63.25516,384
106.12.0.0/19106.12.0.0–106.12.31.2558,192
106.12.32.0/19106.12.32.0–106.12.63.2558,192
106.12.64.0/18106.12.64.0–106.12.127.25516,384
106.12.64.0/20106.12.64.0–106.12.79.2554,096
106.12.80.0/20106.12.80.0–106.12.95.2554,096
106.12.96.0/20106.12.96.0–106.12.111.2554,096
106.12.112.0/20106.12.112.0–106.12.127.2554,096
106.12.128.0/18106.12.128.0–106.12.191.25516,384
106.12.128.0/20106.12.128.0–106.12.143.2554,096
106.12.144.0/20106.12.144.0–106.12.159.2554,096
106.12.160.0/20106.12.160.0–106.12.175.2554,096
106.12.176.0/20106.12.176.0–106.12.191.2554,096
106.12.192.0/19106.12.192.0–106.12.223.2558,192
106.12.192.0/20106.12.192.0–106.12.207.2554,096
106.12.208.0/20106.12.208.0–106.12.223.2554,096
106.12.224.0/20106.12.224.0–106.12.239.2554,096
106.12.224.0/21106.12.224.0–106.12.231.2552,048
106.12.232.0/21106.12.232.0–106.12.239.2552,048
106.12.240.0/21106.12.240.0–106.12.247.2552,048
106.12.240.0/23106.12.240.0–106.12.241.255512
106.13.0.0/18106.13.0.0–106.13.63.25516,384
106.13.0.0/19106.13.0.0–106.13.31.2558,192
106.13.32.0/20106.13.32.0–106.13.47.2554,096
106.13.48.0/20106.13.48.0–106.13.63.2554,096
106.13.64.0/18106.13.64.0–106.13.127.25516,384
106.13.64.0/19106.13.64.0–106.13.95.2558,192
106.13.96.0/19106.13.96.0–106.13.127.2558,192
106.13.128.0/18106.13.128.0–106.13.191.25516,384
106.13.128.0/19106.13.128.0–106.13.159.2558,192
106.13.160.0/19106.13.160.0–106.13.191.2558,192
106.13.192.0/19106.13.192.0–106.13.223.2558,192
106.13.192.0/20106.13.192.0–106.13.207.2554,096
106.13.208.0/20106.13.208.0–106.13.223.2554,096
106.13.224.0/20106.13.224.0–106.13.239.2554,096
106.13.224.0/21106.13.224.0–106.13.231.2552,048
106.13.232.0/21106.13.232.0–106.13.239.2552,048
106.13.240.0/22106.13.240.0–106.13.243.2551,024
119.75.208.0/20119.75.208.0–119.75.223.2554,096
119.75.216.0/24119.75.216.0–119.75.216.255256
119.75.222.0/24119.75.222.0–119.75.222.255256
120.48.0.0/18120.48.0.0–120.48.63.25516,384
120.48.0.0/19120.48.0.0–120.48.31.2558,192
120.48.32.0/19120.48.32.0–120.48.63.2558,192
120.48.64.0/18120.48.64.0–120.48.127.25516,384
120.48.64.0/19120.48.64.0–120.48.95.2558,192
120.48.96.0/19120.48.96.0–120.48.127.2558,192
120.48.128.0/18120.48.128.0–120.48.191.25516,384
120.48.128.0/19120.48.128.0–120.48.159.2558,192
120.48.160.0/19120.48.160.0–120.48.191.2558,192
120.48.192.0/18120.48.192.0–120.48.255.25516,384
120.48.192.0/20120.48.192.0–120.48.207.2554,096
120.48.208.0/20120.48.208.0–120.48.223.2554,096
120.48.224.0/20120.48.224.0–120.48.239.2554,096
120.48.240.0/21120.48.240.0–120.48.247.2552,048
120.48.248.0/21120.48.248.0–120.48.255.2552,048
120.49.0.0/18120.49.0.0–120.49.63.25516,384
120.49.64.0/18120.49.64.0–120.49.127.25516,384
120.49.64.0/19120.49.64.0–120.49.95.2558,192
120.49.192.0/18120.49.192.0–120.49.255.25516,384
120.49.196.0/22120.49.196.0–120.49.199.2551,024
180.76.16.0/20180.76.16.0–180.76.31.2554,096
180.76.32.0/20180.76.32.0–180.76.47.2554,096
180.76.36.0/22180.76.36.0–180.76.39.2551,024
180.76.46.0/23180.76.46.0–180.76.47.255512
180.76.48.0/20180.76.48.0–180.76.63.2554,096
180.76.48.0/23180.76.48.0–180.76.49.255512
180.76.50.0/23180.76.50.0–180.76.51.255512
180.76.52.0/22180.76.52.0–180.76.55.2551,024
180.76.56.0/21180.76.56.0–180.76.63.2552,048
180.76.64.0/18180.76.64.0–180.76.127.25516,384
180.76.64.0/21180.76.64.0–180.76.71.2552,048
180.76.72.0/22180.76.72.0–180.76.75.2551,024
180.76.76.0/24180.76.76.0–180.76.76.255256
180.76.96.0/20180.76.96.0–180.76.111.2554,096
180.76.112.0/21180.76.112.0–180.76.119.2552,048
180.76.120.0/23180.76.120.0–180.76.121.255512
180.76.124.0/23180.76.124.0–180.76.125.255512
180.76.126.0/23180.76.126.0–180.76.127.255512
180.76.128.0/18180.76.128.0–180.76.191.25516,384
180.76.128.0/19180.76.128.0–180.76.159.2558,192
180.76.160.0/19180.76.160.0–180.76.191.2558,192
180.76.192.0/22180.76.192.0–180.76.195.2551,024
180.76.192.0/23180.76.192.0–180.76.193.255512
180.76.194.0/23180.76.194.0–180.76.195.255512
180.76.196.0/23180.76.196.0–180.76.197.255512
180.76.200.0/21180.76.200.0–180.76.207.2552,048
180.76.200.0/23180.76.200.0–180.76.201.255512
180.76.202.0/23180.76.202.0–180.76.203.255512
180.76.204.0/22180.76.204.0–180.76.207.2551,024
180.76.208.0/20180.76.208.0–180.76.223.2554,096
180.76.208.0/23180.76.208.0–180.76.209.255512
180.76.220.0/22180.76.220.0–180.76.223.2551,024
180.76.220.0/23180.76.220.0–180.76.221.255512
180.76.222.0/23180.76.222.0–180.76.223.255512
180.76.224.0/19180.76.224.0–180.76.255.2558,192
180.76.224.0/20180.76.224.0–180.76.239.2554,096
180.76.240.0/20180.76.240.0–180.76.255.2554,096
182.61.0.0/18182.61.0.0–182.61.63.25516,384
182.61.0.0/19182.61.0.0–182.61.31.2558,192
182.61.32.0/19182.61.32.0–182.61.63.2558,192
182.61.130.0/23182.61.130.0–182.61.131.255512
182.61.130.0/24182.61.130.0–182.61.130.255256
182.61.131.0/24182.61.131.0–182.61.131.255256
182.61.132.0/22182.61.132.0–182.61.135.2551,024
182.61.132.0/23182.61.132.0–182.61.133.255512
182.61.134.0/23182.61.134.0–182.61.135.255512
182.61.136.0/21182.61.136.0–182.61.143.2552,048
182.61.136.0/22182.61.136.0–182.61.139.2551,024
182.61.140.0/22182.61.140.0–182.61.143.2551,024
182.61.144.0/20182.61.144.0–182.61.159.2554,096
182.61.144.0/21182.61.144.0–182.61.151.2552,048
182.61.200.0/21182.61.200.0–182.61.207.2552,048
182.61.200.0/22182.61.200.0–182.61.203.2551,024
182.61.208.0/21182.61.208.0–182.61.215.2552,048
182.61.216.0/21182.61.216.0–182.61.223.2552,048
182.61.223.0/24182.61.223.0–182.61.223.255256
182.61.224.0/19182.61.224.0–182.61.255.2558,192
182.61.247.0/24182.61.247.0–182.61.247.255256
202.181.120.0/22202.181.120.0–202.181.123.2551,024

All 121 ranges are listed.

Baidu IPv6 ranges

IPv6 ranges announced by Baidu: CIDR, start and end IP, address count
CIDRStart IP – end IPAddresses
2400:da00::/322400:da00::–2400:da00:ffff:ffff:ffff:ffff:ffff:ffff296
2400:da00:400::/482400:da00:400::–2400:da00:400:ffff:ffff:ffff:ffff:ffff280
2400:da00:404::/482400:da00:404::–2400:da00:404:ffff:ffff:ffff:ffff:ffff280
240c:4000::/22240c:4000::–240c:43ff:ffff:ffff:ffff:ffff:ffff:ffff2106
240c:4081::/32240c:4081::–240c:4081:ffff:ffff:ffff:ffff:ffff:ffff296
240c:4082::/32240c:4082::–240c:4082:ffff:ffff:ffff:ffff:ffff:ffff296
240c:4084::/32240c:4084::–240c:4084:ffff:ffff:ffff:ffff:ffff:ffff296
240c:4085::/32240c:4085::–240c:4085:ffff:ffff:ffff:ffff:ffff:ffff296
240c:4088::/32240c:4088::–240c:4088:ffff:ffff:ffff:ffff:ffff:ffff296
240c:408d:2000::/36240c:408d:2000::–240c:408d:2fff:ffff:ffff:ffff:ffff:ffff292
240c:409f:4::/46240c:409f:4::–240c:409f:7:ffff:ffff:ffff:ffff:ffff282
240c:409f:1000::/47240c:409f:1000::–240c:409f:1001:ffff:ffff:ffff:ffff:ffff281

All 12 ranges are listed.

About the Baidu IP range data

  • ASNs and holders

    Baidu announces its prefixes from AS38365. Holders in the registry: AS38365 (Baidu - Beijing Baidu Netcom Science and Technology Co., Ltd.).

  • What the list contains

    The ranges are the prefixes these ASNs announce in the public BGP routing table (obtained through RIPEstat), with adjacent blocks left unmerged. This is not an ownership record: it can include prefixes of customers and leased address space, and it can miss routes that very few peers see. Snapshot of 2026-11-02.

  • Typical uses

    Allow or block traffic from Baidu in a firewall, WAF or nginx, label source IPs in your logs by network, or test with a CIDR match whether an IP belongs to Baidu. Remember that cloud and carrier address space also runs the services of customers, so blocking a whole network can hit unrelated sites.

How to use the Baidu IP list

  1. Start with the tables above: one for IPv4 and one for IPv6, each row with CIDR, start IP – end IP and address count.
  2. Choose Download TXT or Download CSV for the complete list. The file has all 133 ranges, not only the first rows shown on the page.
  3. Import the TXT as one address set into your firewall, router or ipset, or paste the CIDRs into a cloud security group rule.
  4. Check the snapshot date (2026-11-02) before using it in production. Cloud ranges change often, so compare with the official range file published by the provider.

Baidu IP ranges: frequently asked questions

How many IP ranges does Baidu have?

As of 2026-11-02, Baidu announces 121 IPv4 prefixes covering 346,112 addresses and 12 IPv6 prefixes in the public BGP routing table, through AS38365.

What is the ASN of Baidu?

Baidu uses AS38365. Holders in the registry: AS38365 (Baidu - Beijing Baidu Netcom Science and Technology Co., Ltd.). Large organisations often run several ASNs, and this page merges the ones listed here.

How do I use the Baidu IP list for a firewall allowlist or blocklist?

Download the TXT file (one CIDR per line) and import it into ipset, nftables, an nginx allow or deny include, a router address list or a cloud security group. Import the 133 ranges as one address set rather than as separate rules. The address space of Baidu also hosts the services of its customers, so blocking all of it can cut off unrelated sites.

How often is the Baidu IP list updated?

The list is a snapshot of 2026-11-02, regenerated about once a week from public BGP data (RIPEstat). Announcements change every day, so download it again before using it in production, and for cloud providers also compare it with the official range file they publish.

More free tools

Need an IP in a specific country?

AnboVPN offers dedicated IPs in many regions, and shared IPs billed by data. Compare the options and pick the location you need.