antibot.dev
Sponsored Try LayerSift

Bot directory · Search engine

Baiduspider

Baidu's search crawler, which visits web pages to build the Baidu search index.

At a glance

Operator
Baidu
Purpose
Search engine
robots.txt token
Baiduspider
Obeys robots.txt
YesBaidu says it strictly complies with robots.txt; a Baiduspider group blocks all of its product crawlers except Baiduspider-cpro and Baiduspider-ads, which work under customer agreements and ignore robots.txt.
Published IP ranges
None published
Reverse DNS
baidu.com, baidu.jp

Block or allow Baiduspider in robots.txt

To keep Baiduspider off the whole site:

User-agent: Baiduspider
Disallow: /

To keep it out of one folder and allow the rest:

User-agent: Baiduspider
Disallow: /private/

A group for Baiduspider replaces your User-agent: * rules for this bot, so repeat any general rules you still want it to follow. Check the result with the robots.txt checker.

How to verify Baiduspider

Look up the requesting IP’s reverse DNS: a genuine Baiduspider hostname ends in baidu.com or baidu.jp. Then look up that hostname and confirm it resolves back to the same IP.

Paste an IP from your logs into the bot IP verifier to check it.

Good to know

Baidu's English FAQ lists product tokens (Baiduspider, Baiduspider-image, -video, -news, -favo, -cpro, -ads) but not full user-agent strings; third-party lists report "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)". Baidu says Baiduspider-video does not support robots.txt rules, and that removing indexed pages after blocking can take months.

Questions

What is Baiduspider?

Baiduspider is Baidu’s search engine crawler. Baidu's search crawler, which visits web pages to build the Baidu search index.

How do I block Baiduspider?

Add “User-agent: Baiduspider” followed by “Disallow: /” to your robots.txt. Baidu says Baiduspider follows robots.txt.

How do I know a request really comes from Baiduspider?

Look up the requesting IP’s reverse DNS: a genuine Baiduspider hostname ends in baidu.com or baidu.jp. Then look up that hostname and confirm it resolves back to the same IP.