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
| Crawler | Used for | Status on github.com |
|---|---|---|
| GPTBotOpenAI | AI training | Some paths restricted |
| OAI-SearchBotOpenAI | AI answers | Some paths restricted |
| ChatGPT-UserOpenAI | AI answers | Some paths restricted |
| ClaudeBotAnthropic | AI training | Some paths restricted |
| Claude-SearchBotAnthropic | AI answers | Some paths restricted |
| Claude-UserAnthropic | AI answers | Some paths restricted |
| PerplexityBotPerplexity | AI answers | Some paths restricted |
| Google-ExtendedGoogle | AI training | Some paths restricted |
| Applebot-ExtendedApple | AI training | Some paths restricted |
| CCBotCommon Crawl | AI training | Some paths restricted |
| BytespiderByteDance | AI training | Blocked |
| Meta-ExternalAgentMeta | AI training | Some 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
- netflix.com · 4 blocked
- vimeo.com · 5 blocked
- snapchat.com · 7 blocked
- unity3d.com · 1 blocked
- gravatar.com · 4 blocked
- flickr.com · 7 blocked
- medium.com · 5 blocked
- canva.com · 6 blocked
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.