ERNIE (Baidu)
Operated by Baidu
Quick Facts
- User-Agent:
- ERNIEBot
- Category:
- AI & LLM Bots
- Operator:
- Baidu
- Safety:
- Use Caution
- Blocking Impact:
- Low - No SEO ranking impact
- SEO Impact Score:
- 2/10
- Official docs:
- None published by Baidu
- Named by:
- ai.robots.txt
Reported, not operator documented
Baidu has not published a crawler page that names ERNIEBot. It is listed here because a credible public source does: ai.robots.txt. Reported Baidu ERNIE token. Baidu documents only the Baiduspider family.
What that means for you: the robots.txt rule on this page is the best available spelling, and a well-behaved crawler using this string will honour it, but there is no vendor statement of purpose, crawl rate or robots.txt compliance to rely on. Treat a matching request in your logs as a detection clue, not proof of who sent it, and combine the rule with a firewall rule if the traffic matters to you. If the operator publishes documentation, this profile moves to Official docs.
What is ERNIE (Baidu)?
ERNIE (Baidu) is an AI data-collection crawler operated by Baidu. It gathers public web content to build or refine training datasets for large language models. Like other AI training crawlers, ERNIE (Baidu) does not influence your search-engine rankings, so you can block it via robots.txt without any SEO penalty if you wish to opt out of AI training.
ERNIE (Baidu) is an AI data-collection crawler operated by Baidu. It gathers public web content to build or refine training datasets for large language models. Like other AI training crawlers, ERNIE (Baidu) does not influence your search-engine rankings, so you can block it via robots.txt without any SEO penalty if you wish to opt out of AI training.
ERNIE (Baidu) uses the user-agent token ERNIEBot. You can control it via robots.txt, meta tags (noai), or the emerging llms.txt standard. Robots.txt is voluntary; for hard enforcement, combine it with server-level IP blocking.
What happens if you block ERNIE (Baidu)?
User-agent / Disallow: / without any SEO penalty.Want to see whether ERNIE (Baidu) actually visits you? Read how do I monitor AI bot traffic to my website?
How to block ERNIE (Baidu) with robots.txt
<code>User-agent: ERNIEBot</code> - Matching is case-insensitive. Robots.txt is fetched from the root of each subdomain separately.
Is ERNIE (Baidu) safe to allow?
What does ERNIE (Baidu) do?
Understanding ERNIE (Baidu)'s purpose helps you decide whether to allow or block it.
- Collects public web content to train large language models
- Builds and refreshes AI training datasets
- Harvests text, code, and structured data for model improvement
- Does NOT affect search-engine rankings
- Can be blocked to opt out of AI training without SEO loss
Frequently Asked Questions
What is the official user-agent string for ERNIE (Baidu)?
ERNIEBot. Use this exact string in robots.txt, Nginx, Apache, or Cloudflare firewall rules to target this bot. Matching in robots.txt is case-insensitive. Verify a request genuinely comes from ERNIE (Baidu) by performing a reverse-DNS lookup on the source IP.Is ERNIE (Baidu) safe?
Will blocking ERNIE (Baidu) hurt my SEO?
User-agent / Disallow: / without any SEO penalty.How do I block ERNIE (Baidu) in robots.txt?
/robots.txt file:User-agent: ERNIEBot Disallow: /
This instructs ERNIE (Baidu) not to crawl any path on your site. To block only specific sections, replace / with the path (e.g.,
Disallow: /blog/).Does ERNIE (Baidu) respect robots.txt?
/robots.txt before crawling, following RFC 9309. For hard enforcement, combine robots.txt with server-level IP or user-agent blocking.How do I verify if ERNIE (Baidu) is crawling my site?
ERNIEBot (case-insensitive: grep -i "ERNIEBot" /var/log/nginx/access.log). Filter by user-agent in your log analytics tool (GoAccess, AWStats, etc.).