Agent directory · AI and search crawler

Baiduspider

Baidu's crawler for its search engine.

Run by
Baidu
Type
AI and search crawler
Robots.txt name
Baiduspider
Verifiable
Yes

What Baiduspider does

Baidu's crawler for its search engine.

As an AI and search crawler, it indexes pages so a search engine or AI search tool can find, cite and link to them. The kinds of AI agent that visit websites.

Should you allow it?

Allow it, unless you deliberately want to stay out of that search engine. Blocking it removes you from its results and answers. A decision guide for blocking or allowing AI crawlers.

How to allow or block Baiduspider

Baiduspider reads the Baiduspider group in your robots.txt. To block it everywhere:

User-agent: Baiduspider
Disallow: /

To allow it everywhere, even if another rule blocks other bots:

User-agent: Baiduspider
Allow: /

Robots.txt is a request, not a lock: well-behaved crawlers follow it, impostors don't. Robots.txt for AI agents.

How it identifies itself

A typical user agent:

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

How to tell if it's really Baiduspider

You can check a request that claims to be Baiduspider against what Baidu publishes:

  • Reverse DNS: the address resolves to a name ending in baidu.com, baidu.jp, and that name resolves back to the same address

Requests that use the name but fail these checks are impostors, usually scrapers trying to get past bot protection. Ghost Agent Lab checks every request this way and gives you rules to block impostors. How to verify AI crawlers.

Every Baidu agent, and a robots.txt for all of them →

Does Baiduspider visit your site? Ghost Agent Lab reads your CDN or server logs and shows every request from Baiduspider and 1,566+ other known agents: what they read, what your site sent back, and whether each request was genuine. See agent traffic, or check whether AI agents can use your site for free.