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
- List the public information an agent genuinely needs.
- Write an accurate summary without promotional claims.
- Link maintained resources, preferably genuine Markdown equivalents where available.
- Publish the file at the appropriate path and check that it returns usable text.
- 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
No. It is a navigation proposal, not a universal ranking or citation instruction.
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 →
Related guides
- How ChatGPT, Perplexity and Google AI Choose Which Sources to Cite (and How to Explain It to Clients)
- Entity Optimization for AI Search: A Packageable Service for Agencies
- Answer Engine Optimization: How to Become the Answer, Not Just Another Search Result
- Google’s AI Content Guidelines: What B2B SEO Teams Must Know
- Why Your B2B Brand Isn’t Appearing in ChatGPT Recommendations
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.
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