Skip to content
AskableHQ
Launch

Does github.com block AI crawlers?

Blocks AI training, allows AI answers

github.com blocks at least one AI training crawler but still lets AI answer engines read its pages.

Checked from github.com/robots.txt. Robots rules change; the live file is the source of truth.

AI crawlers blocked
1 of 12
AI bots named in robots.txt
6
llms.txt
Published
Popularity
Tranco top 100 (#29)

Can AI assistants cite github.com?

  • ChatGPT search: its search crawlers may read the site
  • Claude: its search crawlers may read the site
  • Perplexity: its search crawlers may read the site

github.com opts out of AI training by ByteDance. Training crawlers and answer crawlers are separate: blocking training doesn't by itself remove a site from AI answers.

AI crawler access, bot by bot

CrawlerUsed forStatus on github.com
GPTBotOpenAIAI trainingSome paths restricted
OAI-SearchBotOpenAIAI answersSome paths restricted
ChatGPT-UserOpenAIAI answersSome paths restricted
ClaudeBotAnthropicAI trainingSome paths restricted
Claude-SearchBotAnthropicAI answersSome paths restricted
Claude-UserAnthropicAI answersSome paths restricted
PerplexityBotPerplexityAI answersSome paths restricted
Google-ExtendedGoogleAI trainingSome paths restricted
Applebot-ExtendedAppleAI trainingSome paths restricted
CCBotCommon CrawlAI trainingSome paths restricted
BytespiderByteDanceAI trainingBlocked
Meta-ExternalAgentMetaAI trainingSome paths restricted

How github.com compares

  • 19% of the 1,278 popular sites we checked block GPTBot; github.com does not.
  • 18% of the 1,278 popular sites we checked block ClaudeBot; github.com does not.
  • 14% of the 1,278 popular sites we checked block PerplexityBot; github.com does not.
  • Among 100 sites of similar popularity, 38% block at least one AI crawler.

The robots.txt rules that apply to AI crawlers

User-agent: GPTBot
User-agent: OAI-SearchBot
User-agent: ClaudeBot
User-agent: anthropic-ai
User-agent: PerplexityBot
Allow: /$
Allow: /about
Allow: /customer-stories
Allow: /enterprise
Allow: /features
Allow: /marketplace
Allow: /mcp
Allow: /newsroom
Allow: /pricing
Allow: /resources
Allow: /security
Allow: /solutions
Allow: /topics/download*
Allow: /topics/comments*
Allow: /marketplace/actions/download*
Disallow: /*/*/pulse
Disallow: /*/*/projects
Disallow: /*/*/forks
Disallow: /*/*/issues/new
Disallow: /*/*/milestones/new
Disallow: /*/*/issues/search
Disallow: /*/*/commits/
Disallow: /*/*/branches
Disallow: /*/*/contributors
Disallow: /*/*/tags
Disallow: /*/*/stargazers
Disallow: /*/*/watchers
Disallow: /*/*/network
Disallow: /*/*/graphs
Disallow: /*/*/compare
Disallow: /*/tree/
Disallow: /gist/
Disallow: /*/download
Disallow: /*/revisions
Disallow: /*/commits/*?author
Disallow: /*/commits/*?path
Disallow: /*/comments
Disallow: /*/archive/
Disallow: /*/blame/
Disallow: /*/raw/

User-agent: Bytespider
Disallow: /

User-agent: *
Allow: /*?tab=achievements&achievement=*
Allow: /marketplace/*?tab=readme$
Allow: /marketplace/*?tab=transparency$
Allow: /topics/download*
Allow: /topics/comments*
Allow: /marketplace/actions/download*
Disallow: /*/*/pulse
Disallow: /*/*/projects
Disallow: /*/*/forks
Disallow: /*/*/issues/new
Disallow: /*/*/milestones/new
Disallow: /*/*/issues/search
Disallow: /*/*/commits/
Disallow: /*/*/branches
Disallow: /*/*/contributors
Disallow: /*/*/tags
Disallow: /*/*/stargazers
Disallow: /*/*/watchers
Disallow: /*/*/network
Disallow: /*/*/graphs
Disallow: /*/*/compare
Disallow: /*/tree/
Disallow: /gist/
Disallow: /*/download
Disallow: /*/revisions
Disallow: /*/commits/*?author
Disallow: /*/commits/*?path
Disallow: /*/comments
Disallow: /*/archive/
Disallow: /*/blame/
Disallow: /*/raw/
Disallow: /*/cache/
Disallow: /.git/
Disallow: */.git/
Disallow: /*.git$
Disallow: /search/advanced
Disallow: /search$
Disallow: /*.atom$
Disallow: /ekansa/Open-Context-Data
Disallow: /ekansa/opencontext-*

Excerpt: only groups for all user-agents (*) or named AI crawlers, up to 40 rules per group.

Sites with a similar AI policy

All sites that are “blocks ai training, allows ai answers” →

Does github.com block GPTBot?

No. As of Oct 2, 2026, github.com's robots.txt doesn't block GPTBot, though some paths are restricted for all crawlers.

Can ChatGPT search show results from github.com?

Its robots.txt doesn't block OAI-SearchBot or ChatGPT-User, so ChatGPT's search crawlers may read it. Whether pages are actually shown depends on ChatGPT.

Does github.com have an llms.txt file?

Yes — github.com/llms.txt was found when we checked.

Data: github.com's public robots.txt and llms.txt, fetched by AskableHQ. Popularity rank from the Tranco list (ID Y83YG). Methodology.