Caution Reported AI & LLM Bots

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)?

✅ No SEO Impact - Blocking ERNIE (Baidu) does not affect your rankings in Google, Bing, or any other search engine. ERNIE (Baidu) is an AI crawler, not a traditional search indexer. You can freely block it via User-agent / Disallow: / without any SEO penalty.
Generally safe to allow; provides legitimate crawling value.

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.

Block completely (robots.txt)
User-agent: ERNIEBot Disallow: /
Allow all (robots.txt)
User-agent: ERNIEBot Allow: /
Block private only (robots.txt)
User-agent: ERNIEBot Disallow: /private/ Disallow: /api/ Disallow: /admin/ Allow: /
Nginx server block
# Nginx: Hard-block ERNIE (Baidu) if ($http_user_agent ~* "ERNIEBot") { return 403 "Bot blocked"; }
Apache .htaccess
# Apache: Hard-block ERNIE (Baidu) SetEnvIfNoCase User-Agent "ERNIEBot" bad_bot Order Allow,Deny Allow from all Deny from env=bad_bot
Meta robots tag
<meta name="robots" content="noindex, nofollow">
X-Robots-Tag header
X-Robots-Tag: noindex, nofollow

Is ERNIE (Baidu) safe to allow?

ERNIE (Baidu) is rated Caution in this directory. It is a Reported token: Baidu has not published documentation for it, so its purpose, crawl rate and robots.txt behaviour are not confirmed by the operator, and anyone can send the same user-agent string. Allow or block it on its stated purpose, and back the robots.txt rule with a firewall rule if the traffic matters to you.
Baidu publishes no IP ranges or reverse-DNS pattern for ERNIE (Baidu), so the user-agent string cannot be verified. Rate-limit unusual volume instead of trusting the name.

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/
  1. Find the group. ERNIE (Baidu) looks for a group naming ERNIEBot. One exists, so it ignores User-agent: * completely.
  2. Apply only that group. It is refused /drafts/ and nothing else.
  3. 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, repeat Disallow: /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

Recommended setting for ERNIE (Baidu) by type of site
If you are...Recommended setting
You publish content and want AI answers to cite itYour 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 trainingBlock it by name with User-agent: ERNIEBot and Disallow: /.
You run an online shopAllow it unless your logs show it is costly.
Your server is under load from botsRate-limit before blocking. It is rated caution in our database.

Check ERNIE (Baidu) on your own site

  1. Open /robots.txt on your domain and search for ERNIEBot. If it is not named, it follows User-agent: *.
  2. List the Disallow lines in the group ERNIE (Baidu) follows and test your key URLs against them; the longest match wins, and Allow wins a tie.
  3. 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.
  4. 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:

  1. 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.
  2. Blocking ERNIE (Baidu) with a broad User-agent: * rule that also catches search engines. Name ERNIEBot in its own group instead.
  3. 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?
ERNIE (Baidu) is reported to identify itself with 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?
ERNIE (Baidu) is rated Caution in this directory. It is a Reported token: Baidu has not published documentation for it, so its purpose, crawl rate and robots.txt behaviour are not confirmed by the operator, and anyone can send the same user-agent string. Allow or block it on its stated purpose, and back the robots.txt rule with a firewall rule if the traffic matters to you.
Will blocking ERNIE (Baidu) hurt my SEO?
✅ No SEO Impact - Blocking ERNIE (Baidu) does not affect your rankings in Google, Bing, or any other search engine. ERNIE (Baidu) is an AI crawler, not a traditional search indexer. You can freely block it via User-agent / Disallow: / without any SEO penalty.
How do I block ERNIE (Baidu) in robots.txt?
Add the following lines to your /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?
Not documented. Baidu has published no statement that ERNIE (Baidu) reads robots.txt. A rule for 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?
Search your access logs for 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.
WhatsApp us