llms.txt: The Complete Guide — What It Is, Why It Matters, How to Create Yours
A copy-paste llms.txt template and the exact sections AI engines look for — the robots.txt of the AI era, explained.
What is llms.txt?
llms.txt is a simple markdown file at your domain root that gives AI assistants a curated, structured summary of your site — your entity, services, key definitions, important URLs and contact info.
Why does llms.txt work?
Instead of forcing an LLM to infer your business from marketing copy, you hand it the facts in the format it likes. It's the robots.txt of the AI era — low effort, high signal.
A minimal llms.txt template
Copy this, fill in your details, and serve it at /llms.txt:
# Your Company
> One-sentence description of what you do.
## Services
- Service one — short description
- Service two — short description
## Key Pages
- Home: https://example.com/
- Pricing: https://example.com/pricing
## Contact
- Email: hello@example.comWhere do I put llms.txt?
Serve it at https://yourdomain.com/llms.txt and reference it with a <meta name="llms-txt"> tag in your HTML head so engines can discover it.
Frequently asked questions
Where does llms.txt go?⌄
At your domain root: https://yourdomain.com/llms.txt. Optionally reference it with a meta tag named llms-txt in your HTML head.
What should llms.txt contain?⌄
A one-paragraph overview, founding year, a services list, key page URLs with descriptions, target audience, key term definitions, and contact info.
Is llms.txt an official standard?⌄
It's an emerging community convention (llmstxt.org). Adoption is still low, which makes it a strong early-mover advantage.