How to create an llms.txt file (and what to expect)
On this page
Why this matters for SEO
llms.txt is an optional, emerging convention that lists your most useful pages for AI tools. It is not a ranking switch and does not guarantee citations.
Search visibility depends on several systems agreeing: the page must be reachable, discoverable, technically eligible to be indexed, useful for the query, and supported by a clear internal site structure. Fixing one symptom while another system is blocking the page can produce little or no improvement.
Use this guide as a focused workflow rather than a checklist to complete blindly. Confirm the actual page and response first, make the smallest defensible change, then re-test the same evidence after deployment.
Is this your problem?
- You want to describe your key pages for AI assistants.
- You are unsure whether llms.txt is worth doing.
Common causes
- Nobody can promise that AI tools read the file.
- Pages listed are outdated or low quality.
Check access and HTTP status first, then robots and indexability directives, canonicalization, content/template quality, internal links and performance. This order prevents a low-priority content edit from hiding a technical blocker.
Step-by-step fix
List your best pages
Choose the products, documentation and policies that best explain your site.
Generate a draft
Use the llms.txt Generator with your site name, homepage and page descriptions.
Review every link
Confirm each URL works, is canonical and has an accurate one-line description.
Publish at the root
Upload as llms.txt so it loads at https://yourdomain/llms.txt.
Keep it current
Update it when key pages change, and focus first on clear, accurate, crawlable content.
How to confirm it worked
Verification should use the same URL and comparable conditions as the original test. Check the HTTP response, rendered/source markup and the relevant Google Search Console report where applicable. A successful technical change does not guarantee immediate indexing; crawling and indexing can take time and Google may still choose not to index a page it considers redundant or low quality.
Mistakes to avoid
- Treating llms.txt as a ranking factor.
- Listing broken or redirected URLs.
Tools to use
FAQ
Will llms.txt get me cited by AI tools?
There is no guarantee. Focus first on useful, accurate content that is easy to crawl.
Is it a replacement for robots.txt?
No. They serve different purposes.
Check your own site now. The free SeOMeter tools run these checks on your own URLs, no sign-up needed.
Open the SEO toolsWas something unclear or out of date? Tell us and we will improve this guide. SEO checks are diagnostic guidance, not a promise of rankings, traffic or indexing.