llms.txt generator: how to create and validate your file
By Abhijay Tondak, Founder & CEO · Updated July 3, 2026 · 6 min read
An llms.txt generator creates the AI-crawler guidance file that lives at your website's root (like robots.txt) and tells AI engines — ChatGPT, Perplexity, Claude, Gemini — which of your pages are most important to read and cite. The file lists your key pages with titles and descriptions in a simple, machine-readable format. While AI engines don't require llms.txt to discover your content, providing one makes discovery faster, more accurate, and more likely to surface your best pages.
Key takeaways
- llms.txt is an AI-crawler guidance file at your root domain (example.com/llms.txt).
- It lists your most important, citation-ready pages with titles and descriptions.
- The format is plain text with Markdown-style links — simple to create and maintain.
- llms-full.txt is the companion file with full article text for deep reading by AI crawlers.
- Generate it from your sitemap or CMS, then validate it by fetching the live URL.
What llms.txt is and why it exists
llms.txt is the AI-search equivalent of robots.txt. Where robots.txt tells crawlers what they can and can't access, llms.txt tells AI crawlers what they should prioritize reading. It's a plain text file at your root domain that lists your most important pages with their titles and one-line descriptions.
The standard was proposed to solve a discovery problem: AI crawlers visit millions of pages but have limited context about which ones are most valuable to read deeply. Your sitemap lists every page; your llms.txt highlights the ones that are most worth citing. Think of it as a curated reading list for AI engines.
The llms.txt format
The format is intentionally simple. The file opens with your brand name (prefixed with #) and an optional tagline (prefixed with >). Then list your pages using Markdown-style links with descriptions. Group pages by section using ## headings.
- Line 1: # Your Brand Name
- Line 2: > Your brand tagline or value proposition
- Blank line, then ## Pages
- Each page: - [Page Title](https://yoursite.com/page): One-line description of what this page covers.
- Optional: ## Guides section for resource/blog content.
- Optional: ## Contact section with contact details.
Put this into practice
See how your site performs across AI engines with a free visibility audit — takes 2 minutes, no credit card.
Run your free auditHow to generate your llms.txt
The fastest approach is to derive it from your sitemap. Pull the URLs from sitemap.xml, add titles and meta descriptions for each, and format them as Markdown links. For sites with hundreds of pages, curate rather than list everything — llms.txt should highlight your 20–50 most important, citation-ready pages, not replicate your entire sitemap.
For the companion llms-full.txt file (which includes the full text of each page for AI deep reading), you'll need to strip HTML and output clean text. This file can be larger — 500KB or more for a substantial content library — and gives AI engines the full context without requiring them to crawl and parse each page individually.
Validating and maintaining your llms.txt
After deploying, validate by fetching the live URL (curl https://yoursite.com/llms.txt) and checking that it returns plain text with the correct format. Common issues: the file returns HTML instead of text/plain (fix your Content-Type header), the file is empty or cached stale (check your deployment), or links are broken (verify each URL resolves).
Maintain it as part of your deploy process. When you publish new content, add it to llms.txt. When you remove or unpublish content, remove it. Fastlook generates and updates llms.txt automatically as part of the publishing workflow.
Frequently asked questions
Is llms.txt required for AI citation?
No — AI engines can discover your content through sitemaps, internal links, and crawling. llms.txt makes discovery faster and more focused by highlighting your best pages, but it's not a hard requirement.
Should llms.txt include every page on my site?
No. Curate it to your 20–50 most important, citation-ready pages. AI engines have limited attention — giving them a focused reading list is more effective than dumping your full sitemap.
What's the difference between llms.txt and llms-full.txt?
llms.txt lists pages with one-line descriptions (like a table of contents). llms-full.txt includes the full text of each page — a complete reading package AI engines can ingest without crawling individual URLs.
Put this into practice — free.
Get your free AI-visibility audit and see where engines find you today.
More from this topic
Keep building your expertise with related GEO content in the same cluster.
Programmatic SEO with AI: scale pages that rank and get cited
Programmatic SEO with AI uses language models to generate hundreds of unique, high-quality pages at scale. Here's how to do it without producing thin content that engines ignore.
ReadFree AI SEO tools: what's available and what works
Looking for free AI SEO tools? Here's what's genuinely available at no cost — audits, schema generators, crawler checkers — and where the free tier ends.
ReadGEO platform comparison 2026: how the tools stack up
A 2026 comparison of GEO platforms: how citation tracking, content generation, and technical audit capabilities differ — and which combination fits your team.
ReadAI SEO tools comparison: evaluation criteria for 2026
Compare AI SEO tools by what matters: citation tracking, content generation, structured data audit, and measurement. Here's how the categories stack up and what to prioritize.
ReadAI search optimization checklist: 25 steps to get cited
This 25-step AI search optimization checklist covers everything from crawler access to content structure to measurement. Use it to audit and improve your site's AI citation readiness.
ReadStructured data and JSON-LD for GEO: complete implementation guide
Structured data (JSON-LD) tells AI engines what your content means, who wrote it, and why it's trustworthy. Here's which schema types matter for GEO and how to implement them correctly.
ReadKeep reading
Is your site agent-ready?
Most sites score under 30. Check yours in seconds — get a 0–100 agent-readiness score and a prioritized fix list.