# Baiduspider

> Baiduspider is Baidu

Canonical: https://scaplet.com/ai-crawlers/baiduspider

AI crawler Baidu · Search crawler

Baiduspider is Baidu's search crawler. Its user agent, the robots.txt rules to block it, and Baidu's two-step reverse and forward DNS check for real traffic.

3 min

read

3

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

Baiduspider search engine

Operator Baidu

Purpose Crawls the web for Baidu's search engine.

robots.txt token `Baiduspider`

User agent `Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)`

Honors robots.txt yes, per the operator

Verify requests Baidu documents a two-step check: reverse DNS on the IP should give a hostname of the form *.baidu.com or *.baidu.jp, then a forward lookup of that hostname should return the original IP. Baidu says its IP ranges change and are not fixed, so it does not publish them.

[Operator documentation](https://ziyuan.baidu.com/college/articleinfo?id=1002) [Test your robots.txt for Baiduspider](/tools/robots-txt-tester?ua=Baiduspider)

The short answer

Baiduspider is the crawler for Baidu, the Chinese search engine. Baidu says it will not crawl, index or show the content of pages blocked by robots.txt, so `User-agent: Baiduspider` with `Disallow: /` blocks it. To verify a request, Baidu documents a reverse DNS lookup to a baidu.com or baidu.jp hostname, then a forward lookup back to the IP.

1. [What Baiduspider is](#what-baiduspider-is)
2. [User agent strings](#user-agent-strings)
3. [Block Baiduspider in robots.txt](#block-baiduspider-in-robots-txt)
4. [Verify a request is Baiduspider](#verify-a-request-is-baiduspider)
5. [Should you block Baiduspider?](#should-you-block-baiduspider)

30-second check

## Are AI crawlers reaching your site?

Four quick questions, then a straight answer.

1/4Have you checked your robots.txt rules for AI crawlers?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-crawlers%2Fbaiduspider%20(%22Baiduspider%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-crawlers%2Fbaiduspider%20(%22Baiduspider%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-crawlers%2Fbaiduspider%20(%22Baiduspider%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-crawlers%2Fbaiduspider%20(%22Baiduspider%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

5 facts from the sources below

Baidu

Operator

Baiduspider

Robots.txt token

Yes, per Baidu

Respects robots.txt

Reverse DNS, then forward DNS

Verify with

Not published; Baidu says ranges change

IP list

_01_Explained

## What Baiduspider is

Baiduspider is the name of Baidu's [search crawler](/glossary/web-crawler), and the token Baidu's own [robots.txt](/glossary/robots-txt) guide uses. Search crawlers like it find pages for an index you may want to appear in, so the decision to block one is different from blocking an SEO tool.

Baidu's pages we read give no visit frequency or [Crawl-delay](/glossary/crawl-delay) value, so don't take those from third-party blogs. On IP addresses, Baidu's resource platform (in Chinese) says its IP ranges change and are not fixed, so it cannot publish them.

_02_Check it

## User agent strings

Baidu's resource platform says Baiduspider identifies itself with specific [user agent](/glossary/user-agent) strings for mobile, desktop and mini-program crawling. For desktop it gives this string, and says a Baiduspider-render variant also exists. Mobile and mini-program strings differ, so we don't reproduce them here.

Baidu's own rule: a user agent that doesn't match the documented forms is not Baidu's crawler. A match, though, proves nothing on its own, because any client can send the string.

Baiduspider, desktop

```
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
```

_03_Explained

## Block Baiduspider in robots.txt

Baidu's robots.txt guide says the file must sit in the root directory of the site. It also says that if the file does not exist or is empty, the entire site is open to all search engines. Its examples:

Block every crawler from everything

```
User-agent: * Disallow: /
```

Block only Baiduspider

```
User-agent: Baiduspider Disallow: /
```

Baidu says blocked pages may still appear in its results if other websites link to them, in which case it shows only those external descriptions, not the page's own content. Matching of the token is case-insensitive per [RFC 9309](https://www.rfc-editor.org/rfc/rfc9309.html). The guide also supports `*` and `$` wildcards and `Allow` lines, and says the order of Disallow and Allow records matters because the robot takes them in sequence from the top of the file and acts on the first match.

_04_How it works

## Verify a request is Baiduspider

Baidu's page gives a user agent check and a two-way DNS check. A mismatch at any step means the request is not Baiduspider.

1. 1

### Check the user agent

Compare the string with the documented forms. An invalid user agent means the request is not Baidu's crawler.
2. 2

### Reverse lookup

Run a reverse DNS query on the IP from your logs. Baidu says real hostnames look like *.baidu.com or *.baidu.jp. It names `host` on Linux, `nslookup` on Windows and `dig -x` on macOS.
3. 3

### Forward lookup

Query that hostname and confirm it resolves back to the original IP. A mismatch indicates a fake. Baidu's own example resolves 111.206.198.69 to baiduspider-111-206-198-69.crawl.baidu.com and back.

Reverse, then forward

```
host 203.0.113.10 host <hostname-from-step-1>
```

The address above is a placeholder; use one from your log. Baidu says it cannot publish IP ranges because they change, so there is no list to compare against. For traffic that fails the check, see [bad bots](/ai-crawlers/bad-bots); for the same method on other bots, see [good bots](/ai-crawlers/good-bots).

_05_Your call

## Should you block Baiduspider?

If this fits

### Allow it if

- You want pages indexed on Baidu to reach its users.
- Traffic checks out through the two-step DNS test.

Or

### Block it if

- You have no audience on Baidu and don't want the crawl.
- A flood of requests claims to be Baiduspider and fails verification: block that traffic, not the real crawler.

Blocking one search engine's crawler has no documented effect on another's; see [Googlebot](/ai-crawlers/googlebot) and [Bingbot](/ai-crawlers/bingbot). Compare with Huawei's search crawler, PetalBot.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- baidu.com
- rfc-editor.org

1. 01 [Baidu: How to block Baiduspider (robots.txt)](https://www.baidu.com/search/robots_english.html) baidu.com · checked 2026-10-25
2. 02 [Baidu Search Resource Platform: How to identify Baiduspider (Chinese, 2017)](https://ziyuan.baidu.com/college/articleinfo?id=1002) ziyuan.baidu.com · checked 2026-10-25
3. 03 [RFC 9309: Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309.html) rfc-editor.org · checked 2026-10-25

Questions

## Asked a lot.

5 questions people ask next, answered from the sources on this page.

_01_ What is Baiduspider?

It is the crawler for Baidu's search engine.

_02_ Does Baiduspider respect robots.txt?

Yes. Baidu says it will not crawl, index or show the content of pages blocked by robots.txt.

_03_ How do I block Baiduspider?

Add User-agent: Baiduspider and Disallow: / to the robots.txt at your site root.

_04_ How do I verify Baiduspider?

Run a reverse DNS lookup on the IP and check for a *.baidu.com or *.baidu.jp hostname, then a forward lookup to confirm it returns the same IP.

_05_ Does Baidu publish Baiduspider's IP addresses?

No. Baidu's resource platform says its IP ranges change and are not fixed, so it cannot publish them. The documented method is the reverse and forward DNS check.

## Keep learning

[All ai crawlers](/ai-crawlers)

[Learn YandexBot Yandex](/ai-crawlers/yandexbot) [Related User agent Crawling and indexing](/glossary/user-agent) [Read next Bingbot Microsoft](/ai-crawlers/bingbot) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in AI crawlers
[Applebot-Extended](/ai-crawlers/applebot-extended) [Bad bots](/ai-crawlers/bad-bots) [Bingbot](/ai-crawlers/bingbot) [CCBot](/ai-crawlers/ccbot)

Terms on this page
[Web crawler](/glossary/web-crawler) [robots.txt](/glossary/robots-txt) [Crawl-delay](/glossary/crawl-delay) [User agent](/glossary/user-agent)

Free · 2 minutes

## Can AI engines _reach your pages?_

The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **0→7** ChatGPT citations in six weeks Paylane
- **46** fixes shipped without a ticket Brightpipe
