Boost My AI Search

Oct 27, 2026 · The Boost My AI Search Team

llms.txt Explained: What It Is and How to Write One

By The Boost My AI Search Team, Answer engine optimization (AEO) · October 2026

An llms.txt file is a plain-text file you place at the root of your website (e.g., yourdomain.com/llms.txt) that tells AI language models which pages on your site are most useful for them to read and summarize. It is not a ranking signal in the traditional SEO sense — it is a content guide for AI crawlers. Small businesses that sell services, answer questions, or want to appear in ChatGPT or Gemini responses should understand it, even if setup takes less than an hour.

What is llms.txt and why does it exist?

llms.txt is a lightweight, Markdown-formatted file that helps AI systems quickly understand what your website is about and which pages contain your most authoritative content. The idea was proposed in 2024 by Answer.AI co-founder Jeremy Howard as a way to give large language models a structured, human-readable index of a site — similar to how a sitemap.xml helps search engine crawlers find pages, but written for the way LLMs consume text rather than the way indexing bots follow links.

The core problem it solves: AI models have context-window limits. When an AI crawler visits your site, it cannot read every page in full. An llms.txt file acts as a curated table of contents — you tell the model which pages matter most, what each one covers, and how they relate. This reduces the chance that the AI misses your most important content or mischaracterizes what you do.

For a small business, the practical reason to care is this: if ChatGPT or Perplexity is summarizing your industry or recommending local providers, the AI is drawing on what it can efficiently read from your site. A well-written llms.txt makes that reading faster and more accurate. Our how it works page covers the broader picture of how AI assistants choose which businesses to name.

How is llms.txt different from robots.txt?

robots.txt controls access — it tells crawlers which pages they are allowed or forbidden to visit. llms.txt controls context — it tells AI models which pages are worth reading and what those pages mean. They serve different purposes and should both exist on your site.

Feature robots.txt llms.txt
Primary purpose Allow or block crawler access Guide AI models to your best content
Format Key–value directives (Disallow:, Allow:) Markdown headings, links, and descriptions
Who reads it All web crawlers (Googlebot, GPTBot, etc.) AI language model crawlers (by convention)
Enforcement Technically enforced by well-behaved crawlers Advisory — no technical enforcement today
Effect on SEO Direct (can block indexing) Indirect (influences AI content selection)
Required Best practice for all sites Optional but increasingly useful

One important point: if your robots.txt already blocks GPTBot or Google-Extended, your llms.txt will not help — the crawler cannot reach it. Fix crawler access first. Our free AI check will flag any blocked crawlers on your site before you spend time writing an llms.txt.

Which AI crawlers read llms.txt — and which ignore it?

As of October 2026, llms.txt is a convention, not a standard enforced by any major AI company. That means adoption varies by crawler.

  • Perplexity (PerplexityBot): Has publicly stated support for the llms.txt convention and is the most consistent reader of the file among major AI search engines.
  • Anthropic (ClaudeBot): Has expressed interest in the format; behavior in practice is still being documented by the community.
  • OpenAI (GPTBot): No official public statement confirming llms.txt support as of this writing. GPTBot respects robots.txt; llms.txt behavior is unconfirmed.
  • Google (Google-Extended / Googlebot): Google has not announced llms.txt support. Google AI Overviews draw primarily on the standard search index, not a separate AI-specific file.
  • Meta, Mistral, and others: No confirmed support.

The honest takeaway: writing a good llms.txt costs you very little time, and at least one major AI search engine (Perplexity) reads it today. More may follow. The bigger wins for most small businesses are ensuring crawlers are not blocked and that your pages answer questions directly — which is what we track and fix weekly. See how we test AI visibility for our methodology.

What should a small business put in its llms.txt file?

Keep it short, factual, and focused on the pages that best explain what you do and who you serve. An llms.txt file is not a marketing document — it is a reading guide for a machine. Hype and superlatives waste context-window space and may confuse the model.

A well-structured llms.txt for a small business typically includes:

  • A one-sentence description of the business — what you do, who you serve, and where (city/region if local).
  • Your most important pages — services, pricing, FAQ, contact — listed as Markdown links with a brief description of what each page covers.
  • Your best answer content — blog posts, guides, or FAQ pages that directly answer the questions your customers ask AI assistants.
  • Optional: an llms-full.txt link — some implementations include a second, longer file with full page text for models that can handle larger context. This is optional and more relevant for content-heavy sites.

What to leave out: navigation pages, tag archives, login pages, duplicate content, and anything you would not want an AI to quote as representative of your business.

How do you create and publish an llms.txt file?

Creating an llms.txt file requires no special software. Here is the process from start to published:

  1. Open a plain text editor (Notepad, TextEdit in plain-text mode, VS Code — anything that saves as .txt).
  2. Write a one-line business description at the top, formatted as a Markdown H1: # Your Business Name, followed by a short paragraph.
  3. Add an ## About section with 2–3 sentences describing your services, location, and the customers you serve.
  4. Add a ## Key Pages section with Markdown links and one-sentence descriptions for your 5–10 most important pages.
  5. Add an ## Articles or ## Guides section listing your best answer-focused content.
  6. Save the file as llms.txt (no subdirectory — it must live at the root of your domain).
  7. Upload it via FTP, your hosting file manager, or your CMS. WordPress users can use a plugin like "Custom File Uploader" or place the file in the /public_html/ directory directly.
  8. Verify it is publicly accessible by visiting https://yourdomain.com/llms.txt in a browser.

A sanitized example for a home-services business might look like this:

# Riverside Plumbing — Licensed Plumber in Austin, TX

Riverside Plumbing provides residential and commercial plumbing repair,
installation, and emergency services in Austin, Texas and surrounding areas.

## About

We serve homeowners and property managers across Travis County. Licensed,
insured, and available 24/7 for emergencies.

## Key Pages

- [Services](/services/): Full list of plumbing services including drain cleaning,
  water heater replacement, and leak detection.
- [FAQ](/faq/): Answers to common questions about cost, timing, and what to expect.
- [Contact](/contact/): Book a service call or request a quote.

## Guides

- [How to tell if your water heater needs replacing](/blog/water-heater-replacement-signs/)
- [What to do when a pipe bursts](/blog/burst-pipe-emergency-steps/)

Notice what this file does: it tells an AI model exactly what the business does, where it operates, and which pages to read for authoritative answers. No marketing language, no keyword stuffing.

If your site is built on a platform that does not allow root-level file uploads (some hosted website builders), check your platform's documentation. Some platforms now offer a dedicated field for llms.txt content. If yours does not, this is worth flagging to your developer. Our FAQ covers common technical blockers we see on customer sites.

How do you know if your llms.txt is working?

This is the hardest part — and the most important one to be honest about. There is currently no Google Search Console equivalent for llms.txt. AI companies do not publish logs showing which files their crawlers read or how those files influenced a response.

What you can measure instead:

  • AI citation rate: Ask ChatGPT, Gemini, and Perplexity the questions your customers ask — "Who is a good [service] in [city]?" or "What does [your business name] do?" — and record whether your business is named. Do this weekly, before and after publishing llms.txt, to detect any change over time. This is exactly what we do for every tracked question in our service.
  • Crawler access logs: If your hosting plan gives you server access logs, you can look for visits from PerplexityBot, GPTBot, ClaudeBot, and Google-Extended to /llms.txt. A visit does not guarantee the file influenced a response, but a complete absence of visits tells you something is wrong.
  • Perplexity source attribution: Perplexity shows its sources in-line. If your pages start appearing as cited sources in relevant Perplexity answers after you publish llms.txt, that is a meaningful signal.

The honest reality: llms.txt is one piece of a larger picture. The businesses that get recommended by AI assistants consistently have three things in common — their crawlers are not blocked, their pages directly answer the questions customers ask, and they publish that content regularly. An llms.txt file helps with the first and second. The third requires ongoing work.

FAQ

Does Google use llms.txt for AI Overviews?

Google has not announced support for llms.txt as of October 2026. Google AI Overviews draw on the standard search index, not a separate AI-specific file. The most effective way to appear in AI Overviews is to have pages that rank in organic search and answer questions directly — llms.txt does not replace that work.

Will adding an llms.txt file hurt my SEO?

No. llms.txt is a separate file from your sitemap, robots.txt, or any file that standard search engine crawlers read. It has no known negative effect on SEO. The only risk is if you accidentally block access to it in robots.txt, which would prevent AI crawlers from reading it — but that would not affect your Google rankings.

How long does it take for an llms.txt file to make a difference?

There is no reliable published data on this. Perplexity re-crawls sites on its own schedule, which varies by domain authority and update frequency. A reasonable expectation is that changes become detectable — if you are measuring AI citation rates weekly — within four to eight weeks of publishing the file.

Do I need an llms.txt if I already have a sitemap?

They serve different purposes. A sitemap tells crawlers every URL on your site. An llms.txt tells AI models which of those URLs are most worth reading and why. A sitemap is better for coverage; llms.txt is better for context. Both are worth having, and neither replaces the other.

What if I run a multi-location or multi-service business?

List your most important location and service pages in the Key Pages section, with a one-sentence description for each. If you have more than around 20 pages worth linking, prioritize the ones that answer the most common customer questions — those are the pages most likely to be cited in an AI response. If you are unsure which pages those are, an AI visibility audit will show you which questions your site is currently answering and which it is missing.

Want to know whether ChatGPT and Gemini recommend you today? Run the free AI check. If you would rather have it fixed every week, Boost My AI Search starts at $149 a month, month to month.

Last updated: October 2026

See what AI says about your business

Free. Completion time varies.