llms.txt Generator by

Configure your llms.txt

Open an existing llms.txt — or drop it onto the form.

Becomes the H1 heading # Name — the only element the spec requires.
One or two sentences with the key facts — what agents read first. Rendered as blockquote: > summary
Paragraphs and lists after the summary (no headings — they would break the structure). Keep it short.
A convention (not part of the spec): all linked pages in one file. Listed in the ## Optional section.
llms.txt v2 recommends linking clean markdown versions of your pages. PDFs and other files stay as they are.

Output: llms.txt

    Serving & discovery

    Upload the file to the path it describes — /llms.txt covers the whole site, /docs/llms.txt only /docs/. Serve it as UTF-8 text and let pages point to it with rel="describedby" (llms.txt v2).

    
                                            

    Check a live llms.txt

    Fetch an existing llms.txt from any domain and validate it against the llmstxt.org specification. Enter a domain (e.g. example.com) — /llms.txt is appended automatically — a directory (example.com/docs/) or a full URL. Afterwards you can check the linked pages.

    Uses a server-side proxy by default. Enable Expert Mode (toggle in the header) to fetch directly via the optional local proxy.

    Real-World Examples

    See how different types of projects structure their llms.txt files. Click Load into Generator to use any example as a starting point.

    Open-Source Library

    Clean, minimal structure for a developer tool with documentation and guides.

    # My Awesome Project
    
    > A fast, open-source tool for doing X, built for developers.
    
    My Awesome Project helps developers accomplish X quickly
    and efficiently. It supports Y and Z out of the box.
    
    ## Documentation
    
    - [Getting Started](https://example.com/docs/start): Installation and first steps
    - [API Reference](https://example.com/docs/api): Full API documentation
    - [Configuration](https://example.com/docs/config): All configuration options explained
    
    ## Guides
    
    - [Deploy to Production](https://example.com/guides/deploy): Step-by-step deployment
    - [Troubleshooting](https://example.com/guides/trouble): Common issues and solutions
    
    ## Optional
    
    - [llms-full.txt](https://example.com/llms-full.txt): Entire documentation in one file

    SaaS Product

    Structured for a SaaS with product info, help centre, and developer docs.

    # SaaS Product
    
    > The all-in-one platform for team collaboration and project management.
    
    ## Product
    
    - [Features Overview](https://example.com/features): Complete list of platform features
    - [Pricing](https://example.com/pricing): Plans and pricing information
    - [Changelog](https://example.com/changelog): Recent updates and new features
    
    ## Help Center
    
    - [Getting Started](https://help.example.com/start): Set up your account and workspace
    - [Integrations](https://help.example.com/integrations): Connect third-party tools
    - [Billing](https://help.example.com/billing): Manage subscription and invoices
    
    ## Developers
    
    - [API Documentation](https://developers.example.com/): REST API and authentication
    - [Webhooks](https://developers.example.com/webhooks): Event-driven integrations

    Blog / Personal Site

    Minimal structure for a personal blog — curated best articles, no fluff.

    # Jane Doe's Blog
    
    > Writing about web development, design, and the open web.
    
    I'm a freelance web developer based in Berlin. I write about
    modern CSS, web performance, and developer tooling.
    
    ## Best Articles
    
    - [CSS Grid Deep Dive](https://janedoe.com/css-grid): Mastering CSS Grid layouts
    - [Web Performance 101](https://janedoe.com/perf): Core Web Vitals explained
    - [Svelte vs React 2025](https://janedoe.com/svelte-react): Comparing frameworks
    
    ## About
    
    - [About Me](https://janedoe.com/about): Background, skills, and contact
    - [Portfolio](https://janedoe.com/portfolio): Selected client work and case studies

    Documentation Site

    Comprehensive structure for a large framework docs site with multiple sections.

    # Framework Docs
    
    > Official documentation for Framework 3.x — fast, batteries-included.
    
    ## Getting Started
    
    - [Introduction](https://docs.example.com/intro): What Framework is and why use it
    - [Installation](https://docs.example.com/install): Prerequisites and setup steps
    - [Quick Start](https://docs.example.com/quickstart): Build your first app in 5 min
    
    ## Core Concepts
    
    - [Routing](https://docs.example.com/routing): File-based and dynamic routing
    - [Data Fetching](https://docs.example.com/data): SSR, SSG, and ISR strategies
    - [Components](https://docs.example.com/components): Building reusable UI components
    
    ## Optional
    
    - [llms-full.txt](https://docs.example.com/llms-full.txt): Entire docs in one file

    Tips & Best Practices

    Guidelines for writing llms.txt files that maximise how well AI assistants understand your content.

    Do This

    • Write a precise summary. The blockquote is often the first thing an LLM reads. One clear sentence that explains exactly what your project does.
    • Curate, don't dump. Link only your 5–20 most important pages. Quality beats quantity — LLMs benefit from focused, relevant content.
    • Add link descriptions. The colon-delimited text after each link (- [Title](URL): Description) gives LLMs vital context about what a page contains before fetching it.
    • Group pages logically. Use sections (## Section) to group related pages: Docs, API, Guides, About, etc.
    • Keep it updated. Outdated links or descriptions undermine trust. Review your llms.txt whenever you restructure your site.
    • Provide llms-full.txt. Combine all key pages into one large file — some LLM clients can fetch and process it in one shot.

    Avoid This

    • Don't copy your sitemap. A sitemap lists every URL; llms.txt is a curated index. Skip login pages, search results, user profiles, and admin areas.
    • Don't leave descriptions empty. Bare URLs with no context force LLMs to guess. Add at least a short phrase per link.
    • Don't use vague titles. "Page 1", "Click here", or "Docs" without context are unhelpful. Be specific: "API Authentication Guide" beats "API".
    • Don't include private content. Avoid linking to pages behind authentication, internal tools, or anything not meant for public consumption.
    • Don't over-section. Two or three sections are usually enough. Avoid creating one section per page — group them.
    • Don't keyword-stuff. llms.txt is about context for AI, not SEO rankings. Stuffing the summary with keywords is counterproductive.

    How Agents Use llms.txt

    On demand

    Agents read llms.txt when they need information while helping a user — coding agents for API docs, chat assistants for product questions. It is for inference, not a crawler or ranking signal.

    Follow the links

    The file stays small enough for the context; the detail lives behind the links. Agents pick which pages to fetch from your notes — so link clean markdown versions (page.html.md) where you can.

    Discovery

    Pages can point to their file with rel="describedby" and to their markdown version with rel="alternate" type="text/markdown" (llms.txt v2). Chrome Lighthouse checks for the file in its agentic-browsing audits.

    File Placement

    • https://example.com/llms.txt Required
    • https://example.com/llms-full.txt Optional
    • Subpaths work too: /docs/llms.txt covers everything under /docs/; the most specific file applies
    • Must be publicly accessible without authentication
    • UTF-8 text (a byte-order mark is allowed), served as text/plain or text/markdown

    Size Guidelines

    • llms.txt — keep under 50 KB; ideally under 10 KB
    • llms-full.txt — can be much larger (100 KB – 5 MB)
    • Aim for 5–20 curated links total
    • Summary + details: one or two short paragraphs max
    • Sections: 2–5 is ideal; 10+ is usually too many

    Format Reference

    The llms.txt format as proposed on llmstxt.org (v2, August 2026): Markdown at /llms.txt or any subpath, in this order.

    Complete Format

    # Project or Site Name
    
    > Short summary with the key facts about the project.
    
    Optional details: paragraphs and lists, but no headings.
    
    ## Section Name
    
    - [Page Title](https://example.com/page.html.md): What this page covers
    
    ## Another Section
    
    - [Another Page](https://example.com/other.md): Short notes here
    - [Third Page](https://example.com/third.md)
    
    ## Optional
    
    - [Secondary Page](https://example.com/extra.md): Links an agent can skip when context is short

    Field Reference

    Element Syntax Required Description
    Title # Project Name Required H1 heading — name of your project or website
    Summary > Short summary Recommended Blockquote directly after the title with the key information for understanding the rest of the file.
    Details Paragraphs, lists Optional More context and how to interpret the linked files. Any Markdown except headings.
    Section ## Section Name Optional H2 headings, each followed by a file list (and nothing else). Use 2–5 sections.
    Subsection ### Subsection Name Not in spec Generator extension to group links inside a section. Agents read it fine; the reference parser treats each H3 as its own section.
    Link - [Name](URL) Optional Every item of a file list needs a Markdown link. Use absolute URLs, ideally to markdown versions.
    Notes - [Name](URL): Notes Optional After a colon. Strongly recommended — agents choose pages by them.
    Optional section ## Optional Optional Convention for secondary links an agent can skip. Since v2 without special processing.
    llms-full.txt - [llms-full.txt](URL) Optional Not part of the spec — a widespread convention (Mintlify and others) for all pages in one file.

    llms-full.txt — The Combined Content File

    llms-full.txt contains the combined text content of all pages linked in llms.txt, concatenated into one large file. It is useful for LLM clients that:

    • Can process large context windows in a single request
    • Want to avoid making many individual HTTP requests per page
    • Need a cached or offline snapshot of your full documentation

    Note: llms-full.txt is a convention, not part of the llms.txt proposal. Generate it during your build by concatenating the markdown versions of the linked pages.

    Markdown versions & discovery (v2)

    • Pages agents may need get a clean markdown version at the same URL: page.html.md (appended) or page.md (extension replaced); directories use index.html.md or index.md.
    • rel="alternate" type="text/markdown" points from a page to its markdown version.
    • rel="describedby" points from a page to the llms.txt that covers it.
    • Both as <link> in HTML or as HTTP Link: header (also works for the markdown files themselves).
    Link: </docs/page.html.md>; rel="alternate"; type="text/markdown", </docs/llms.txt>; rel="describedby"

    Further Reading