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
Reported, not operator documented
Baidu has not published a crawler page that names ERNIEBot. It is listed here on our own evidence. Verified by AI Crawler Check: 38 of the 5,583 valid robots.txt files in the Tranco top 10,000 carry a rule for ERNIEBot, so site owners treat it as a real crawler name (how we measure this). That proves the spelling is in use, not who sends it. Reported Baidu ERNIE token. Baidu documents only the Baiduspider family.
What that means for you: the ERNIEBot rule on this page is the best available spelling, but Baidu has made no statement of purpose, crawl rate or robots.txt compliance. Treat a ERNIEBot request in your logs as a clue, not proof of who sent it, and add a firewall rule if that 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
ERNIE (Baidu) in context
ERNIE (Baidu) is a training crawler operated by Baidu. In plain terms, it collects pages to train AI models. Our database files it under AI and LLM crawlers and ranks it Tier 2, important crawlers from established AI and search operators. 74 of the 104 AI and LLM crawlers in our database share this tier.
Its safety rating is caution and its blocking impact is low. So the decision about ERNIE (Baidu) rests on what you want from Baidu, not on its behaviour. How we rate safety and impact.
How site owners treat ERNIE (Baidu)
In our own scan of the Tranco top 10,000 (5,583 valid robots.txt files), 38 files (0.7%) name ERNIEBot in a User-agent line. That shows site owners treat the token as a real crawler worth a rule. It does not, on its own, prove who operates it.
Does it follow robots.txt?
ERNIE (Baidu)'s operator does not clearly document how it treats robots.txt. Write the ERNIE (Baidu) rule anyway, then confirm in your logs that its requests stop.
Baidu crawlers and close alternatives
ERNIE (Baidu) is one of 10 Baidu crawlers in our database. A User-agent: ERNIEBot group controls ERNIE (Baidu) only; the other Baidu tokens below need their own lines.
ERNIEBot: this crawler (Tier 2)baidu: baidu, builds a search or answer index (Tier 3)Baiduspider: Baidu Search, builds a search or answer index (Tier 3)Baiduspider-ads: Baidu Business Search, checks pages for an SEO, uptime or analytics service (Tier 3)Baiduspider-cpro: Baidu Union, checks pages for an SEO, uptime or analytics service (Tier 3)Baiduspider-favo: Baidu Bookmark, builds a search or answer index (Tier 3)Baiduspider-image: Baidu Image Search, builds a search or answer index (Tier 3)Baiduspider-news: Baidu News Search, builds a search or answer index (Tier 3)Baiduspider-video: Baidu Video Search, builds a search or answer index (Tier 3)
To give ERNIE (Baidu) the same answer as its siblings, stack User-agent: ERNIEBot with their lines above one set of rules; to treat ERNIE (Baidu) differently, give it its own group.
Other AI and LLM crawlers that do the same job (collects pages to train AI models) include ClaudeBot from Anthropic, Google-Extended from Google, GPTBot from OpenAI, Meta-ExternalAgent from Meta, AI2Bot from Allen Institute for AI, aiHitBot from aiHit. Deciding about ERNIE (Baidu) is usually a decision about the whole group, so check how your file treats these too.
We first recorded ERNIEBot on September 22, 2026. We could not find a page where Baidu names it, so treat the token as reported rather than documented.
Which rule ERNIE (Baidu) actually follows
ERNIE (Baidu) reads exactly one group in robots.txt, the most specific one that names ERNIEBot, and never combines rules across groups. This short file shows the trap:
User-agent: *
Disallow: /private/
User-agent: ERNIEBot
Disallow: /drafts/
- Find the group. ERNIE (Baidu) looks for a group naming
ERNIEBot. One exists, so it ignoresUser-agent: *completely. - Apply only that group. It is refused
/drafts/and nothing else. - The surprise.
/private/is open to ERNIE (Baidu), because that rule lives in the*group it no longer reads. To keep it out of both, repeatDisallow: /private/inside its own group.
Test yourself: does a rule under User-agent: * apply to ERNIE (Baidu) if the file also has a User-agent: ERNIEBot group?
No. Once a group names it, ERNIE (Baidu) reads only that group. Put every rule you want it to follow inside its own group.
Test yourself: will blocking ERNIE (Baidu) remove your pages from AI answers?
No. ERNIE (Baidu) collects training data. Blocking it changes what future models learn, not which pages AI answers cite today.
Test yourself: is User-agent: erniebot the same as User-agent: ERNIEBot?
Yes. RFC 9309 makes user-agent matching case-insensitive. Paths are a different story: Disallow: /Blog/ does not block /blog/.
Should you allow ERNIE (Baidu)? Decide by situation
| If you are... | Recommended setting |
|---|---|
| You publish content and want AI answers to cite it | Your call. ERNIE (Baidu) is a training crawler, so blocking it does not remove you from AI answers; retrieval crawlers do that job. |
| You license content and want to stop AI training | Block it by name with User-agent: ERNIEBot and Disallow: /. |
| You run an online shop | Allow it unless your logs show it is costly. |
| Your server is under load from bots | Rate-limit before blocking. It is rated caution in our database. |
Check ERNIE (Baidu) on your own site
- Open
/robots.txton your domain and search forERNIEBot. If it is not named, it followsUser-agent: *. - List the
Disallowlines in the group ERNIE (Baidu) follows and test your key URLs against them; the longest match wins, andAllowwins a tie. - Look beyond the file. A firewall or bot manager can refuse ERNIE (Baidu) even when robots.txt allows it, and that never shows in the file.
- Run our AI crawler checker to see how ERNIE (Baidu) and every other crawler we track are treated in one pass, including firewall refusals.
Common mistakes with ERNIE (Baidu)
The errors we see most often with ERNIE (Baidu) in the files and firewalls we test:
- Assuming that blocking ERNIE (Baidu) removes you from AI answers. It is a training crawler; AI answers are fed by retrieval and user-triggered crawlers with different tokens.
- Blocking ERNIE (Baidu) with a broad
User-agent: *rule that also catches search engines. NameERNIEBotin its own group instead. - Expecting a ERNIE (Baidu) block to remove content already collected. robots.txt only affects future visits.
All three hide inside a file that looks correct, so check ERNIE (Baidu) from outside after every change.
Spotting ERNIE (Baidu) in your logs
robots.txt says what ERNIE (Baidu) may do; your access logs show what it actually did.
Count requests
On a server with standard Nginx or Apache logs, this counts matching requests per day (adjust the log path for your host):
grep -iE "ERNIEBot" /var/log/nginx/access.log \
| awk '{print $4}' | cut -d: -f1 | sort | uniq -c
And this shows which paths it requested most, which is the quickest way to see whether your Disallow lines are being respected:
grep -iE "ERNIEBot" /var/log/nginx/access.log \
| awk '{print $7}' | sort | uniq -c | sort -rn | head -20
Check the requests are genuine
Anyone can send the ERNIE (Baidu) user-agent, so confirm the source before acting on a match:
ERNIEBot: we hold no published IP list, so use reverse DNS where the operator documents a hostname and treat an unverifiable ERNIE (Baidu) request with caution.
Frequently Asked Questions
What user-agent string does ERNIE (Baidu) use?
ERNIEBot. Evidence that the spelling is in real use comes from our own robots.txt study: 38 of the 5,583 valid robots.txt files in the Tranco top 10,000 name it (fetched October 20, 2026), not from Baidu, which has not published crawler documentation naming it. Use it in robots.txt as the best available match, and treat a request carrying it as a clue rather than proof of who sent it.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?
ERNIEBot will stop a client that chooses to honour it; for enforcement, add a firewall or CDN rule as well.How do I verify if ERNIE (Baidu) is crawling my site?
ERNIEBot (for example grep -i "ERNIEBot" /var/log/nginx/access.log). Because the operator publishes no IP ranges or reverse-DNS pattern, a match shows that something used the name, not that Baidu sent it.