- llms.txt is usually placed at the root of a domain.
- It should summarize your website and link to important canonical resources.
- It complements sitemap.xml and structured data; it does not replace them.
What llms.txt is
llms.txt is a plain-text or markdown-style file designed to give AI systems a concise overview of a website. It can describe the site, list key pages and point to preferred canonical resources.
Where to place it
Most sites place llms.txt at the root of the domain, for example /llms.txt. This makes it easy to discover and avoids burying the file inside a section that crawlers may not expect.
What to include
A useful llms.txt file usually includes a short site summary, main product or service pages, documentation pages, pricing or contact pages where relevant, API descriptions and language versions. Keep it concise and accurate.
What to avoid
Do not use llms.txt to hide problems in your actual site. Do not include misleading claims, outdated URLs, private content or pages that contradict canonical tags. The file should reinforce your public website structure.
How llms.txt fits AI visibility
llms.txt helps with machine-readable context, but it is only one signal. For best results, pair it with clean HTML, valid sitemap.xml, schema, accessible content and clear robots.txt rules.
Practical checklist
- Place llms.txt at the domain root.
- Use markdown-style headings for readability.
- List only current and canonical URLs.
- Include key language versions where relevant.
- Link to OpenAPI or API descriptions if available.
- Review it whenever major site sections change.
Implementation order
- Publish the file at /llms.txt in the root directory.
- List key resources such as homepage, guides, tools, pricing and contact pages.
- Keep the brand and service description short and clear.
- Update the file when important website content changes.
Frequently asked questions
Is llms.txt required?
No. llms.txt is not a mandatory search engine file, but it can help AI systems and agents understand the key resources on a website.
What should llms.txt include?
It should include a short brand description, key pages, documentation, guides, tools, API references and other useful resources.
Does llms.txt improve rankings by itself?
No. It supports machine-readable discovery, but helpful content and technical SEO still matter.