As an SEO Writer, I stay up-to-date with the latest SEO practices and industry insights to craft content that is search-optimized, credible, and genuinely valuable, designed to perform at its best on SERPs.

More and more users are turning to ChatGPT, Claude, and Perplexity before deciding to purchase a product or use a service. This shift in behavior has forced many business owners and marketing teams to get creative so their content is easier for AI to find, understand, and cite.
In this context, the llms.txt file is a Markdown-based text file placed in the website’s root directory to help AI understand the structure and content of a site, thereby optimizing the website’s visibility to AI.
For a business aiming to succeed in the era of AI search, understanding llms.txt best practices is absolutely essential. This article will thoroughly cover the entire concept of llms.txt, from what it is and its functions to how it differs from robots.txt, how to create it, and how to measure its performance.
Whether you are a business owner, an IT professional, or part of a digital marketing team looking to delve deeper into the concepts of AEO and GEO, be sure to read this article through to the end.
llms.txt is a Markdown-based file available on a website that provides summaries and links to relevant pages for AI agents. This concept was proposed by Jeremy Howard via llmstxt.org to help AI agents find important information more easily and specifically.
Howard’s idea stems from the fact that modern websites are already equipped with many elements such as navigation, ads, and JavaScript.
Some of these elements can make content more difficult to process. Simply put, the llms.txt file serves as a roadmap so that AI agents can find important information, such as product documentation, policies, or other relevant pages.
However, it is also important to understand that the llms.txt file does not guarantee that the content will definitely be cited by AI. This is because the llms.txt concept itself is still evolving and has not yet become an official web standard.
Moreover, Google has stated that a website does not need to have an llms.txt file to appear in Google Search or AI Overviews. Nevertheless, learning about this concept can help you optimize your website’s SEO strategy as a way to adapt to the new era of search.
Read also: Google AI Overview and Its Struggle to Keep Up with Human Wits
The llms.txt format uses simple Markdown syntax, such as headings to organize information and links to direct users to relevant pages. The following structure serves as a basic example and can be customized to suit the needs of each website.

Obviously, this llms.txt structure does not have to be the same for every website. You can adjust the categories, number of headings, and links based on your business type and the information most relevant to the AI agent, as long as you follow the appropriate Markdown format.
Simply put, llms.txt is designed to serve as a guide for AI agents when searching for information on a website. Here is the general workflow and how llms.txt operates:
However, you should also understand that this process may not occur with every AI agent, as support for llms.txt is still limited.
Implementing llms.txt does not guarantee that the file will be automatically recognized by LLM bots. In other words, AI search still largely follows the rules of robots.txt. Therefore, llms.txt should not be viewed as a replacement for robots.txt, but rather as an approach that is still evolving.
Although it is not yet an official standard, llms.txt can still be considered as part of website preparation to better adapt to the development of AI search. Here are some of its functions to consider.
Creating llms.txt requires you to select the most relevant pages to represent your business. This process can help your team review the content structure and determine which information to prioritize.
Websites using llms.txt provide a summary and links to pages considered important in a single, simple file. This structure can provide an additional guide for AI agents that support llms.txt when searching for information on a website.
The development of AI search is still ongoing, and not all systems currently use llms.txt. Since its implementation is relatively simple, llms.txt file AI optimization can be used as an additional experiment to prioritize both fundamental and technical SEO.
It is not yet certain whether AI servers will adopt llms.txt in the future. However, preparing this file can be one way for your business to stay adaptable and keep pace with how AI discovers and processes information from websites.
llms.txt is not a replacement for robots.txt or sitemap.xml, as all three serve different functions. When used, llms.txt can serve as supplementary documentation that summarizes important information and directs AI agents to relevant pages.
The most fundamental difference between llms.txt and robots.txt lies in their purpose. Generally, llms.txt only provides content recommendations without imposing any restrictions; robots.txt controls crawler access permissions; and sitemap.xml helps search engines find URLs to crawl.
Here is a table summarizing the differences between the three in more detail:
Aspect | llms.txt | robots.txt | sitemap.xml |
| Main function | Guides AI to the most relevant content | Manages crawler access to specific pages | Lists all pages for indexing |
| Format | Markdown | Simple command text | XML |
| Characteristics | Recommendations, non-binding | Controls access permissions | Page completeness information |
| Support | Not yet supported by major AI providers | Universally supported by search engines | Universally supported by search engines |
| Target audience | Large language model | Web crawlers in general | Search engines and systems that read sitemaps |
These three files are not interchangeable. If a website uses llms.txt, this file is best positioned as a supplement to robots.txt and sitemap.xml, especially for AI systems that support or utilize it.
llms.txt can serve as a supporting element for Generative Engine Optimization (GEO) and Answer Engine Optimization (AEO) strategies, as both address how information from a website can be discovered and understood by AI systems.
However, the llms.txt file itself is more of a supplementary element and has not yet been proven to increase the likelihood of content being cited or to serve as a ranking factor in AI systems.
Practically speaking, implementing AEO and GEO still requires content that is relevant to users, a clear information structure, and trustworthy sources.
Therefore, if you implement llms.txt, treat this file as just a small part of the AI search optimization ecosystem, not as a replacement for your existing content strategy and website SEO optimization.
Creating an llms.txt file is essentially quite simple and can be done without a developer’s help if you have access to your website’s files. The following structure can serve as a starting guide and be customized to each website’s specific needs.
After the file is uploaded, the next step is to ensure the file is properly installed and publicly accessible. Then, how to see the llms.txt file of a website? The simplest way to check this is to open the URL <yourdomain.com/llms.txt> directly in incognito mode in your browser, then verify that plain text appears, not a 404 page or a redirect to the homepage.
Additionally, you can run the `curl` command via the terminal to check the file’s HTTP status and content type, or use a site audit tool to verify whether the `llms.txt` file has been detected in a valid format.
Since there are no official metrics yet to measure the effectiveness of llms.txt, its performance can be evaluated using various data available on the website. Some things you can monitor include:
However, it is important to understand that changes in traffic or brand appearances in AI assistants cannot be directly attributed to llms.txt. Other factors, such as content quality, source authority, website structure, and changes to the AI system, can also influence these results.
Therefore, it can be concluded that llms.txt is best viewed as one of several experiments in preparing a website for the evolution of AI search. For these efforts to be more comprehensive, its implementation must still be supported by strong fundamental SEO practices, high-quality content, and GEO and AEO optimization tailored to business needs.
If you want to prepare your website to adapt more easily in the AI era, cmlabs can help develop strategies ranging from technical SEO to GEO and AEO.
With an approach tailored to your website’s conditions and business goals, you can build a foundation for search visibility that does not rely solely on a single approach.
To navigate and optimize your business so your website is more easily cited, referenced, and recommended by AI, use AI Search Optimization (GEO/AEO) Services by cmlabs.
Contact us and tell us more about your business needs and challenges.
Read also: What Is Answer Engine Optimization? A Guide to Optimizing Business
Risca Fadillah
Thank you for taking the time to read my article! At cmlabs, we regularly publish new and insightful articles related to SEO almost every week. So, you'll always get the latest information on the topics you're interested in. If you really enjoy the content on cmlabs, you can subscribe to our email newsletter By subscribing, you'll receive updates directly in your inbox. And hey, if you're interested in becoming a writer at cmlabs, don't worry! You can find more information. here So, come join the cmlabs community and stay updated on the latest SEO developments with us!
Subscribe to Our Newsletter
Enter your email to receive news from us