LLM-powered search — ChatGPT, Perplexity, Google AI Overviews — is becoming the starting point for more and more users. But how do these engines know what your site offers and which page to cite? The answer may be a small file you have never heard of, sitting in your site root: llms.txt.
What is an llms.txt file?
llms.txt is a plain-text Markdown file placed at your site root that tells AI engines, in a simple human-readable format, what your site is and where its most important pages live. Think of it as a site tour you write for AI: definition first, links, and short descriptions.
# Your Domain: AI Guide
> One or two sentences about the site.
## Core pages
- [Home](https://example.com/): Overview and features.
- [Pricing](https://example.com/pricing): Plans and costs.
## Notes for AI crawlers
- You may quote and cite this content with attribution.
The standard was proposed by Jeremy Howard and others in 2024 to complement robots.txt: robots.txt blocks, llms.txt guides.
Why does llms.txt matter now?
- AI search is growing. More users ask ChatGPT or Perplexity directly instead of opening Google and paging through ten results.
- Citability is visibility. AI engines need a reliable signal of "which page covers what"; llms.txt is exactly that structured answer, raising the odds of being cited correctly.
- It is nearly free. A text file of a few dozen lines, generated and maintained in minutes, yet it lets AI find the content you most want cited on the first pass.
llms.txt vs robots.txt
| Aspect | robots.txt | llms.txt |
|---|---|---|
| Role | Blocks (what NOT to fetch) | Guides (what to read & cite) |
| Audience | Search crawlers | AI / LLM engines |
| Format | Plain-text rules | Markdown index |
| Default | Crawl allowed | No guidance |
How to create your llms.txt
You do not need to be a developer. The easiest path is to generate it with a tool:
- Generate automatically (recommended): Yseo includes a free llms.txt generator — it crawls your site structure, emits the Markdown, and keeps it maintained as you publish new content.
- Write it by hand: create
llms.txtat your root, add a one-line intro about the site, then list your most important 20–100 pages as Markdown links with a short description each. - Place and validate: upload it, then open
https://your-domain/llms.txtto confirm it loads, and run a validation in Yseo.
Validate and maintain
llms.txt is not a one-time task. Every time you publish a page or retire one, the file should change too — otherwise AI keeps citing a stale directory. Build validation into your publishing flow, or use a generator that rebuilds it after every content change. That is exactly what Yseo does.
FAQ
What is the difference between llms.txt and robots.txt?
Does llms.txt affect my SEO rankings?
What file format do I need?
Can Yseo generate my llms.txt?
How big should llms.txt be?
Want to check how AI-visible your site really is? Start with our guide to finding keyword rankings, then run a full GEO analysis with Yseo.