Bots by company

Meta bots and crawlers

Meta runs Facebook, Instagram, WhatsApp and Meta AI. It operates crawlers for AI training, Meta AI search, link previews and ads.

Meta bots at a glance

  • Meta runs 8 bots listed in this directory.
  • They belong to: AI Training Crawlers, Social and Messaging Previews, Ads and Platform Fetchers, AI Assistant Fetchers, AI Search Crawlers.
  • Each Meta bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
  • Website: www.meta.com

Every Meta bot

BotGroupPurposerobots.txtFor GEO
FacebookBotAI Training CrawlersAI trainingReportedYesYour choice
FacebookExternalHitSocial and Messaging PreviewsLink previewOfficial docsYesAllow
FacebotSocial and Messaging PreviewsLink previewReportedNot documentedAllow
Meta-ExternalAdsAds and Platform FetchersAdsOfficial docsYesAllow
Meta-ExternalAgentAI Training CrawlersAI trainingOfficial docsYesYour choice
Meta-ExternalFetcherAI Assistant FetchersAI assistantOfficial docsNot for user-requested fetchesAllow
Meta-WebIndexerAI Search CrawlersAI searchOfficial docsYesAllow
WhatsAppSocial and Messaging PreviewsLink previewReportedNot documentedAllow

How to manage Meta bot access by purpose

Review the role you need before making an operator-wide rule. A bot can appear in more than one row. Follow its profile for the exact token, evidence and policy exceptions.

PurposeBots in this directoryWhat to check
AI trainingFacebookBot (reported), Meta-ExternalAgentDecide which public material you are willing to make available for training. Review search access separately, and do not assume that blocking reverses previous collection.
AI searchMeta-WebIndexerIf discovery in the associated AI product matters, test access to public pages you want it to find. Access alone does not guarantee inclusion or citations.
AI assistantMeta-ExternalFetcherIf readers use the associated assistant, test whether it can retrieve a representative public URL on request. A successful fetch does not show that the page is indexed.
AdsMeta-ExternalAdsIf you use the associated ad platform, test its landing-page review before tightening access. Keep paid campaign checks separate from organic search policy.
Link previewFacebookExternalHit, Facebot (reported), WhatsApp (reported)If shared links matter, test a public page in the associated app and check its title, image and description. A preview is not evidence of search indexing.

Block or allow all Meta bots

The rules below name every Meta token in this directory. For a narrower rule, select the exact tokens from the purpose table above and check each profile for scope and exceptions.

robots.txt: block

# Block all Meta bots
User-agent: FacebookBot
User-agent: facebookexternalhit
User-agent: Facebot
User-agent: meta-externalads
User-agent: meta-externalagent
User-agent: meta-externalfetcher
User-agent: meta-webindexer
User-agent: WhatsApp
Disallow: /

robots.txt: allow

# Allow all Meta bots
User-agent: FacebookBot
User-agent: facebookexternalhit
User-agent: Facebot
User-agent: meta-externalads
User-agent: meta-externalagent
User-agent: meta-externalfetcher
User-agent: meta-webindexer
User-agent: WhatsApp
Allow: /

robots.txt: partial

# Keep all Meta bots out of private areas only
User-agent: FacebookBot
User-agent: facebookexternalhit
User-agent: Facebot
User-agent: meta-externalads
User-agent: meta-externalagent
User-agent: meta-externalfetcher
User-agent: meta-webindexer
User-agent: WhatsApp
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /

Nginx

# Nginx: return 403 to all Meta bots
if ($http_user_agent ~* "(FacebookBot|facebookexternalhit|Facebot|meta\-externalads|meta\-externalagent|meta\-externalfetcher|meta\-webindexer|WhatsApp)") {
    return 403;
}

Apache

# Apache .htaccess: return 403 to all Meta bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (FacebookBot|facebookexternalhit|Facebot|meta\-externalads|meta\-externalagent|meta\-externalfetcher|meta\-webindexer|WhatsApp) [NC]
RewriteRule .* - [F,L]

Cloudflare WAF

# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "FacebookBot") or (http.user_agent contains "facebookexternalhit") or (http.user_agent contains "Facebot") or (http.user_agent contains "meta-externalads") or (http.user_agent contains "meta-externalagent") or (http.user_agent contains "meta-externalfetcher") or (http.user_agent contains "meta-webindexer") or (http.user_agent contains "WhatsApp")

See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp