An llms.txt file is a guide to your content, not a command that makes AI tools recommend your business. Treat it as a small documentation project with a clear use case.

What llms.txt is

The llms.txt proposal describes a Markdown file that provides context and links for agents using a website. Its specification has evolved, so check the current proposal rather than copying an old template without review.

It is different from robots.txt, which communicates crawler access preferences, and an XML sitemap, which lists URLs. Publishing llms.txt does not override either one.

Does it work?

Ask a narrower question: does a specific tool use this file successfully to navigate your documentation? That is testable. “Will this improve our citations everywhere?” is not established by merely publishing the file.

Google’s AI Search guidance does not require an AI text file. Prioritize accessible, useful public pages before optional navigation aids.

Create a useful first version

  1. List the public information an agent genuinely needs.
  2. Write an accurate summary without promotional claims.
  3. Link maintained resources, preferably genuine Markdown equivalents where available.
  4. Publish the file at the appropriate path and check that it returns usable text.
  5. Assign an owner to update links and descriptions when content changes.

Starter template

# Example B2B Product

> Documentation and verified product information for Example B2B Product.

This guide covers public product documentation. Current pricing and
service commitments are described on their respective official pages.

## Product documentation
- [Overview](https://example.com/docs/overview.md): Product purpose and scope.
- [Integrations](https://example.com/docs/integrations.md): Supported integrations.

## Optional
- [Release notes](https://example.com/docs/releases.md): Dated product changes.

Replace every example URL with a real accessible resource. Do not invent .md pages; publish and validate equivalents or link actual maintained resources with their real format.

Test behavior, not the file’s existence

Give a chosen agent the file as its starting point and ask a factual navigation question. Record whether it finds the correct current answer. Server logs may show fetches; fetches alone do not prove increased citations or lead generation.

Frequently Asked Questions

Does llms.txt guarantee AI citations?

No. It is a navigation proposal, not a universal ranking or citation instruction.

Should it include confidential information?

No. A public file should link only information intended for public access.

Next step

Start with a quick check of your public pages, then confirm anything it flags against your real pages and server logs.

Check basic public-site readiness →

Sources and verification notes

The steps, examples and templates in this article are practical recommendations, not platform rules, survey data or measured client results. Hypothetical figures and examples are labelled as such. The sources below support the platform and technical facts only.

  1. Google: AI features and your website
  2. llms.txt: the proposal and file format

Want to see how your brand ranks in ChatGPT right now?

Run a free AI Visibility Audit to see where your business appears across ChatGPT, Gemini and Perplexity—and where competitors are being recommended instead.

Get Your Free AI Visibility Audit