What Is llms.txt and What Is It Used For?
llms.txt is a text document that a website owner publishes to briefly describe the project and point to useful materials for language models. It is often compared to robots.txt, but its purpose is different: robots.txt sets crawl rules for compatible crawlers, while llms.txt typically serves as an editorial site map. Having the file does not replace technical access rules and does not obligate services to read it.
A practical version includes the project name, a short description, links to main sections, and explanations for them. For a complex site, it is helpful to indicate which pages are primary sources, where documentation, definitions, and current terms are published. Do not include a list of all URLs without hierarchy: a compact selection with clear names helps more than a long site map export.
Publish only information you are willing to show publicly. Do not put confidential instructions, personal data, or internal URLs in the file. If you want to dive deeper into the format and its limitations, start with the guide to llms.txt.
Does llms.txt Help You Get into AI Overviews?
Having llms.txt alone does not guarantee inclusion in Google AI Overviews and has not been confirmed by Google as a condition for display. The file may provide additional context to systems that choose to read it, but publishing it does not replace page indexing, answer quality, and query relevance.
For Google, it is wiser to treat llms.txt as a supplementary experiment rather than a separate promotion strategy. The focus remains on crawlable pages, useful and clear content, correct technical setup, and alignment of material with user intent. Structured data helps search engines interpret content if they correctly describe the visible page, but they also do not promise enhanced display on their own.
Separate two tasks: publish the file and improve the likelihood that the site will be a useful source for the search engine. For the second task, check the material's relevance to the query, completeness of the answer, clear headings, and supporting sources. We discuss the general mechanics and content work for the Google format in the material how to appear in Google AI Overviews; you can view service information on the Google AI Overviews optimization page.
How to Prepare and Publish llms.txt?
Correct implementation starts with useful content, not automatic file generation. Write a brief site description and select pages that truly cover key topics: documentation, guides, product pages, definitions, and editorial materials. Each link should have a clear purpose, and the text should match what the user sees when they click.
Before publishing, go through this short checklist:
- Use a simple Markdown structure: headings, a brief description, and thematic link groups.
- Verify that URLs lead to canonical, accessible, and up-to-date pages.
- Remove duplicates, redirects to unrelated addresses, and links to materials that are no longer valid.
- Save the file as
llms.txtand place it in the root of the relevant domain or subdomain. - Assign someone responsible for updates so the list does not diverge from the current site structure.
You do not need to rewrite all articles into the file: it should point to primary sources, not duplicate the site. Cross-check the file with the section map and ensure that important pages are not accidentally blocked from indexing. Details of the technical side of AEO are collected in the technical optimization for AI search section.
How to Test llms.txt for Google and Ensure the File Works?
Testing llms.txt confirms that the file is published and its links are usable, but it does not prove that Google uses it or will show the site in AI Overviews. Start by directly opening the URL https://your-domain/llms.txt in a browser or making a server request. The file should be served without errors and display the actual text, not an application page, placeholder, or redirect to another resource.
Then check the implementation point by point:
- Ensure the address matches the correct domain and is accessible without authentication.
- Check the server response status and the absence of an unexpected redirect chain.
- Open several links from the file: the pages should load and contain the promised topic.
- Compare important URLs with canonical and verify that the needed pages are accessible to the search crawler.
- After changes, record the publication date and keep the previous version for comparison.
To evaluate Google separately, use Google Search Console: study the indexing of target pages, search queries, and available reports. Manually check relevant queries, keeping in mind that results may vary by query, region, and time. Do not draw conclusions about the effect from a single observation. A systematic approach to tracking is described in the guide to measuring AI visibility.
What to Do Besides Publishing the File?
To increase the chances of being a useful source for AI Overviews, improve pages that answer specific audience questions. llms.txt can point to them, but it is the page content that must provide a clear, verifiable, and sufficiently complete answer. Start with queries for which your product or expertise is truly relevant and match them with existing materials.
For each target page, check whether you can quickly understand:
- What question the material addresses and who it is written for.
- What the direct answer is, and whether it is supported by details below.
- What terms, limitations, and conditions need explanation to avoid ambiguity.
- Who is responsible for the content and how the user can verify primary sources.
- Which internal pages complement the topic and where it is logical to go next.
Remove generic introductions, repetitive paragraphs, and statements without factual support. Add concrete examples where they clarify the mechanics, not create an impression of guaranteed results. Ensure that headings accurately describe the following text and that important information is accessible without requiring actions on the page. If you need a general strategy for AI-based search, compare technical and content tasks with the capabilities of the AI search visibility direction.
What Limitations to Consider and What to Do Next?
Implement llms.txt as a low-cost technical hypothesis with a clear goal: structure the site description and test whether such an index is useful for selected systems. Google has not confirmed that it uses this file as a ranking signal or inclusion criterion for AI Overviews. Search algorithms, source selection, and output format are controlled by the platform; it is impossible to guarantee appearance in the block, price, viral distribution, or organic volume. Only the agreed-upon work according to the technical specification can be promised.
Therefore, do not tie project success to a single "file published" checkbox. Record the baseline state of target pages, formulate the questions you want to test visibility for, and track changes in content, indexing, and search observations. If the system does not show the expected material, first check the page's accessibility and quality, then the accuracy of the chosen query and the answer's alignment with user intent.
Our assistance may include auditing the accessibility of important pages, checking file structure, editing content, and setting up a monitoring process. You can start with technical AEO, and questions about how llms.txt relates to other signals and AI search tasks can be addressed with the guide to Google AI Overviews.
Frequently asked questions
How to test llms.txt for Google if the file is already published?
Open the file URL in the root of the relevant domain, ensure the server returns the current text, and check the links within it. Then separately study the accessibility of target pages and Google Search Console data. Successful file loading confirms its availability, but not Google's use of it or the site's appearance in AI Overviews.
Do I need to create llms.txt for each section of the site?
Not necessarily. First determine whether the section has its own domain or subdomain and whether there is a separate set of primary sources worth describing. Do not create duplicate files just for quantity: correct links and an up-to-date description are more important.
What should I include in llms.txt for a project website?
Add a short project description and links to main pages, documentation, and useful materials, grouped by topic. Use names that make the link's content clear. Do not include confidential data, private URLs, or a long unsorted list of pages.
Does llms.txt help you get into AI Overviews, and can this be guaranteed?
Publishing the file alone does not ensure display. Google has not declared llms.txt a mandatory condition or confirmed signal for AI Overviews. Decisions about crawling, source selection, and answer format are made by the platform, so inclusion in the block cannot be guaranteed. Focus on page accessibility and the quality of the answer to the target query.
Tell us about your project
Answer four quick questions and a manager will send you a plan, timing and a price range within the hour. Everything stays confidential.
Loading the form…