- AI SEO
- Technical SEO
- GEO
What Is llms.txt and Why Your Website Needs One
llms.txt is a new standard that tells AI models what your site is about. Learn what it does, how to create one, and why it matters for AI search visibility.
llms.txt is a plain text file at your website’s root that helps large language models understand what your site is about. Think of it as a robots.txt for AI — but instead of telling crawlers what to block, it tells them what to prioritize.
What Problem Does llms.txt Solve?
When an AI search engine like ChatGPT, Perplexity, or Claude answers a question, it needs to quickly understand what a website does, what content matters, and what’s authoritative. Websites weren’t designed for this. AI models have to parse complex HTML, navigate confusing site structures, and guess which pages matter.
llms.txt fixes this by providing a structured, machine-readable summary at a predictable URL: https://yoursite.com/llms.txt.
What Goes in an llms.txt File?
The format is simple Markdown. Here’s a minimal example:
# seoutils.dev
> Free SEO audit tool — check meta tags, headings, Core Web Vitals, and 20+ other ranking factors. No signup required.
## Documentation
- [How Our Audit Works](/docs/how-it-works): Technical overview of the 24 checks we run
- [API Reference](/docs/api): REST API for running audits programmatically
## Blog
- [Complete SEO Audit Checklist](/blog/free-seo-audit-checklist): Step-by-step guide covering every check
- [How to Write Meta Titles for SEO](/blog/meta-title-description-seo): Title and description optimization guide
## Contact
- [About](/about): Team and mission
- [Support](mailto:support@seoutils.dev): Email support
Key Elements
- Site name as the H1. A single
#heading with your site or product name. - One-line summary as a blockquote. A
>line that concisely explains what your site does. - Sections with H2 headings. Group your most important pages by category.
- Links with descriptions. Each link includes a short description of what the page covers.
Where Should llms.txt Live?
Place it at the root of your domain:
https://www.yoursite.com/llms.txt
AI models check this path by convention, similar to how search engines check /robots.txt and /sitemap.xml. No additional configuration is needed — just upload the file.
llms.txt vs llms-full.txt
Some sites also provide an llms-full.txt file that contains the complete text content of key pages, not just links to them. This is optional but useful for smaller sites where you want AI models to have full context without following links.
| File | Purpose | When to Use |
|---|---|---|
llms.txt | Structured index of important pages | Every site should have this |
llms-full.txt | Full content dump for AI consumption | Small to medium sites with focused content |
For most sites, start with llms.txt and add llms-full.txt later if you want deeper AI coverage.
How Does llms.txt Relate to robots.txt?
They serve different purposes:
| robots.txt | llms.txt | |
|---|---|---|
| Purpose | Tell crawlers what to block | Tell AI models what to prioritize |
| Audience | Search engine bots | Large language models |
| Format | Custom directive syntax | Markdown |
| Effect | Restricts access | Improves understanding |
You need both. robots.txt controls access; llms.txt controls comprehension.
Does llms.txt Actually Work?
The standard is still young, but adoption is growing. Several AI search engines already look for llms.txt when processing a site. Even when AI models don’t read the file directly, having one forces you to clearly articulate what your site does and which pages matter — which improves your content’s structure and citability regardless.
Early adopters include developer tools, SaaS companies, and documentation-heavy sites. If your competitors don’t have one yet, that’s an advantage — you’ll be easier for AI to understand and cite.
How to Create an llms.txt File
Step 1: List Your Most Important Pages
Start by identifying the 10–20 pages that best represent your site. These should be:
- Pages you’d want an AI to cite when someone asks about your topic
- Documentation or guides that demonstrate expertise
- Product or feature pages that explain what you do
- Blog posts that are comprehensive resources on key topics
Step 2: Write the File
Use the Markdown format shown above. Keep descriptions concise — one sentence per link.
Step 3: Upload to Your Root Directory
For static sites, add llms.txt to your public directory. For WordPress, upload it via FTP or use a plugin. For most hosting platforms, you can add it the same way you’d add a robots.txt file.
Static site (Astro, Next.js, Hugo): Drop the file in your public/ folder.
WordPress: Upload via FTP to your site root, or use the Yoast SEO file editor.
Shopify: Add via Settings → Files, then create a URL redirect from /llms.txt to the file URL.
Step 4: Keep It Updated
When you publish important new content, add it to your llms.txt. Remove links to pages that no longer exist. Treat it like a curated table of contents for AI.
Common Mistakes
- Making it too long. This isn’t a sitemap — list only your best 10–20 pages, not every URL.
- Using vague descriptions. “Blog post about stuff” tells AI nothing. Be specific: “Complete guide to meta tag optimization with examples.”
- Forgetting to update it. A stale llms.txt with broken links is worse than none at all.
- Confusing it with robots.txt. llms.txt doesn’t block or allow anything — it’s informational.
How Do I Check If I Have One?
Visit yoursite.com/llms.txt in your browser. If you get a 404, you don’t have one yet.
What seoutils.dev checks: Our free audit tool automatically detects whether your site has an llms.txt file and validates its accessibility. It’s part of our AI search readiness checks — alongside AI crawler access and content citability scoring.
Run a free audit to see if your site is ready for AI search.
This post is part of our AI Search Optimization series. Next up: How to Manage AI Crawlers in Your robots.txt.