What Meta-ExternalAgent does
Crawls public web content for uses such as training Meta’s AI models.
Meta documents other agents for link previews; blocking this token is aimed at AI use.
How to block Meta-ExternalAgent in robots.txt
Add these two lines to the robots.txt file at the root of your domain: User-agent: Meta-ExternalAgent and, on the next line, Disallow: /
To block only part of the site, replace / with a path such as /private/. Rules apply per host, so a subdomain needs its own robots.txt.
How to allow Meta-ExternalAgent
If you have no rule for Meta-ExternalAgent and no blanket User-agent: * Disallow: /, it is already allowed. To allow it explicitly while blocking other bots, add User-agent: Meta-ExternalAgent followed by Allow: /
Check it worked
- Publish the updated robots.txt and open it in a browser at /robots.txt to confirm the live file has the rule.
- Run the free AI crawler check: it reads your live robots.txt and reports whether Meta-ExternalAgent is allowed or blocked.
- Look for Meta-ExternalAgent in your server or CDN logs over the following weeks to see whether requests stop.
robots.txt is a public request, not access control. Meta publishes its own documentation for Meta-ExternalAgent; confirm the current token and behaviour there, since operators change them.
- Check which AI bots can read your siteTests your live robots.txt against every major AI agent.
- Block AI crawlersGenerate robots.txt rules for training bots, search bots or both.
- Every AI crawler user agentThe full list with operators and purposes.
- GPTBot vs ChatGPT-UserWhy OpenAI uses more than one agent.
Related explainers
- Why is my page not indexed
- robots.txt vs noindex
- Missing canonical
- Free technical SEO audit
- AI crawler user agents
- GPTBot user agent
- OAI-SearchBot user agent
- ChatGPT-User user agent
- ClaudeBot user agent
- Claude-SearchBot user agent
- PerplexityBot user agent
- Google-Extended user agent
- Applebot-Extended user agent
- CCBot user agent
- Bytespider user agent
- Amazonbot user agent
- SEO MCP server
- 404 vs 410
- hreflang vs canonical
- What is a canonical tag