Free, independent guides since 2010

Build with AI

llms.txt: does your website need one?

What llms.txt is, who uses it, what Google says about it in 2026, and the things that actually help AI systems understand your website: crawl access, clean HTML, structured data and clear content.

<guide section="Build with AI" type="article" read="1 min"/>

In late 2024 a new idea spread through the SEO world: llms.txt, a plain Markdown file at the root of a website that summarises the site and links to its most important pages, written specifically for large language models. Many sites added one in the hope of being cited more by AI assistants. Two years later we know a lot more about whether it works.

What an llms.txt file looks like

Plain text
# dom4j.org
> Free, independent guides to building and running websites since 2010.

## Guides
- [Building websites with A.I.](https://dom4j.org/ai-websites): complete guide
- [Web hosting](https://dom4j.org/web-hosting): types of hosting, choosing a host
- [dom4j](https://dom4j.org/dom4j): the Java XML library explained

What the evidence says

  • Google has stated in its Search documentation that you do not need machine-readable AI files or Markdown versions of pages to appear in Google Search, including AI Overviews and AI Mode, because Search does not use them – and that having one will not hurt either.
  • Large server-log studies published in 2026 found that the vast majority of llms.txt files received no requests at all.
  • Where it does get used is in developer tooling: coding assistants reading documentation sites. That is the use case it was originally designed for.

What actually helps AI systems understand your site

  1. Allow crawling by the search engines and AI crawlers you want, in robots.txt.
  2. Clean, semantic HTML with content in the page, not hidden behind scripts.
  3. Structured data that states who you are and what each page is.
  4. Clear, quotable content: definitions, tables, step-by-step lists, FAQs.
  5. A good sitemap and logical internal links.

Should you add one?

If you publish technical documentation that developers use with AI coding tools, an llms.txt is a small, sensible addition. For a business site, blog or shop, your time is better spent on the points above and on SEO for AI search. If you add one anyway, keep it short, accurate and up to date.

Frequently asked questions

Will an llms.txt file get me cited in ChatGPT or Gemini?

There is no evidence that it does. AI search systems rely on crawling, ranking and the content of your pages.

Is it harmful to have an llms.txt file?

No. Google says it does not help or hurt your Search visibility. It is just a file that costs a little time to maintain.