Back to the Journal

What Is llms.txt? A Practical Guide, Example and Limitations

Illustrated llms.txt document connected to a curated group of public resources.
SeoAudix field guide · What Is llms.txt? A Practical Guide, Example and Limitations

An llms.txt file gives an agent a small, curated starting point for understanding public resources on a website. If you maintain documentation, product explanations or a collection of tools, that can be a useful publishing task. It deserves a clear purpose, accurate links and a maintenance owner.

It also attracts claims that go well beyond what a text file can establish. This guide walks through a practical example, explains how to check the published result and shows how to measure a useful documentation workflow without confusing it with Google rankings.

The useful distinction

Build llms.txt when it helps someone find reliable resources. Google says it ignores these files for search visibility and rankings, including its generative search features. A successful upload does not establish that another service will read, trust or cite it.

What is llms.txt, and who is it for?

The llms.txt proposal describes a Markdown guide for agents using a website. Its current version, v2, was updated in August 2026. Files can cover the root or a narrower path. A project heading identifies the resource; an introduction and grouped links provide context. A more specific file can describe a particular documentation area.

Consider a fictional service called Northstar Images. It publishes a browser image compressor, a format guide and a privacy explanation. Its navigation also contains careers, seasonal promotions and account links. A documentation guide can direct a reader toward the three relevant resources without reproducing that entire navigation.

The strongest reason to maintain the file is that your chosen audience has a concrete task. “Help a support agent locate the current image limits” is testable. “Make every AI recommend our brand” is too broad to use as a publication acceptance test.

Start with a reader and a question

Write down three questions the guide should help answer. For Northstar, they might concern supported input formats, where processing happens and how to report a failed export. Identify the public source that answers each one. If the source is missing or contradictory, improve that page before adding another summary layer.

Separate llms.txt from robots.txt and a sitemap

Resource Working question Review task
llms.txt Which public explanations are useful for this task? Check descriptions, scope and destinations.
robots.txt Which paths may a compliant crawler request? Test rules against the exact crawler and URL.
XML sitemap Which preferred public URLs are being offered for discovery? Check status, canonical consistency and eligibility.
Authentication Who is actually allowed to retrieve private material? Test access without an authorized session.

Use the table as an ownership map. A content editor can maintain resource descriptions while a developer manages access controls. Recording both responsibilities prevents someone from treating a public guidance file as a security boundary. Never add private dashboard addresses, credentials or customer exports to a public list.

Google’s robots.txt guidance explains that crawl rules do not provide a reliable way to keep a page out of search. Where search exclusion is intended, review the appropriate indexing directive; where confidentiality is intended, use actual access protection.

Inventory resources before generating a file

Open a short worksheet with one row per proposed destination. Record its owner, intended reader, final URL, last review date and the question it answers. Keep this inventory small enough that a person can review every row. An automatically exported list of hundreds of pages is a different product from a carefully maintained starting guide.

  • Choose a stable page that contains the authoritative explanation.
  • Open the destination without a staff login.
  • Read the content, rather than approving the link because it returns 200.
  • Remove duplicate destinations and obsolete campaign pages.
  • Assign a person to update the description after a product change.

Give descriptions enough detail to help a reader choose. “Documentation” says little. “Input formats, export quality and local processing limits” distinguishes the destination from a pricing or support page. Avoid praise such as “the best resource”; it adds no selection information.

Check the actual format of linked resources

The proposal recommends clean Markdown alternatives and describes link relations for discovering them. Do not append .md to every URL and assume those resources exist. If your system only publishes HTML today, document that limitation honestly. Plan and test the alternate publishing route before advertising it.

Build a small, readable Markdown example

This example is fictional. The example.com URLs are placeholders, not deployed resources or a claim about SeoAudix’s own configuration. The file illustrates a practical editorial choice: product use first, processing information second, background material last.

llms.txt · illustrative starting point
# Northstar Images

> Public guidance for people and agents using our image tools.

Use the current product documentation for supported inputs.
Examples describe workflows; they do not promise search rankings.

## Product documentation
- [Image compressor](https://example.com/docs/compressor.md): Inputs, quality controls and export limits.
- [Format guide](https://example.com/docs/formats.md): Compare output choices for photographs and graphics.

## Processing and support
- [Privacy](https://example.com/docs/privacy.md): Where files are processed and what is retained.
- [Troubleshooting](https://example.com/docs/troubleshooting.md): Reproduce a failed export and collect safe details.

## Optional
- [Release notes](https://example.com/docs/releases.md): Changes to documented behavior.

Read the example as a set of commitments. If “local processing” appears in a description, confirm the actual product behavior and any exceptions. If a guide explains limits, keep those numbers synchronized with the interface. A concise incorrect statement can be more damaging than a longer page that clearly explains its qualifications.

For a first draft, the llms.txt generator can prepare downloadable text. Review the result yourself. A generator does not deploy the file, create missing documentation or verify what an outside agent will do with it.

Publish and verify the delivered response

  1. Choose the scope. Decide whether the file describes the entire site or one documentation directory. Keep the location in the same release notes as the resources it describes.
  2. Deploy through your normal release process. Keep a copy of the previous file. Confirm which system owns it so a plugin, theme update or static export cannot unexpectedly replace it.
  3. Open the exact HTTPS address. Check the final response and body without an administrator session. Watch for a login page, a theme-generated error or a redirect to the homepage.
  4. Follow every destination. Confirm that the public document is current and matches its description. Check meaningful content as well as status codes.

A terminal can help reproduce the retrieval. The following commands are read-only examples for a domain you control. They retrieve HTTP headers and then the body; they do not change server configuration.

Read-only checks · replace the example domain
curl -I https://example.com/llms.txt
curl --fail --location https://example.com/llms.txt

If the output starts with a login form or a full HTML navigation menu, investigate the route before declaring the file published. Also inspect Content-Type: a text response with a sensible charset is easier to troubleshoot than a download unexpectedly labeled as an unrelated binary format.

Keep a rollback note

Record the deployment date, editor and changed destinations. Store the last approved version in your normal source history. If a new release produces broken links, restoring the last valid file is usually clearer than editing several descriptions under pressure without a record.

Troubleshoot the common failure patterns

The URL returns 404

Check the document root, filename and routing rules. A file saved on a developer’s laptop has not necessarily reached the public website. Confirm the exact case and path.

The URL returns HTML

A catch-all route may be serving the homepage. Compare the actual response body with the expected text and correct the deployment path or route ownership.

A destination requires login

Replace it with an intentionally public explanation or remove it. Do not publish access tokens or private links to make a documentation example work.

The file is stale

Connect updates to product releases. A known review owner and a short resource list make stale descriptions easier to spot and repair.

When a link points through several redirects, find the stable final destination and consider referencing it directly. Preserve redirects needed for existing users, but avoid making the curated file depend on an old campaign address that nobody maintains.

Use the link extractor for links in supplied HTML when reviewing source pages. Its output reflects the material you provide; it does not prove that every live destination is reachable or that an agent has visited it.

Test an agent workflow without inventing a ranking result

Create a small evaluation that someone else can repeat. Use the same question, public resources and acceptance criteria for each run. For Northstar, a useful question is: “Which formats can I upload, and where are those files processed?” A correct answer must match the current product documentation and identify its source.

A practical test record

Task: Find the current upload limits.
Starting resource: The exact published guide URL.
Expected source: The maintained input documentation.
Record: Date, service or model version, answer, cited URL and factual errors.
Pass condition: The answer agrees with the source and does not invent unsupported formats.

Run the test after changing a resource description, then compare the actual answers. Record failed attempts as well as successful ones. A single convenient screenshot is weak evidence for a general claim, particularly if the service’s retrieval behavior or available context changes between runs.

Keep documentation quality and search performance in separate records. The Google guide to generative search explicitly says llms.txt does not help or harm Google search visibility or rankings. A test showing easier navigation therefore cannot support a claim that this file increased Google traffic.

Maintain the guide as part of the product

Review the file whenever a linked feature changes ownership, location or behavior. Add a monthly check to catch quieter drift, such as a support article whose scope has expanded. The review should involve reading descriptions and testing destinations, not merely checking that the filename still exists.

For a small website, a maintained hand-written guide may be easier to trust than an automatic export. For a large documentation collection, automation becomes useful when each resource already has a reliable title, summary and lifecycle. Decide how retired pages are removed and how redirects are reconciled before making generation unattended.

Our suggested stopping rule is simple: if nobody can explain who benefits from a link, remove it from the draft. Keep broad navigation on the website. Keep this guide focused on resources that help the chosen task.

A final editorial exercise

Before approving the file, ask a colleague to choose a resource using only its label and description. Give them the same three questions you wrote at the beginning. Do not explain which destination you intended. If they consistently choose the wrong page, the description may be ambiguous even when every link works.

For example, “Image help” could describe a tutorial, a privacy statement or an error reference. “Supported upload formats and maximum image dimensions” gives the reader a specific reason to choose that document. The description should become more precise as your resources become more specialized.

Record any question the colleague could not answer after reading the destination. That is a documentation gap worth resolving on the source page. Avoid fixing the gap only in llms.txt: two competing explanations create another maintenance problem. Once the authoritative page is corrected, update the short description if its scope has changed and repeat the same selection exercise.

Frequently asked questions

Do I need llms.txt to appear in Google?

No. Google says it ignores this file for visibility and rankings. Work on useful public pages, appropriate indexing settings and a good experience for visitors.

Does publishing it prevent model training?

No. A public resource guide does not enforce access restrictions or establish universal behavior by other systems. Review the specific service’s documented controls and protect confidential content with authentication.

Should I include every page?

Use a curated selection that answers a defined reader’s questions. An exhaustive export can bury the useful destinations and creates more descriptions to maintain.

Can I use the generator without publishing immediately?

Yes. Download a draft, verify the links and review the text with the person responsible for the documentation. Publish only after the destinations and server response have been checked.

Editorial review: October 22, 2026. Examples are illustrative. This guide does not report an agent adoption study or a measured increase in search traffic.

Apply this guide to your website

Use the relevant tool to prepare and review your next website update.

SEO tools