Digital Marketing Fundamentals with AI MasterClass

llms.txt, Robots.txt and AI Crawlers: Technical GEO Setup

Technical GEO setup banner with server racks for llms.txt, robots.txt and AI crawlers
Quick answerTechnical GEO: four checks, one file optional

Pick a tab: llms.txt, AI crawlers in robots.txt, or the page basics AI search needs.

  • What it isA Markdown file at /llms.txt that lists your key pages for AI tools
  • Google SearchDoes not use it; it neither helps nor harms
  • Worth it forDocumentation, APIs and sites used by AI agents
  • Search botsOAI-SearchBot, Claude-SearchBot, PerplexityBot: allow for AI search
  • Training botsGPTBot, ClaudeBot, Google-Extended: a separate business choice
  • User botsChatGPT-User, Claude-User, Perplexity-User fetch pages on request
  • IndexableA page must be indexed and snippet-eligible for AI Overviews
  • Text in HTMLKey facts in the page source, not only in images or scripts
  • SchemaHelpful for rich results, not required for AI answers
1file most sites never need: llms.txt
3kinds of AI bot: search, training and user
~24hfor OpenAI and Perplexity to read robots.txt changes

Technical GEO setup means making your site crawlable, indexable and readable for AI search: allow the AI search crawlers you want in robots.txt, keep key text in the HTML, use snippet controls carefully and add schema where it earns rich results. llms.txt is optional. Google Search does not use it, and only some AI tools and agents read it.

Key Takeaways

  • llms.txt was proposed by Jeremy Howard in September 2024 as a curated Markdown map of a site for large language models; it is a community proposal, not a web standard.
  • Google’s AI optimisation guide says Google Search does not use llms.txt, AI text files or special markup, and that creating them neither helps nor harms.
  • OpenAI, Anthropic and Perplexity each run separate bots for search, training and user requests, and each robots.txt rule works independently.
  • Blocking GPTBot stops OpenAI training use but does not remove a site from ChatGPT search; blocking OAI-SearchBot does.
  • Google-Extended controls Gemini training and grounding only and does not affect inclusion or ranking in Google Search.
  • To appear in AI Overviews and AI Mode, a page must be indexed and eligible to show with a snippet.

What Is Technical GEO Setup?

Technical GEO setup is the crawl and access layer of generative engine optimization. It decides whether AI search systems can reach, read and quote your pages before content quality matters at all. The work covers robots.txt rules for AI crawlers, optional llms.txt files, snippet controls, structured data and the same crawlability basics covered in our technical SEO guide.

The reason it matters is how AI answers are built. As our guide to how AI search engines work explains, systems such as ChatGPT search, Perplexity and Google AI Overviews retrieve pages from an index first and then write an answer from them. A page that is blocked, unindexed or hidden behind scripts never reaches that step.

What Is llms.txt?

llms.txt is a plain Markdown file placed at the root of a website (example.com/llms.txt) that gives large language models a short summary of the site and links to its most useful pages. Jeremy Howard of Answer.AI proposed it in September 2024 at llmstxt.org. It works like a curated table of contents, not an access rule.

What goes inside an llms.txt file

The proposal asks for one H1 with the site name, a short blockquote summary, then H2 sections listing links with one-line descriptions. Documentation sites often add an llms-full.txt file that bundles the full text of their docs in one place.

# Sharma Coaching Institute

> CA Foundation and CA Inter coaching in Pune, with live online and classroom batches.

## Courses
- [CA Foundation course](https://example.com/ca-foundation/): syllabus, fees and batch dates
- [CA Inter course](https://example.com/ca-inter/): groups, subjects and schedule

## Free resources
- [CA Foundation study plan](https://example.com/study-plan/): a 4-month plan by subject

## Optional
- [About us](https://example.com/about/)

The example above is an illustration for a made-up Pune institute. Keep the list short and curated; a dump of every URL defeats the purpose, which is to point an AI tool to the few pages that answer most questions.

llms.txt vs robots.txt vs sitemap.xml

The three files do different jobs, and llms.txt replaces neither of the others. robots.txt tells crawlers what they may fetch, sitemap.xml lists the URLs you want discovered, and llms.txt suggests which pages an AI tool should read first.

FileJobWho reads itControls access?
robots.txtAllows or blocks crawling by user agentSearch and AI crawlers that respect itYes
sitemap.xmlLists URLs and update datesGoogle, Bing and other search enginesNo
llms.txtCurated summary and key links in MarkdownSome AI tools, coding agents and auditsNo

Does Google Use llms.txt?

No, Google Search does not use llms.txt. Google’s guide to optimising for generative AI features says Search does not use llms.txt, AI-specific text files, special markup or Markdown versions of pages, and that creating them neither helps nor harms visibility in Search, AI Overviews or AI Mode. Other services may still read such files.

Google’s John Mueller has compared llms.txt to the old keywords meta tag, and Google’s Gary Illyes has said Google is not pursuing it, as reported by Search Engine Journal. Separately, Chrome’s Lighthouse added an experimental agentic browsing check that looks for llms.txt and treats a missing file as optional. That check is about AI agents using a site, not about Google rankings.

Quick check: Open yoursite.com/llms.txt in a browser. If it returns a 404, nothing is broken: Google Search and AI Overviews do not need it. If a plugin created one, read it once and remove draft, thank-you or admin pages from the list.

Should You Create an llms.txt File?

Create an llms.txt file only when AI tools and agents are likely to read your site directly, such as developer documentation, API references or large help centres. For most business websites, blogs and local service sites it is a low-priority, low-cost extra; time spent on crawlability, content and internal links does far more.

Site typePriorityWhy
Developer docs, API referencesMediumCoding assistants and agents fetch clean Markdown references
Large help centre or knowledge baseLow to mediumA curated map can point agents to the right articles
Business site, blog, e-commerceLowGoogle ignores it; other AI search tools rely on their crawlers and indexes
Local business siteVery lowGoogle Business Profile and indexable pages matter far more

How to create an llms.txt file

Write the file by hand or let your SEO plugin build it, then upload it to the site root. On WordPress, both Rank Math and Yoast SEO offer an llms.txt feature that lists chosen posts and pages automatically.

  1. List the 10 to 30 pages that answer the most common questions about your business.
  2. Write an H1 with the brand name and a one-sentence summary in a blockquote.
  3. Group the links under H2 headings such as Courses, Services, Guides and Policies.
  4. Add a one-line description after each link so an AI tool knows what the page answers.
  5. Upload it as /llms.txt, check that it returns status 200 as plain text, and review it when key pages change.

llms.txt generators and checkers

An llms.txt generator builds the file from your sitemap or chosen pages, and an llms.txt checker confirms the file loads and follows the format. On WordPress, Rank Math and Yoast SEO generate the file, and free online validators test it.

You can run the main checks yourself in two minutes. Open yoursite.com/llms.txt in a browser and confirm it loads as plain text with a 200 status, starts with one H1 line naming the site, has a short summary in a blockquote, groups links under H2 headings, and that every link opens a live page. Review a generated file by hand, so it lists your most useful pages rather than every URL.

AI Crawlers Explained: Search, Training and User Bots

Each major AI company runs separate bots for separate jobs: a search bot that indexes pages for AI answers, a training bot that collects content for future models, and a user bot that fetches a page when someone asks. Their robots.txt rules are independent, so you can allow AI search and decline training at the same time.

CompanyBotJobIf you block it
OpenAIOAI-SearchBotIndexes pages for ChatGPT searchPages stop appearing in ChatGPT search results
OpenAIGPTBotCollects content that may train OpenAI modelsContent is not used for training; ChatGPT search is unaffected
OpenAIChatGPT-UserVisits a page when a user asksrobots.txt rules may not apply to user-initiated visits
AnthropicClaude-SearchBotIndexes pages for Claude search resultsVisibility in Claude search may fall
AnthropicClaudeBotCollects content that may train Claude modelsContent is not used for training
PerplexityPerplexityBotIndexes and links sites in Perplexity answersSite may drop out of Perplexity results
GoogleGoogle-Extended (token)Controls Gemini training and groundingNo effect on Google Search or AI Overviews

Sources for the table are the official pages from OpenAI, Anthropic, Perplexity and Google. OpenAI and Perplexity both say robots.txt changes can take about 24 hours to take effect. Anthropic also runs Claude-User for user requests, and Perplexity runs Perplexity-User, which generally ignores robots.txt because a person triggered the visit.

Google-Extended is not a separate crawler

Google-Extended is a robots.txt token, not a user agent that visits your site. Googlebot crawls as usual; the token tells Google whether that content may train and ground Gemini Apps and Vertex AI. Google states it does not affect inclusion or ranking in Google Search.

Bing and Microsoft Copilot

Microsoft Copilot answers draw on the Bing index, so Bingbot access and a verified Bing Webmaster Tools account matter most. Bing’s NOCACHE and NOARCHIVE tags limit or remove a page from Copilot answers without touching normal Bing results.

How to Allow or Block AI Crawlers in robots.txt

Add a separate User-agent group for each AI bot you want to control, then test the live file. The rules below allow the AI search bots and decline the training bots, which suits most businesses that want AI visibility without giving content to model training. Keep your existing rules for admin and search pages.

# AI search: allow
User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

# AI training: decline
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

# Everyone else
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://example.com/sitemap_index.xml

Training is a business decision, not a GEO requirement, so some brands allow GPTBot and ClaudeBot on purpose. Never block Googlebot or Bingbot while trying to control AI use, because both power AI answers as well as normal search. If you need a starting file, our robots.txt generator guide shows the syntax.

Check your CDN and firewall too

A correct robots.txt does not help if a firewall blocks the bot first. CDNs and security plugins can block or challenge AI crawlers by default, so review their bot settings and check server logs for blocked requests from the bots you allowed.

Example: Say a Jaipur travel agency sees no visits from OAI-SearchBot in its server logs even though robots.txt allows it. The cause turns out to be a bot-protection rule at its CDN that blocks unknown crawlers. After the team allows the verified AI search bots in the CDN settings, the bot starts fetching pages within days (illustrative example).

Snippet Controls and AI Answers

Google’s page on AI features and your website says a page must be indexed and eligible to show with a snippet to appear in AI Overviews or AI Mode, and it points to the normal preview controls. So nosnippet, data-nosnippet and max-snippet also limit what AI features show; use them only on text you want kept out.

ControlEffect in Google AI featuresUse it for
noindexPage cannot appear in Search or AI featuresThin, private or duplicate pages
nosnippetNo text preview, so no AI feature use of the pageRarely; it removes the page from AI answers
data-nosnippetHides only the marked part of the pagePrices, offers or text you do not want quoted
max-snippetCaps preview lengthPublishers with licensing limits

Is Schema Markup Needed for GEO?

No, schema markup is not required to appear in Google’s AI features, and there is no special schema for AI search. Google’s AI optimisation guide says structured data is still worth using where it makes pages eligible for rich results. Use it because it describes your page accurately, not as an AI shortcut.

For most sites the useful types are Organization on the homepage, Article or BlogPosting on posts, Product or Course on offer pages, LocalBusiness for local sites and BreadcrumbList across the site. Add them through your SEO plugin rather than pasting duplicate JSON-LD into the page head. Our schema markup guide covers the basics.

Technical GEO Checklist

Run this checklist once at setup and again after any site migration, CDN change or plugin update. Each row is a pass or fail check you can do in an afternoon with free tools such as Search Console, Bing Webmaster Tools and your browser.

CheckHow to testPass when
Key pages indexedURL Inspection in Search ConsoleStatus says the URL is on Google
AI search bots allowedRead /robots.txt; check CDN bot settingsOAI-SearchBot, Claude-SearchBot, PerplexityBot are not blocked
Text in HTMLView page source and search for key factsFees, steps and answers appear as text
Snippets allowedLook for nosnippet and max-snippet tagsNone on pages you want cited
Schema validGoogle Rich Results TestNo errors; types match the page
Bing set upBing Webmaster Tools site verified, sitemap submittedPages indexed in Bing
llms.txt (optional)Open /llms.txtShort, current and returns 200, or deliberately absent

Before and after: Before, a Lucknow clinic’s robots.txt had “User-agent: * Disallow: /” left over from a staging site, so no crawler could read it. After, the rule only blocks /wp-admin/, the AI search bots are allowed, and the doctor profiles show qualifications and timings as text instead of images (illustrative example).

Once access is sorted, the next step is content that AI systems want to cite. Our guides on how to rank in Google AI Overviews and rank in ChatGPT search cover the content side. If you want to practise technical audits on live projects, Digital Vidya’s SEO course covers crawling, indexing and AI search.

Frequently Asked Questions

What is llms.txt?

llms.txt is a Markdown file placed at the root of a website, such as example.com/llms.txt, that gives large language models a short summary of the site and links to its most useful pages. Jeremy Howard proposed it in September 2024. It is a community proposal, not an official standard, and it does not control crawling the way robots.txt does.

Do I need llms.txt for SEO or GEO?

No. Google says Search does not use llms.txt and that creating one neither helps nor harms visibility in Search, AI Overviews or AI Mode. It can help AI agents and coding assistants read developer documentation or large help centres. For most business sites it is optional, and crawlability, indexing and useful content matter far more.

Should I block GPTBot?

Block GPTBot only if you do not want OpenAI to use your content for model training. GPTBot is OpenAI’s training crawler, and blocking it does not remove your site from ChatGPT search. ChatGPT search uses a different bot, OAI-SearchBot, so allow OAI-SearchBot if you want your pages to appear in ChatGPT search results.

Which AI crawlers should I allow in robots.txt?

Allow the AI search crawlers if you want visibility in AI answers: OAI-SearchBot for ChatGPT search, Claude-SearchBot for Claude and PerplexityBot for Perplexity. Always allow Googlebot and Bingbot, which feed Google AI Overviews and Microsoft Copilot. Training bots such as GPTBot, ClaudeBot and the Google-Extended token are a separate business choice.

Does blocking Google-Extended remove my site from AI Overviews?

No. Google-Extended is a robots.txt token that controls whether your content helps train and ground Gemini Apps and Vertex AI models. Google states it does not affect inclusion or ranking in Google Search, and AI Overviews and AI Mode are part of Search. To keep text out of AI Overviews you would need snippet controls instead.

Is schema markup required for AI search?

No. Google says structured data is not required for its generative AI features and that there is no special schema for AI search. Schema is still useful because it makes pages eligible for rich results and describes them clearly. Add Organization, Article, Product, Course or LocalBusiness types through your SEO plugin where they match the page.

Conclusion

Technical GEO setup is mostly good technical SEO with a few new switches. Allow the AI search bots, decide separately on training bots, keep key facts in HTML and keep pages indexable and snippet-eligible. Treat llms.txt as an optional extra for documentation-heavy sites, not a ranking lever.

Avatar of Digital Vidya Editorial Team
Digital Vidya Editorial Team
Digital Vidya delivers AI-driven digital marketing education and job-readiness training for professionals and corporate teams. Our CADMM curriculum includes practising AI-based marketing, SEO, paid media, analytics, and data-privacy disciplines, ensuring real-world relevance. Courses cover AI-enabled marketing, prompt-engineered content, search and SEO, programmatic media, marketing analytics, privacy-first personalization, and B2B demand generation. Learning is hands-on: live projects, mentor-led capstones, tool-based labs, and reproducible templates with quarterly content updates. We’ve trained 120,000+ learners and thousands of corporate participants. Digital Vidya team has run verified collaborations with platforms and brands to deliver real briefs and hiring pipelines. Industry-recognised certifications, placement assistance, employer referrals, and campaign-performance case studies are part of our AI-driven marketing education. We publish transparent outcomes, alumni success stories, and third-party endorsements to support trust and verifiability.
In-Demand Course

6 months Instructor Led Live Online Training
Starts December 7, 2026
  • Covers all Digital Marketing Techniques
Digital Marketing Webinars
Dec 05
Upcoming
Raj Sharma, Digital Vidya Team 11:00 AM - 12:00 PM (IST)
Apr 28
Completed
Marketing Leaders from Paytm Insider, Cognizant and Digital Vidya 03:00 PM - 04:00 PM (IST)
Mar 24
Completed
Marketing Leaders from Merkle Sokrati, 3M, Uber India and VIP Industries Limited 03:00 PM - 04:00 PM (IST)
Discuss With A Career Advisor

Not Sure, What to learn and how it will help you?

Speak to an Expert Live Chat WhatsApp Chat
Scroll to Top