What is llms.txt and why should you add it to your website?
llms.txt is a text file that lets website owners control how artificial intelligence (AI) accesses their content. Its main purpose is to help large language models (such as ChatGPT, Gemini or Claude) easily understand your website’s content and key pages, and to know what they are allowed to do on the website.
While classic search engines follow the robots.txt file, which tells them what they may index, language models don’t just index content, they also process it and use it for training or for generating answers. And that is where llms.txt comes in.
What llms.txt is for
The goal is to give you control over how AI tools handle your website’s content, and at the same time to help them find your website’s key content pillars. With this file, you can:
- give AI models a complete list of your website’s pages in a simple markdown format,
- specify which parts of the website are accessible,
- whether the content may be used to train models,
- or whether it should be blocked entirely.
For example, this entry restricts access completely:
user-agent: gptbot
disallow: /It tells the GPTBot crawler (from OpenAI) that it may not access the website at all.
Why it matters right now
Generative AI now shows content in direct answers and summaries, without anyone having to click through to the original website. This means readers often see your information without visiting your website, and without the source being credited.
llms.txt is currently a voluntary standard, but major AI companies are starting to respect it. OpenAI, Google and other developers say they adjust their models’ behavior accordingly. On some websites, OAI-SearchBot even checks for new information every 15 minutes.
How it differs from other files
It is important to understand that:
- robots.txt is meant for search engine bots,
- sitemap.xml helps search engines and users understand the website’s navigation,
- while llms.txt targets AI models directly, especially generative ones.
What this means for your website
Whether your goal is to protect your content or, on the contrary, to make it easy for large language models to find your content, implementing llms.txt is worth it. On WordPress websites in particular, it is especially easy to set up.
Adding this file is one of the steps that can significantly affect your website’s visibility in language models and AI Overviews (GEO).
Want a website that brings in customers through organic search? Book a no-obligation consultation. It’s completely free.
The llms.txt file gives AI models instructions on how to work with your content, but it doesn’t decide who gets onto your website in the first place. That is decided by robots.txt and by settings with providers such as Cloudflare. For a complete overview of which bots to let in and which to block, see our article on AI bots on your website.
llms.txt is also often mentioned in connection with preparing an e-shop for purchases made through AI agents. According to its own guidelines, however, Google treats it as plain text, not as a special instruction, so on its own it isn’t enough. What really makes a difference in getting an e-shop ready is covered in our article on shopping through AI agents.



