llms.txt
llms.txt
A standardized text file in the root directory that gives AI crawlers contextual information about a website's content and structure.
Definition
llms.txt is a standardized text file placed in the root directory of a website (accessible at /llms.txt) that provides instructions and contextual information to AI crawlers and large language models (LLMs).
Background and purpose
As AI search engines began crawling the web actively, a need emerged for a standardized way to communicate with these systems. robots.txt can block or allow access, but it provides no contextual information.
What does llms.txt contain?
- A short description of the site and its purpose
- An overview of key sections and URLs
- Editorial context
- Licensing information
- Any restrictions or preferences
Why is llms.txt important for AI visibility?
- It gives AI crawlers contextual orientation
- It signals active AI readiness
- It lets you control which information is prioritized
How to set up llms.txt
- Create a plain text file named llms.txt
- Write a short, precise description of the site
- List the key sections with URL and description
- Include editorial and licensing information
- Upload it to the root directory
- Verify accessibility
Frequently asked questions
Is llms.txt an official standard?
llms.txt is a proposed standard, not an official W3C or IETF standard. Even so, it has gained broad industry support and is used actively by thousands of websites.
Does llms.txt replace robots.txt?
No. robots.txt controls crawler access. llms.txt provides context and information about the site's content. You should have both.
Does it measurably affect AI citations?
AI crawlers read the file, and site owners report a positive impact on AI indexing after implementing it. As part of a holistic AEO strategy, it is a low-effort measure with potentially significant upside.
Explore the AI search glossary
AI Search Academy is an independent glossary for AI search and visibility.
See all termsRelated terms
KR
AI Search & Growth Strategist with 25+ years in digital marketing. Read more →