Free auditStart free
AI crawlerBaidu · Search crawler

Baiduspider

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
Baiduspidersearch engine
OperatorBaidu
PurposeCrawls the web for Baidu's search engine.
robots.txt tokenBaiduspider
User agentMozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
Honors robots.txtyes, per the operator
Verify requestsBaidu 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.
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
  2. User agent strings
  3. Block Baiduspider in robots.txt
  4. Verify a request is Baiduspider
  5. 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 withChatGPTClaudePerplexityGoogleAI Mode

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
01Explained

What Baiduspider is

Baiduspider is the name of Baidu's search crawler, and the token Baidu's own 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 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.

02Check it

User agent strings

Baidu's resource platform says Baiduspider identifies itself with specific 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)
03Explained

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. 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.

04How 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; for the same method on other bots, see good bots.

05Your 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 and 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. 01Baidu: How to block Baiduspider (robots.txt)baidu.com · checked 2026-10-25
  2. 02Baidu Search Resource Platform: How to identify Baiduspider (Chinese, 2017)ziyuan.baidu.com · checked 2026-10-25
  3. 03RFC 9309: Robots Exclusion Protocolrfc-editor.org · checked 2026-10-25
Questions

Asked a lot.

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

01What is Baiduspider?

It is the crawler for Baidu's search engine.

02Does Baiduspider respect robots.txt?

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

03How do I block Baiduspider?

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

04How 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.

05Does 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.

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.

Free, no card60 secondsNobody will call you
  • 0→7 ChatGPT citations in six weeks Paylane
  • 46 fixes shipped without a ticket Brightpipe