llms.txt Generator and Validator Studio
Enter your website URL and let llms.free crawl your homepage and sitemap, organize your highest-signal pages with Cloudflare Workers AI and output a verified llms.txt file in seconds. Prefer full manual control? Switch to the manual editor, starter templates or validator below.
Generate llms.txt From Any Website URL
Reads your public homepage & sitemap.xml, extracts real page titles and organizes them into a verified llms.txt (zero invented URLs).
# Acme Docs
> Developer documentation, API reference and quickstart guides for the Acme SDK.
All code samples target SDK v2.x and assume Node.js 20+ or Python 3.11+.
## Getting Started
- [Quickstart Guide](https://docs.example.com/quickstart): Install the SDK and send your first API call in 5 minutes
- [Authentication](https://docs.example.com/auth): API keys, scopes and environment variables
## API Reference
- [REST Endpoints](https://docs.example.com/api/rest): OpenAPI 3.1 endpoints, pagination and error codes
- [Rate Limits](https://docs.example.com/api/limits): Requests per minute, retry headers and quotas
## Optional
- [Changelog](https://docs.example.com/changelog): Release history and migration notes
Manual Editor, Templates & Validator — customize generated links, start from a template or paste an existing fileOpen manual editor
What Is llms.txt and How Does the Format Work?
/llms.txt is a plain-text Markdown index placed at the root of a website so AI coding assistants, documentation agents and retrieval tools can find your highest-signal pages without parsing navigation bars, JavaScript bundles or cookie banners. You can inspect this site's own live file at /llms.txt.
Required and Recommended Blocks
- H1 title — exactly one top-level heading (
# Project Name) on the first line. - Blockquote summary — a concise
>summary directly under the H1 describing what the site or project does. - H2 link sections — grouped Markdown lists using
- [Title](https://...): Short description. - Optional section — a special
## Optionalheading for secondary links (changelogs, legal pages) that agents may skip when context windows are tight.
llms.txt vs llms-full.txt
llms.txt is a lightweight table of contents (usually 1–5 KB) pointing AI tools to your best URLs. llms-full.txt expands those pages into a single self-contained Markdown document so an agent or developer can paste your entire documentation into a large-context model in one fetch.
Use the tab toggle in the Studio above to preview and download both formats from the same structure.
llms.txt vs robots.txt and sitemap.xml
llms.txt does not replace robots.txt or sitemap.xml, and adding one does not guarantee higher search engine rankings. Each file serves a distinct technical purpose:
| File | Audience | Primary Purpose | SEO Ranking Effect |
|---|---|---|---|
/llms.txt | AI coding agents, RAG tools, humans | Curated Markdown map of high-signal docs and specs | None confirmed; improves AI context accuracy |
/robots.txt | Search & AI crawlers | Allow or disallow crawling of URL paths | Controls crawl access (not a direct ranking boost) |
/sitemap.xml | Search engines | Complete XML inventory of indexable URLs and dates | Aids discovery and crawl freshness |
Add llms.txt to Your Stack
Static files in public/llms.txt work for small sites, while dynamic route handlers keep your index automatically synced with your content collections. Pick your framework below:
llms.txt in Astro
Generate /llms.txt and /llms-full.txt automatically from Astro Content Collections at build time.
llms.txt in Next.js
Serve text/plain; charset=utf-8 via an App Router route.ts handler with static caching.
llms.txt on Cloudflare
Configure edge caching, _headers and Workers routes for instant global delivery.
llms.txt Questions
How Does the Automatic AI llms.txt Generator Work?
When you enter a public URL, llms.free fetches your homepage and sitemap.xml, reads the actual titles and meta descriptions of your key pages, and asks Cloudflare Workers AI to group them into clean llms.txt sections. Every output URL is strictly verified against the crawled pages so the AI cannot invent broken links.
Does llms.txt Improve Google Search Rankings?
No. Google has not announced any ranking signal for llms.txt. Its practical value is helping AI coding tools (Cursor, Claude Code, Windsurf) and documentation agents find clean, up-to-date URLs faster.
Where Should I Place the llms.txt File?
Serve it at the root of your domain (https://yourdomain.com/llms.txt) with Content-Type: text/plain; charset=utf-8. For static sites, place it in your public/ folder; for frameworks, use a dedicated route handler.
Can I Edit or Validate an Existing llms.txt File?
Yes. Open "Manual Editor, Templates & Validator" right below the preview to fine-tune any AI-generated link, start from one of 5 templates or paste an existing llms.txt file for instant validation.