How to create llms.txt
A practical guide to creating llms.txt—what to include, where to host it, and how to generate a solid first draft in under a minute.
What is llms.txt?
llms.txt is a small plain-text file at the root of your site (like a focused cousin of robots.txt). It tells AI agents which pages matter: docs, API, pricing, blog index—not every URL in your sitemap.
How to create llms.txt (manual)
- Create a UTF-8 text file named
llms.txt. - Start with
# Your Site Nameand a one-line> summary. - Add a
## Key pageslist using Markdown links:- [Title](https://…). - Upload it so it is publicly reachable at
https://your-domain/llms.txt. - Optionally mention it from your docs homepage or README.
Recommended shape
# Your Product
> One sentence on what the product does.
## Site
- [Home](https://example.com/)
## Key pages
- [Documentation](https://example.com/docs)
- [API reference](https://example.com/api)
- [Pricing](https://example.com/pricing)
## Optional
- Contact: you@example.com
Faster path: use a generator
If you want a draft without hand-editing Markdown, use our free llms.txt generator: paste site info → preview → download. Pair it with an MCP Card when you want structured resources for coding agents.
Checklist
- HTTPS URL, publicly readable
- Prefer canonical docs URLs over marketing fluff
- Keep it short—agents skim
- Update when you reorganize docs
Ready to generate?
Free tier: 3 generations per day, no signup. Optional packs ($5 / 10 credits, $15 / 50) if you need more—same generator, no lock-in.