Auto-Generate From Your Live Sitemap or Build Offline
Writing /llms.txt by hand takes unnecessary time when your homepage and /sitemap.xml already declare your primary pages. Enter any public domain above to crawl your title, meta description, and top sitemap routes into a structured Markdown file.
If you are launching a new site behind staging, switch to Manual Builder to format your brand heading, summary blockquote, and key links locally in the browser.
How to Choose Which URLs Belong in llms.txt
A strong /llms.txt file reads like an executive table of contents, not a raw dump of every archived tag page. Prioritize five high-signal page types:
- Homepage and core product pages: Clearly state what your software or service does and who uses it.
- Pricing and plan comparison: Explicit numbers prevent AI assistants from hallucinating outdated rates.
- Documentation and guides: Technical specs, API references, and integration tutorials.
- Comparison and alternative pages: Objective breakdowns showing how you differ from category incumbents.
- About, methodology, and trust pages: Grounding facts that confirm ownership, contact channels, and editorial standards.
Writing High-Signal Link Descriptions
Generic link labels like "Learn more" waste context tokens. Follow every Markdown link with a concise colon description that states exact scope, pricing, or format:
- Good:
- [Pricing](https://example.com/pricing): Free tier, $19 one-time audit, $29/mo Pro, and $69/mo Agency - Weak:
- [Pricing](https://example.com/pricing): Check out our flexible plans
Platform Deployment Checklist
| Hosting Stack | Where to Place llms.txt |
Verification Step |
|---|---|---|
| Static / Cloudflare Pages / Vercel | public/llms.txt in repo root |
Confirm curl -I returns HTTP 200 and text/plain |
| Next.js App Router | public/llms.txt or route handler |
Verify middleware does not rewrite to HTML |
| Nginx / Caddy | Web root /var/www/html/llms.txt |
Ensure UTF-8 charset and no auth wall |
| WordPress / CMS | Site root directory via host or SEO plugin | Exclude /llms.txt from page cache HTML wrappers |
Aligning llms.txt With Your Raw HTML and Schema
AI search models cross-check facts across your discovery file, visible HTML, and structured data. Following llmstxt.org guidelines and Google structured data documentation, make sure your brand name, pricing tiers, and feature claims match word-for-word everywhere.
Verify After Uploading
- Deploy the downloaded
llms.txtfile to your domain root. - Run the llms.txt Validator on your live domain to confirm a 100/100 score and zero HTML fallback issues.
- Run our Free GEO Audit Tool to verify that all 6 AI crawlers,
robots.txt, and raw no-JS HTML pass alongside your new discovery file.
Avoiding Common Generation Pitfalls
- Exclude staging, login, checkout, and paginated archive URLs so every entry points to a canonical, indexable landing page.
- Confirm
curl -i https://yourdomain.com/llms.txtserves plain UTF-8 text without HTML analytics wrappers.