llms.txt Generator
Paste your domain URL. We crawl your homepage, extract structure and links, and generate a spec-compliant llms.txt. Single field. Single click. Instant output.
What is llms.txt and why does it matter?
llms.txt is a plain-text markdown file that provides inference-time context to LLMs. Crawlers and AI systems read it to understand your site, its structure, and key pages. It is the machine-readable equivalent of a sitemap for AI discovery. ChatGPT, Claude, Perplexity, and other answer engines can fetch it when users ask about your domain.
Inference-time context
LLMs use llms.txt at retrieval time to decide what to surface. A well-structured file increases the likelihood your content is cited when users ask about your domain.
Spec-compliant output
H1, blockquote summary, H2 sections with markdown link lists. All URLs absolute. No code fences. Ready to serve as text/plain at yourdomain.com/llms.txt.
AEO and AI discoverability
Answer engine optimization depends on how AI systems discover and index your content. llms.txt is a low-effort, high-signal signal for crawlers and retrieval pipelines.
How llms.txt helps you
LLMs have limited context windows. A full sitemap or raw HTML is too large and noisy. llms.txt gives you a curated, dense signal that fits retrieval pipelines.
More citations when users ask about your product
When someone asks ChatGPT or Claude about your tool, docs, or brand, the model fetches context at inference time. A well-structured llms.txt increases the chance your content is retrieved and cited instead of a competitor's.
Control what AI systems see about your site
You decide which pages matter. No navigation, ads, or boilerplate. Just the summary and links that define your offering. LLMs get a clean, authoritative overview instead of scraping random HTML.
Complements robots.txt and sitemap.xml
robots.txt governs crawler access. sitemap.xml lists all pages. llms.txt is different: a curated overview for inference-time retrieval. It coexists with existing standards and fills the gap for AI-specific discovery.
Where to place llms.txt in your codebase
The file must be served at the root path of your domain: yourdomain.com/llms.txt. Place it in the folder that maps to your site root.
Framework and hosting
- Next.js, Astro, Vite, Create React App:
Put llms.txt in the
public/folder. It will be copied to the build output and served at the root. - Static sites (Hugo, Jekyll, Eleventy):
Place llms.txt in the output directory (e.g.
public/or_site/) so it deploys to the root. - Vercel, Netlify, Cloudflare Pages:
Add llms.txt to
public/or the static assets root. These platforms serve files from that folder at the domain root. - WordPress, Drupal, custom CMS: Upload llms.txt to the web root (same level as index.php or your main entry point). Or use a plugin if available.
Content-Type and validation
Serve llms.txt with Content-Type: text/plain. Most static hosts do this automatically for .txt files. After
deploying, visit yourdomain.com/llms.txt to confirm it loads. Some
crawlers and tools check this path explicitly.
Generate in 3 steps
Paste your domain URL
Enter your homepage URL. We analyze the page and gather the title, meta description, and important internal links so your file matches your site.
Enter email
Add your email so we can send your file. No account needed. We may share occasional SEO tips—you can unsubscribe anytime.
Copy or download
Preview your file, then copy it or download llms.txt. Publish it at yourdomain.com/llms.txt on your site. Generate a new version whenever you like.
Frequently asked questions
Do I need llms.txt if I already have a sitemap? +
Who should use llms.txt? +
How do I serve llms.txt with the correct Content-Type? +
Is this llms.txt generator free? +
Track how LLMs surface your brand
Zerply helps you move from isolated tweaks to a fully autonomous SEO system: AI visibility tracking, on-page guidance, and data-backed recommendations for every important URL.