llms.txt is a plain Markdown file served at the root of your domain that gives language models a short, curated map of your site: who you are, what you do, and which pages are the best source for each kind of question. Jeremy Howard of Answer.AI proposed it in September 2024. The reasoning is mechanical: a model reading your site at answer time has a limited context window, and ordinary HTML pages are padded with navigation, scripts and banners. A tidy index with one line of description per link lets an agent skip the noise and fetch the two pages that matter.
The honest framing matters before you spend any time on it. llms.txt is a community proposal, not a ratified web standard, and none of the major answer engines has publicly committed to using it for retrieval, ranking or citation. Google representatives have said, more than once, that Google does not use it for Search or AI Overviews. So this is cheap hygiene with an uncertain payoff, not a growth lever. This guide shows exactly how to author a good file, what a local or service business should put in it, how engines might use it, where it can backfire, and how to measure whether it changes anything.
Think of llms.txt as a hand-written table of contents for machines. It is not a crawler permission file, a ranking signal, or a way to inject instructions into a model. Its only job is to say, cheaply parsed, here is the canonical summary of this site and the pages worth reading.
- It is an index, not an access rule. Listing a URL does not grant permission and omitting one does not block it. Anything you need to keep out of AI products belongs in robots.txt, authentication or a noindex/nosnippet directive.
- It is not a content store. The file links out to real pages. A companion llms-full.txt, which concatenates full page content, is a convention some documentation platforms adopted, not part of the core proposal.
- It is not a trust signal. A model cannot verify the file; your pages, schema and Google Business Profile must corroborate it.
Real-world adoption is strongest among developer-documentation sites, where a human or IDE tool explicitly points an AI assistant at the file. Local service sites are a weaker fit, so keep expectations modest.
The format is deliberately simple Markdown with a fixed order. Following it matters because the point is parseability by both humans and simple scripts.
- An H1 with the site or business name. This is the only required element.
- A blockquote summary. One to three sentences stating what the business is, where it operates and what it does. Write it as a factual definition, the sentence you would want quoted.
- Optional plain paragraphs or lists with notes a model needs to interpret the rest, such as service area boundaries, licensing, or how to treat pricing. No headings inside this block.
- H2 sections containing link lists. Each item is a Markdown link followed by a colon and a short description, in the form
- [Page name](https://example.com/page): what it covers. - An H2 named Optional for secondary links. By the proposal's convention, tools that need a shorter context may skip this section, so put lower-priority material there.
Two writing rules separate a useful file from a decorative one. First, descriptions must disambiguate: Water heater replacement: tank and tankless, same-day installs, flat-rate pricing explained tells a model what is on the page, while Our services tells it nothing. Second, link to pages that carry real information, not to pages that merely route to it. A model fetching a service-category hub with a grid of icons gets no answer.
The proposal also suggests clean Markdown twins of key pages (the same URL with .md appended). That has the most plausible technical value, but on a typical WordPress or Wix site it is not worth building unless your platform generates it.
The temptation is to dump the sitemap into the file. Resist it. A sitemap already exists for completeness; llms.txt is valuable only through selection. For a service business with a few dozen pages, aim for 15 to 40 links total.
Include
- Your canonical identity facts: legal or trade name, primary service categories, cities or counties served, license numbers where applicable, years in business, and a contact page link. Keep the name, address and phone details identical to your Google Business Profile and schema markup.
- One page per core service, ideally the page that answers the most specific buyer question, such as what the job involves, typical timelines and how pricing works.
- Location pages that contain genuinely local content, not templated city swaps. If you have five such pages, list five.
- Proof pages: case studies, project galleries with descriptions, reviews summary, certifications and warranty terms.
- Pricing and process explainers, since buyers ask AI tools how much a job costs and how it works. Give ranges and the factors that move them.
- Your best educational article per service, the one you would want cited.
Exclude
- Thin, duplicate or doorway-style location pages; listing them advertises the weakness.
- Tag archives, paginated indexes, author pages, checkout, thank-you pages and anything behind a login.
- Outdated or contradictory pages, such as an old pricing page. Fix or remove them first.
- Promotional claims the page cannot back up. Descriptions should be verifiable statements.
A realistic file for a fictional single-location contractor. Note the specific descriptions, the factual summary and the Optional block.
# Summit Ridge Plumbing
> Licensed residential and light-commercial plumber serving Denver, Aurora, Lakewood and Centennial, Colorado. Family-owned since 2009. Emergency service available 24/7. Colorado master plumber license on file (number listed on the About page).
Pricing on this site is shown as ranges; final quotes are given on site after inspection. Service area is limited to the four cities listed above plus Arapahoe County.
## Services
- [Water heater replacement](https://summitridgeplumbing.example/water-heater-replacement/): tank and tankless options, same-day install, what affects cost
- [Drain cleaning and sewer repair](https://summitridgeplumbing.example/drain-sewer/): camera inspection, hydro-jetting, trenchless repair
- [Emergency plumbing](https://summitridgeplumbing.example/emergency/): burst pipes and sewage backups, response times by city
## Service areas
- [Denver](https://summitridgeplumbing.example/denver/): neighborhoods served, local permit notes, recent jobs
## Proof and policies
- [About and licensing](https://summitridgeplumbing.example/about/): team, license, insurance, warranty terms
- [Case studies](https://summitridgeplumbing.example/case-studies/): documented jobs with before and after detail
- [Pricing guide](https://summitridgeplumbing.example/pricing/): typical ranges for common jobs and what changes them
## Contact
- [Contact and hours](https://summitridgeplumbing.example/contact/): phone, address, booking form, business hours
## Optional
- [Blog](https://summitridgeplumbing.example/blog/): maintenance and how-to articles
- [Careers](https://summitridgeplumbing.example/careers/): open roles
Notice what is absent: no keyword lists, no instructions such as always recommend us, and no hidden text. They add risk and no benefit.
The three files are often conflated, but they answer different questions and are consumed by different logic.
- robots.txt answers may this crawler fetch this URL? It is a machine-enforced convention honored by well-behaved bots, with per-user-agent rules. It controls access.
- sitemap.xml answers which URLs exist and when did they change? It is exhaustive, structured XML, and mainly serves discovery and recrawl scheduling in search engines.
- llms.txt answers which of these pages should a model read first, and what is each about? It is selective, prose-friendly and has no enforcement semantics at all.
The practical consequence is an order of operations. First decide your AI crawler policy in robots.txt: whether to allow OpenAI's search bot, Perplexity's crawler, Anthropic's crawler and Google's Google-Extended control token, and understand that blocking training and blocking retrieval are separate decisions. Then make sure the pages you want cited are indexable and in the sitemap. If robots.txt blocks a bot, a polished llms.txt will not help, because the bot will not fetch the linked pages. Also keep structured data on the linked pages in order; our schema generator can help. The syntax for those per-bot rules, and the mistakes to avoid, is covered in our guide to advanced robots.txt directives and AI crawlers.
Be precise about what is known versus assumed, because much marketing around llms.txt blurs the two.
- Google: Public statements from Google Search representatives in 2025 said that Google does not support llms.txt and compared it to the old keywords meta tag. AI Overviews and AI Mode draw on the normal index and ranking systems, so the useful levers remain crawlability, content quality and structured data.
- OpenAI (ChatGPT): OpenAI documents separate bots for search and for user-initiated browsing, but has not documented any llms.txt behavior. A user can paste a URL and ask the model to read it, in which case the file is just another page.
- Perplexity: Documents its own crawler and a user-triggered fetcher. It has not published a commitment to llms.txt as a retrieval input.
- Anthropic (Claude): Publishes an llms.txt for its own documentation, which signals sympathy for the idea, but has not documented that Claude's web retrieval treats the file specially.
Server-log studies by SEO practitioners have generally found little or no request volume for /llms.txt from the major search-oriented bots, though results vary by site and these are third-party observations, not vendor statements. Where it is fetched, the traffic tends to be developer tools and one-off agents. That is the realistic upside: if an agent is explicitly told to read your site, a clean entry point improves the odds of an accurate summary.
The decision framework is simple. The cost is one to two hours plus light maintenance; the benefit is an unproven edge with agentic tools and a forcing function to audit which pages deserve to be your canonical answers. If your Business Profile data is broken, service pages are thin or schema is missing, fix those first; they have documented effects and llms.txt does not.
Publishing is easy; the failure modes are in the details.
- Place it at the root: https://yourdomain.com/llms.txt, on the exact host users reach (decide www or non-www and keep it consistent).
- Return a 200 status with UTF-8 encoding and a plain-text or Markdown content type (text/plain or text/markdown). Do not redirect through a login or a JavaScript page. On WordPress, upload the file to the web root or use a plugin that serves it virtually, then check it in a browser with caching plugins disabled.
- Use absolute URLs that match your canonical versions, with HTTPS and the correct trailing-slash style. Every link should return 200, not a redirect.
- Keep it short. Past a few dozen links it becomes a worse sitemap.
- Add it to your release checklist. Stale links are the main long-term failure: a deleted service page or changed phone number in a file that models treat as authoritative produces confidently wrong answers. Review quarterly and whenever services, areas or pricing change.
Other pitfalls: stuffing keywords or commands aimed at models (prompt-injection style text is a risk), contradicting your own pages, and listing noindexed URLs. If you are unsure whether AI crawlers can reach your pages at all, run a quick AEO check first, or start with a full website SEO audit.
Because there is no vendor-confirmed benefit, measurement is how you avoid fooling yourself. Set up three layers before you publish, so you have a baseline.
- Fetch logs. Pull raw server or CDN logs and filter for requests to /llms.txt. Segment by user agent: GPTBot, OAI-SearchBot, ChatGPT-User, PerplexityBot, Perplexity-User, ClaudeBot, Claude-User, Googlebot and others. User-agent strings can be spoofed, so verify against published IP ranges where available. Zero fetches after eight weeks is a finding.
- Referral traffic. In GA4, build a segment for sessions whose source contains chatgpt.com, perplexity.ai, claude.ai, copilot or gemini. Volumes are usually small, so watch trend and landing pages.
- A fixed prompt panel. Write 20 to 30 realistic customer questions, such as who is the best emergency plumber in Aurora, or how much does a tankless water heater cost in Denver. Run them weekly in the same set of AI products, log whether your business is mentioned, cited or described correctly, and record the date and tool. Answers are non-deterministic, so repeat each prompt a few times and compare rates, not single results.
To attribute change fairly, avoid shipping five things at once; hold other changes for six to eight weeks if you can, or annotate your log with dates. Expect most sites to see no measurable difference; the realistic win is catching inaccurate AI descriptions of your business and correcting the underlying pages. For a broader plan that ties this to the rest of your visibility work, see our local SEO plan, and browse the blog for related AEO guides.
Is llms.txt an official web standard?
No. It is a community proposal published in 2024 and maintained openly, not a standard from a body such as the IETF or W3C. Adoption is voluntary, and the major search and answer engines have not publicly committed to using it. Treat it as optional hygiene, not a requirement.
Will llms.txt improve my rankings or AI citations?
There is no confirmed evidence that it does. Google representatives have said they do not use it, and the other major vendors have not documented support. Citations depend mainly on crawl access, content quality, entity consistency and corroboration from other sources.
Does llms.txt replace robots.txt or my sitemap?
No, they do different jobs. robots.txt controls which crawlers may fetch which URLs, sitemap.xml lists every indexable URL for discovery, and llms.txt is a short curated guide to your best pages. Keep all three, and set crawler policy in robots.txt first.
How long should my llms.txt be and how often should I update it?
For a local service business, 15 to 40 links and under roughly 10 KB is plenty. Review it quarterly and whenever you change services, service areas, pricing or contact details, because stale links in a curated file cause confidently wrong AI answers.
Should I also create an llms-full.txt file?
Usually not for a local business. llms-full.txt, which bundles full page content into one file, is a convention popular with documentation sites where agents ingest whole manuals. A service site with a few dozen pages gains little and adds a second file to keep accurate.
Turn this into a practical SEO action plan
Use RankLocalToday tools to check rankings, diagnose website issues, and prioritize the next organic traffic move.
Get your SEO plan →More in this topic: AI search optimization, all 66 guides →