TrainingUnconfirmed

ERNIEBot

Crawls web content that is collected for training AI models. Operated by Baidu.

Training: Collects content to train AI models. Block it if you don't want your content to become training data.

Details come from community sources and are not yet confirmed by the operator.

Company
Baidu · website
User-agent contains
ERNIEBot
robots.txt token
ERNIEBot · robots.txt unknown
Official IP ranges
Not published
Documentation
No official page yet
Sources
github.com
Added · verified
2026-12-02 · 2026-12-02

Block ERNIEBot

robots.txt
User-agent: ERNIEBot
Disallow: /
nginx (in the http block, then: if ($ai_bot) { return 403; })
map $http_user_agent $ai_bot {
    default 0;
    "~*ERNIEBot" 1;
}
Apache / .htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (ERNIEBot) [NC]
    RewriteRule .* - [F,L]
</IfModule>
Cloudflare WAF expression
(lower(http.user_agent) contains "erniebot")

Want to block more bots at once? Use the generator.

Other Baidu bots

Something wrong or out of date? Edit this bot on GitHub or report a change.