On this page6
To add an llms.txt file to your business website in 2027, publish a plain Markdown file at /llms.txt containing a required H1 business name, a blockquote summary, short context notes, and H2 sections of Markdown links (- [Page Title](https://your-domain.com/page): summary) to your core service, pricing, and location pages. Under the v2 specification, you can also advertise /llms.txt with rel="describedby" link headers in your HTTP responses or HTML head according to the official llms.txt changes specification. Just know what it does: an llms.txt file helps AI agents read your site cleanly on demand according to the llms.txt specification, while Google Search ignores it completely per Google Search Central AI optimization guidance.
What an llms.txt file actually does in 2027 (and what Google Search says about it)
Under the llms.txt specification, the file is plain Markdown meant for coding agents and chat assistants that need a clean site map without parsing HTML navigation and JavaScript.
Google's guide to optimizing for generative AI features on Google Search states that Google Search does not use llms.txt files, and maintaining one for other systems will neither harm nor help visibility or rankings in Google Search. Google AI Overviews still pull from the normal Search index; see how Google's query fan-out retrieves indexed pages for AI citations.
Otto Webmaster never guarantees Google Map Pack placement, search rankings, or ChatGPT mentions. The Otto AI SEO Agent for weekly technical SEO, Search Console, and AI search visibility helps you keep indexed pages, schema, and listings accurate instead.
Publish /llms.txt for agents that read it directly. Do not treat it as a replacement for technical SEO.
llms.txt vs. robots.txt vs. sitemap.xml: how AI crawlers and agents read your site
Site owners often confuse llms.txt with robots.txt and XML sitemaps. Each file serves a separate system and communicates different instructions to automated software.
| File or directive | Primary audience | Function | Impact on Google Search and AI Overviews |
|---|---|---|---|
/llms.txt (v2) | Autonomous AI agents, code assistants, and LLMs fetching prompt context | Provides a curated Markdown directory of clean pages, context notes, and links https://llmstxt.org/ | Ignored by Google Search; neither helps nor harms search rankings https://developers.google.com/search/docs/fundamentals/ai-optimization-guide |
/robots.txt (Googlebot) | Web search crawlers | Tells search engine crawlers which URLs they can access to manage server load https://developers.google.com/search/docs/crawling-indexing/robots/intro | Does not remove pages from search; unblocked pages can still be indexed https://developers.google.com/search/docs/crawling-indexing/robots/intro |
/robots.txt (Google-Extended) | Google AI model training crawlers | Manages whether crawled content can train Gemini models or ground Gemini Apps https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers | Does not impact site inclusion or search ranking in Google Search https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers |
noindex robots directive | Search engine indexing robots | Instructs search engines not to show a specific page in search results https://developers.google.com/search/docs/crawling-indexing/robots/intro | Removes the page entirely from Google Search and Google AI Overviews |
/sitemap.xml | Search engine crawlers | Comprehensive XML catalog of canonical URLs and last modification dates | Helps crawlers discover new and updated pages across your entire domain |
Per Google's robots.txt introduction, robots.txt manages crawler access, not removal from Search; use noindex or a password to keep a page out of Google. Google's common crawlers documentation documents Google-Extended for Gemini training and grounding without affecting Search inclusion or ranking, plus planned early-2027 support for the AIPREF user-agent: __usage_ai-training signal.
Otto MCP
Ask your AI assistant what changed in your ads
Connect Claude or ChatGPT to Otto, then ask about Meta Ads, Google Ads, GA4, and Search Console in the same chat. The logins stay in Otto.
The v2 llms.txt specification: required sections, Markdown syntax, and link headers
Under the official specification created by Jeremy Howard, an llms.txt file lives at the root path /llms.txt or at any subpath covering URLs under that directory https://llmstxt.org/. Where more than one file applies, agents use the most specific file available https://llmstxt.org/.
A valid file must follow five structural components in exact order https://llmstxt.org/:
- Optional byte-order mark (BOM).
- Required H1: Your project or business name—the only mandatory section per the llms.txt specification.
- Blockquote summary: A short
>summary of what you do. - Body notes: Plain paragraphs or lists with hours, service area, and policies—no headings here.
- H2 link sections: One or more sections containing unordered Markdown lists formatted strictly as a Markdown link followed by an optional colon and notes, per the llms.txt specification.
The v2 specification updated in August 2026 introduced four practical improvements https://llmstxt.org/changes.html:
- Standard link relations: Rather than relying on agents to guess URLs, sites can advertise Markdown alternatives using
rel="alternate" type="text/markdown"and point to the covering llms.txt file usingrel="describedby"https://llmstxt.org/changes.html. You can deliver both relations through HTML<link>elements or HTTPLink:headers https://llmstxt.org/changes.html. - Flexible Markdown extensions: v2 supports both
page.html.mdandpage.mdURL formats for clean Markdown versions of your content https://llmstxt.org/changes.html. - Subpath scoping: Subdirectories like
/docs/llms.txtor/es/llms.txtcleanly scope instructions to specific areas of large sites https://llmstxt.org/. - Dropped context-expansion tooling: The v1 specification included experimental
llms_txt2ctxtooling to stitch pages together mechanically. The v2 specification dropped this tooling https://llmstxt.org/changes.html. As a result, an## Optionalheading is now treated as an informal editorial convention for secondary links rather than a mechanical instruction for parsers https://llmstxt.org/changes.html.
Copy-paste llms.txt template for a small business website
Say you run a bilingual physical therapy clinic in San Juan, Puerto Rico. Here is a practical, compliant template for that kind of service business, including English and Spanish /es/* paths common in Puerto Rico.
# San Juan Physical Therapy & Performance
> San Juan Physical Therapy & Performance provides evidence-based sports rehabilitation, dry needling, and injury prevention in Condado, San Juan, Puerto Rico.
We treat orthopedic injuries, post-surgical recovery, and athletic conditioning. Direct billing is available for major insurance plans. Services are provided in English and Spanish.
- Operating hours: Monday through Friday, 7:00 AM to 6:00 PM AST; Saturday, 8:00 AM to 1:00 PM AST.
- Phone: +1-787-555-0198
- Physical address: 1054 Ashford Ave, Suite 302, San Juan, PR 00907
- Languages: English, Spanish (/es/)
## Core Services
- [Orthopedic Physical Therapy](https://your-clinic.com/services/physical-therapy): Initial evaluations, treatment plans, and joint rehabilitation.
- [Sports Performance & Recovery](https://your-clinic.com/services/sports-performance): Return-to-play testing, strength assessments, and running analysis.
- [Dry Needling](https://your-clinic.com/services/dry-needling): Neuromuscular pain relief and trigger-point treatment.
## Patient Pricing and Insurance
- [Insurance and Payment Rates](https://your-clinic.com/pricing): Accepted insurance networks, out-of-network rates, and private pay packages.
- [New Patient Intake Forms](https://your-clinic.com/intake): Medical history documents, intake forms, and cancellation policies.
## Spanish Resources / Servicios en Español
- [Fisioterapia Ortopédica en San Juan](https://your-clinic.com/es/servicios/fisioterapia): Evaluaciones iniciales, rehabilitación muscular y terapia en Condado.
- [Tarifas y Planes Médicos](https://your-clinic.com/es/precios): Redes de planes médicos aceptados y opciones de pago privado.
## Optional
- [Our Clinical Team](https://your-clinic.com/team): Bios and certifications for our licensed doctors of physical therapy.
- [Frequently Asked Questions](https://your-clinic.com/faq): Answers regarding parking, direct access laws, and first-visit expectations.How to publish /llms.txt on GitHub and Vercel or WordPress without breaking live pages
Publishing your file requires placing plain text at your site's root domain and configuring discovery headers without overwriting existing rewrite rules.
Option 1: Static sites on GitHub and Vercel
If your website runs on Next.js, Astro, or static HTML deployed via GitHub and Vercel:
- Create the file: Add
llms.txtdirectly to your repository'spublic/directory (for Next.js or Astro) or project root (for standard static sites). - Add HTTP headers: In your
vercel.jsonfile, add arel="describedby"discovery header for all HTML responses https://llmstxt.org/changes.html:
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Link",
"value": "</llms.txt>; rel=\"describedby\""
}
]
}
]
}
- Commit via pull request: Never push unreviewed changes directly to main. Otto Webmaster integrates directly with Vercel and GitHub, creating changes as pull requests with live preview deployments before anything merges.
- Test the live endpoint: Run
curl -I https://your-clinic.com/llms.txtin your terminal. Verify that the response returns anHTTP/2 200status code withcontent-type: text/plain; charset=utf-8ortext/markdown.
Option 2: WordPress websites
For WordPress:
- Upload
llms.txtto your web root (public_html/) via SFTP or your host file manager. - Confirm security plugins allow
.txtfiles at the root (avoid 403 errors). - Stage page edits as drafts. The Otto AI Website Manager for approval-gated GitHub pull requests and WordPress drafts uses 29 WordPress tools with draft-first writes.
What actually drives AI search visibility—and how to audit it in Claude with Otto MCP
Because Google Search ignores llms.txt files, AI Overviews and local AI answers lean on indexed service pages, mobile Core Web Vitals, and consistent NAP across your site and Google Business Profile. Read how NAP inconsistencies between your website and Google Business Profile hurt AI Overviews.
Connect Claude to Otto MCP to query live data without CSV exports. Otto connects 227 tools across 15 integrations to Claude, ChatGPT, or Cursor. You connect accounts once in Otto; the assistant holds only an otto_mcp__ token while OAuth secrets stay on Otto's server. GA4, Search Console, Google Business Profile, Google Ads, and PageSpeed Insights are read-only in Otto MCP. Structured queries through Otto MCP cut token usage by 80–90% versus pasting large CSVs into a chat.
Before running an audit, connect Google Search Console to Otto and connect Google Business Profile to Otto for NAP and hours audits.
Once connected, paste these three prompts into Claude:
Prompt 1: GSC indexing and query visibility audit
"Using Otto MCP's Google Search Console tools, query my top 25 search queries and indexed pages over the last 30 days. Identify pages with high impressions but low click-through rates, and check whether our core service pages are indexing cleanly."
Prompt 2: Core Web Vitals and speed analysis
"Run psi_analyze_url on my homepage and main service landing pages. Report our Largest Contentful Paint, Cumulative Layout Shift, and mobile performance scores, and list specific file or script bottlenecks."
Otto MCP includes a built-in PageSpeed Insights tool (psi_analyze_url) that checks Lighthouse scores and Core Web Vitals on any URL using Otto's platform key without requiring you to create your own Google API key.
Prompt 3: NAP and Google Business Profile consistency check
"Query my Google Business Profile integration for our published business name, primary category, address, phone number, and operating hours. Compare these against the contact details on our website to ensure total alignment."
Otto delivers automated weekly SEO reports tracking areas for improvement and keyword positions, and lets you approve site updates directly through WhatsApp.
Otto Webmaster is built for service businesses and small teams—including clinics, law firms, studios, cafés, agencies, gyms, and salons—that need their site, search, and ads managed without paying agency retainers. Otto never guarantees search rankings, Map Pack placement, or ChatGPT mentions. As an honest limitation, Otto's Pro plan ($199/mo or $99/mo billed annually) includes website updates, SEO, and read-only access to ads and socials, while write access to paid campaigns requires the Master plan ($3,500/mo or $3,000/mo billed annually) with human approval required on every change.
To clean up your site's technical foundation, start a $1 3-day Otto trial, which includes a custom homepage redesign built from your existing photos and text, reviewed and approved by you before anything goes live.
Otto AI SEO Agent
The search page should match the business.
Titles drift, links break, and the listing keeps Friday's hours. Otto runs that hygiene on a week. You approve the lines a customer would read.
See how Otto does it