llms.txt Explained: The File That Tells AI How to Read Your Site

llms.txt is a Markdown file at a website’s root that gives large language models a short, structured guide to the site’s most important content, with an expanded version called llms-full.txt holding the full text. It is a proposal, not a standard, and no major AI engine has officially confirmed that it reads the file.

It is gaining attention as a simple, low-cost way to make a site easier for AI systems to understand, and it fits naturally into a wider AI visibility strategy.

Think of it this way: a website is built for humans, with navigation menus, images, sidebars and design. A language model trying to learn from that site has to wade through all of that presentation to find the substance. llms.txt offers a shortcut — a plain-text map that says, in the site’s own words, what the site is about and where the best pages are. Whether or not today’s engines read it, writing one forces a useful discipline: deciding which pages matter most and describing them clearly. That discipline helps AI visibility whether or not the file itself is ever fetched.

This guide explains what llms.txt is, what it contains, how it differs from robots.txt and sitemap.xml, how to write and publish one, how to test it, and what its limits are. It also explains where it sits alongside the more established work of making your site crawlable by GPTBot, PerplexityBot and ClaudeBot — the crawlers that actually gather the content AI engines use in their answers today.

What Is llms.txt?

llms.txt is a file named exactly that — llms.txt — served from the root of a website, so it lives at an address like example.com/llms.txt. It is written in Markdown, the same plain-text format used for many documentation files, which makes it easy for both humans and machines to read. The proposal behind it is simple: websites should have a standard place to tell language models what their content is and where to find it, in a format that strips away navigation, advertising and design and leaves only the substance.

The file has a companion, llms-full.txt, also served from the site root. Where llms.txt is a guide — a structured list of the site’s key pages with short descriptions — llms-full.txt is the expanded version, containing the full text of those pages in one document. The idea is that a model that wants a quick overview reads llms.txt, and a model that wants the detail reads llms-full.txt. In practice, most sites that adopt the convention start with llms.txt alone, because it is shorter, easier to maintain, and enough to communicate the structure of the site.

It is important to be clear about status. llms.txt is a proposal put forward for the web community to consider. It is not an official web standard, it is not part of any specification maintained by a standards body, and no major AI engine has officially confirmed that its systems read or follow the file. Some sites and tools have adopted it, and it is discussed widely in SEO and AI circles, but adoption by the engines themselves is unconfirmed. Treat it as an emerging convention — a reasonable, low-risk experiment — not as a guaranteed ranking or citation mechanism.

That honesty matters because llms.txt is sometimes described as if it were already a requirement. It is not. No engine has announced that sites without llms.txt will be ignored, and no engine has announced that sites with llms.txt will be favoured. The file’s value is narrower and more practical: it is a clear, maintainable summary of your site that any system — human or machine — can read quickly, and it may help future systems that do adopt the convention. If you want to know how AI engines currently decide what to cite, read how LLMs choose sources — that guide covers the mechanisms that are actually in use today.

What llms.txt Contains

A typical llms.txt file has a simple, predictable structure. It starts with a top-level heading giving the name of the site or project, followed by a short blockquote-style summary — a sentence or two explaining what the site is and what it offers. That opening is the most important part of the file, because a system skimming it will read the summary first and decide from it whether the site is relevant to a given question.

After the summary comes the body of the file: sections, each introduced by a second-level heading, containing a list of links to the site’s important pages. Each link is written in Markdown link format, with the page title in square brackets and the URL in parentheses, followed by a short description of what the page covers — usually a single sentence. The description is where the value lies. A link without a description tells a reader where a page is but not why it matters. A link with a clear description tells a reader what they will learn and whether it answers their question.

Common sections include documentation, guides, product or service pages, pricing, and reference material. A software company might have sections for getting started, API reference and tutorials. A content site might have sections for its main topic clusters — for example, an AI visibility site might list its pillar guide, its tool comparisons and its industry guides as separate sections. An e-commerce store might list its main category pages and buying guides. The sections should reflect how the site is actually organised, not an idealised version of it.

Some files add an optional section for pages that are less central but still useful, and some include a short note about content that should not be summarised or a pointer to the full text in llms-full.txt. The proposal allows for these variations. What matters is consistency: a file that is kept up to date, with working links and honest descriptions, is useful; a file that lists dead links or describes pages that no longer say what the description claims is worse than no file at all, because it teaches any reader — human or machine — to distrust the guide.

The file should be selective. It is not a list of every page on the site; that is what a sitemap is for. It is a curated guide to the pages that best represent the site and best answer the questions its audience asks. A site with hundreds of pages might list twenty or thirty in llms.txt. A smaller site might list ten. The test for inclusion is simple: if a language model read only this file, would it understand what the site does and where to find the best answer to each of the site’s core questions? If a page does not help answer that test, it does not belong in the file.

How llms.txt Differs from robots.txt and sitemap.xml

People often confuse llms.txt with robots.txt and sitemap.xml because all three are files at the site root that talk to machines rather than humans. They do different jobs, and a site can — and usually should — have all three.

llms.txt vs robots.txt — guidance file versus crawler access rules

robots.txt: permission

robots.txt tells crawlers which parts of a site they are allowed to visit and which they should stay away from. It is a permission file. It can welcome a crawler, block it from admin pages or duplicate content, and point it to the sitemap. It does not describe what the site is about, and it does not recommend pages. Its job is access control.

The relationship with AI visibility is direct and important. The crawlers that gather content for AI answers — GPTBot, PerplexityBot and ClaudeBot, among others — respect robots.txt. If your robots.txt blocks those crawlers, the engines that rely on them may not be able to read your pages at all, and no llms.txt file will fix that, because the file is only useful if the crawler is allowed to fetch it and the pages it points to. Before you spend time on llms.txt, check your robots.txt and confirm that the AI crawlers you care about are allowed to visit your site. That single check matters more for AI visibility today than llms.txt itself.

sitemap.xml: inventory

sitemap.xml is an inventory: a machine-readable list of the URLs on a site, usually with the date each page was last changed. Its job is discovery — helping crawlers find pages they might otherwise miss, especially new or deeply buried ones. It does not describe what each page is about beyond its address and freshness, and it does not prioritise. A sitemap with five hundred URLs treats them all as entries in a list.

llms.txt is different because it is curated and descriptive. It says which pages matter most and why, in plain language. A crawler that reads a sitemap learns that a page exists. A reader that reads llms.txt learns what the page is for. The two complement each other: the sitemap ensures discovery, and llms.txt — if it is read — offers interpretation.

llms.txt: guidance

llms.txt is guidance. It does not grant or deny permission, and it does not list every page. It offers a human-written summary of the site’s best content, organised by topic, with descriptions that explain each page’s purpose. It is the only one of the three files written primarily to be understood rather than merely processed — and that is both its strength and its limitation. Its strength is clarity. Its limitation is that, unlike robots.txt and sitemap.xml, there is no widely confirmed consumer: no major engine has officially said it reads the file.

File Job Format Who reads it
robots.txt Permission — which crawlers may visit which pages Plain text rules Search and AI crawlers, widely respected
sitemap.xml Inventory — list of URLs for discovery XML Search and AI crawlers, widely used
llms.txt Guidance — curated summary of the most important pages Markdown Emerging convention; no major engine has officially confirmed it reads the file
llms-full.txt Expanded full text of the pages listed in llms.txt Markdown Same emerging convention as llms.txt

Keep all three files, and keep them consistent. A robots.txt that blocks AI crawlers, a sitemap that lists pages that no longer exist, and an llms.txt that describes pages inaccurately will each undermine the others. The files are small, cheap to maintain, and together they describe your site to machines in three complementary ways: what may be read, what exists, and what matters most.

How to Write an llms.txt File

Step 1: Decide what the site is about

Before writing anything, write one or two sentences that describe the site as you would to a stranger. Not a slogan and not a keyword list — a plain description of who the site serves and what it helps them do. For InAISight, that might be that it is an AI visibility checker and AEO tracker that shows brands how they appear in answers from ChatGPT, Perplexity, Gemini, Claude and Grok. Your own version should be equally concrete. This summary becomes the opening of the file, and it is also a useful test: if you cannot describe the site clearly in two sentences, the file will not fix that, but the attempt will show you where the site’s own messaging is unclear.

Step 2: Choose the pages that matter most

List the pages that best answer the questions your audience asks. Start with the pillar page — the comprehensive guide to your core topic — then add the main category or cluster pages, the most useful guides, the key product or service pages, and the pricing page if it answers a question buyers genuinely ask. For an AI visibility site, that list might include the pillar page on AI visibility checking, the explainer on what AEO is, and the guide to what AI visibility means. For your own site, the equivalent is whatever pages a new visitor should read first.

Be selective. Aim for a list you can honestly describe as the site’s best content, not a dump of everything published. If a page is outdated, thin or superseded, leave it out — or better, fix it or remove it from the site before you point a guide at it. Every link in llms.txt is an endorsement: you are telling a reader that this page is worth their time.

Step 3: Write a one-sentence description for each page

For each chosen page, write a single sentence that says what the page covers and who it is for. Avoid marketing language. “A guide to measuring how a brand appears in AI answers, with the metrics that matter and how to track them” is useful. “The ultimate game-changing resource for dominating AI search” is not. The description should help a reader decide whether the page answers their question, and it should be accurate — if the page does not deliver what the description promises, the description is wrong, not the page.

Use the words your audience uses. If buyers ask about “AI visibility”, use that phrase. If they ask about “getting recommended by ChatGPT”, say that. Natural language matters here more than keyword targeting, because the file’s purpose is understanding, not ranking.

Step 4: Organise the links into sections

Group the links under second-level headings that reflect the site’s topics. A simple structure might be:

  • Getting started — the pillar guide and the introductory explainers.
  • Guides — the practical how-to articles, grouped by theme.
  • Tools and comparisons — pages that compare options or explain a tool.
  • Industry guides — pages written for a specific sector, if your site has them.
  • Product and pricing — the pages that describe what you offer and what it costs.

Keep the number of sections small. Five or six sections are enough for most sites. Each section should contain the links that belong there and nothing else. If a page could belong in two sections, choose the one where a reader would look for it first.

Step 5: Add a pointer to the full text (optional)

If you also maintain llms-full.txt, add a short note in llms.txt pointing to it, and a link to it. llms-full.txt contains the full text of the pages listed in the guide, in one document. It is useful for a reader that wants the detail without fetching each page separately, but it is also more work to maintain: every time a listed page changes, the full-text file needs updating too. Many sites skip llms-full.txt at first and add it later if the convention gains traction. Starting with llms.txt alone is a reasonable choice.

Step 6: Keep it honest and current

Review the file whenever you publish a major new guide, retire a page, or change what your site offers. Remove links to pages that no longer exist, update descriptions when a page’s focus changes, and add new pages that become central to the site. A stale llms.txt is worse than none, because it presents outdated guidance as current. Put a reminder in your publishing checklist: new pillar page, update llms.txt. That one habit keeps the file trustworthy.

Example Structure

A minimal llms.txt for an AI visibility site might look like this in outline form. Note that this is a structural example, not a copy-and-paste file — your own version should list your own pages with your own descriptions.

llms.txt structure — sections and links that guide large language models
  • Top-level heading: the site name.
  • Summary: one or two sentences describing what the site does and who it serves.
  • Section: Getting started — link to the pillar guide on AI visibility checking, with a sentence saying it explains what an AI visibility checker measures and how to use one; link to the explainer on what AI visibility is, with a sentence saying it defines the concept in plain language.
  • Section: Guides — links to the practical guides, each with a one-sentence description of the problem it solves.
  • Section: Tools and comparisons — links to comparison pages, each described by which tools are compared and for whom the comparison is written.
  • Section: Product and pricing — a link to the app with a sentence describing what it tracks, which engines it covers, and the trial or free check available.

Each link follows the same pattern: a Markdown link with the page title and URL, followed by a short description. The file is short enough to read in a minute and specific enough to be useful. If your draft is longer than a few hundred lines, it is probably listing too much — trim it back to the pages that matter most.

How to Publish and Test llms.txt

Publishing

Publish llms.txt at the root of your domain, so it is reachable at yourdomain.com/llms.txt. On most sites this means uploading a plain-text file to the web root, or creating it through the content management system if the system allows files at the root. WordPress users can upload the file to the site root via their hosting file manager or a file-management plugin — the exact steps depend on the host, but the requirement is the same: the file must be served as plain text at the root address, with the exact filename llms.txt in lowercase.

Make sure the file is served with a sensible content type and that it is not blocked by robots.txt or by a security plugin. A file that returns an error, redirects elsewhere, or is blocked from crawlers is not serving its purpose. Check that the file loads in a browser at the expected address, and that the links inside it point to live pages.

Testing

Test the file in four ways. First, open it in a browser at yourdomain.com/llms.txt and confirm it loads, renders as readable text, and contains no broken formatting. Second, click — or check — every link in the file and confirm each one reaches a live page that matches its description. Third, check the server response: the file should return a normal success response, not a redirect or an error. Fourth, confirm the file is not blocked in robots.txt and that it is reachable by the crawlers you care about.

You can also test how language models respond to the file’s content by pasting its text into a chat with ChatGPT, Claude or Gemini and asking whether the file gives a clear picture of the site. That does not prove any engine reads the file from your server — it only shows that the content is clear to a model that is given it directly — but it is a useful readability check. If a model given the file cannot summarise your site accurately from it, the file needs rewriting.

There is no reliable way to test whether an engine fetches llms.txt from your server on its own, because no major engine has officially confirmed that it does. Server logs may show requests for the file from known crawlers, and those requests are worth watching, but a request for the file does not prove it influenced an answer. Treat log evidence as interesting, not conclusive.

Its Limits — What llms.txt Cannot Do

The limits matter as much as the promise, so state them plainly. llms.txt is a proposal, not a standard. No major AI engine has officially confirmed that it reads the file, and none has announced that having one improves visibility, citations or recommendations. A site that publishes llms.txt and changes nothing else should not expect its AI visibility to improve. The file is a guide for a reader that may not exist yet.

It also cannot compensate for the fundamentals. If AI crawlers are blocked by robots.txt, llms.txt will not bring them back. If product pages hide specifications in images, llms.txt will not make those specifications quotable. If a site has no useful content, a guide to that content will not create any. The file points to substance; it is not a substitute for it. The work that actually improves AI visibility — clear, specific, current content on crawlable pages, honest comparison guides, fresh prices, visible reviews — is described in our guide to AI visibility and in the AEO guide linked above. Do that work first.

The file also carries a maintenance cost. Every new pillar page, every retired guide and every changed description needs the file updated. A site that publishes llms.txt and forgets it will eventually present a guide that misdescribes its own content, which is worse than having no guide. Budget a few minutes per month to keep it accurate, or do not publish it.

Finally, be careful about what you put in the file. Do not include content you would not want summarised or quoted, and do not include internal or draft pages. llms.txt is public — anyone can read it — so it should list only public pages you are happy to have described to the world.

How llms.txt Fits into an AI Visibility Strategy

Think of AI visibility work in layers. The foundation layer is crawl access and content quality: robots.txt allows GPTBot, PerplexityBot and ClaudeBot to visit your site; your pages are crawlable, fast and well-structured; your content is specific, current and written in plain language with facts an engine can quote. Without this layer, nothing else matters — engines cannot recommend what they cannot read. This is the layer to invest in first, and it is the layer that pays off whether or not llms.txt is ever adopted.

The second layer is coverage: guides that answer the questions buyers ask, comparison content that answers “which is better” prompts, and category pages that establish authority in your niche. This layer gives engines the material to cite. It is slow work — publishing genuinely useful content over months — but it is the work that moves Visibility Score, Share of Voice and citation counts.

The third layer is measurement and correction: tracking which prompts mention your brand, which competitors win comparisons, which pages get cited, and whether AI answers contain wrong facts about you. InAISight is built for this layer. It tracks five engines — ChatGPT, Perplexity, Gemini, Claude and Grok — on every plan, using official AI APIs, across multiple countries and languages. Its Visibility Score & Trend shows whether you are improving; its Prompt Explorer shows which buyer questions to target; its Share of Voice shows how you stand against competitors; its Citation Tracker shows which pages earn citations; its Action Plan Top 3 Priorities tells you what to fix next; and its Misinformation Alerts flag when AI answers get your brand wrong. Pricing is $29, $59 or $119 per month with 20% off annual billing and a 7-day free trial on every plan, and the free 2-minute check runs 10 buyer prompts across ChatGPT, Perplexity and Gemini with no credit card required.

llms.txt sits on top of these layers as an optional, low-cost experiment. It costs little to create, it forces the useful discipline of deciding which pages matter most, and it may help future systems that adopt the convention. Publish it, keep it accurate, and then get back to the foundation work — because the foundation is what today’s engines actually read. If llms.txt becomes a standard, you will already have a good file. If it does not, you will have lost very little, and the discipline of writing it will still have improved your site’s clarity.

Frequently Asked Questions

What is llms.txt?

llms.txt is a Markdown file at a website’s root that gives large language models a short, structured guide to the site’s most important content. Its expanded companion, llms-full.txt, holds the full text of those pages. It is a proposal, not an official standard, and no major AI engine has officially confirmed that it reads the file.

Do ChatGPT, Perplexity or Gemini officially support llms.txt?

Not as far as is verified here. No major AI engine has officially confirmed that it reads or follows llms.txt. Present it as an emerging convention and a low-cost experiment, not as a supported feature. The reliable way to be read by AI engines today is to keep your site crawlable by their crawlers — GPTBot, PerplexityBot and ClaudeBot — and to publish clear, specific, current content.

How is llms.txt different from robots.txt?

robots.txt controls permission: it tells crawlers which pages they may visit. llms.txt offers guidance: it describes the site’s most important pages and what each one covers. A site usually needs both, plus a sitemap.xml for discovery. Blocking AI crawlers in robots.txt will hurt AI visibility far more than adding llms.txt will help it.

Should every website have an llms.txt file?

It is a reasonable, low-cost step for most content sites, provided you keep it accurate. If you publish one, review it whenever you add a major guide or retire a page. If you cannot commit to maintaining it, it is better not to publish it — a stale guide misdescribes your site. Either way, prioritise crawl access and content quality first, because those are what engines use today.

Where do I put llms.txt on my site?

At the root of your domain, so it is reachable at yourdomain.com/llms.txt, served as plain text with the exact lowercase filename. Check that it loads in a browser, that every link inside it works, and that it is not blocked by robots.txt or a security plugin.

Check Your Brand’s AI Visibility — Free

See how ChatGPT, Perplexity and Gemini talk about your brand today. Our free 2-minute check runs 10 real buyer prompts across ChatGPT, Perplexity and Gemini. No credit card required.

Run Free 2-Minute AI Check

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top