llms.txt Generator — Create an llms.txt File for Your Site
Generate a spec-compliant llms.txt file to tell AI crawlers (ChatGPT, Claude, Perplexity) what your site is about and link your key pages. Fill in a title, summary, and sections, then copy the Markdown. 100% local.
Last updated:
CommentsEnter your site's title, a one-line summary, and a few sections of links, and this tool outputs a spec-compliant llms.txt in Markdown — an H1 title, a blockquote summary, then H2 sections of linked pages with optional notes. Copy it to your site root at /llms.txt. Everything runs in your browser.
/llms.txt# Acme Docs > Developer documentation for the Acme API and SDKs. ## Docs - [Getting Started](https://acme.com/docs/start): Install and first request - [API Reference](https://acme.com/docs/api): All endpoints
Publish this at your domain root (https://yourdomain.com/llms.txt). Generated locally — nothing is uploaded.
What is llms.txt Generator?
llms.txt (proposed at llmstxt.org) is a single Markdown file published at your domain root that gives large language models a concise, curated map of your site: what it is, and which pages matter. The format is deliberately simple — one H1 with the site/project name, an optional blockquote (>) summary, then H2 sections (like "Docs" or "API") each containing a Markdown list of links in the form - [name](url): optional notes. Unlike robots.txt (which controls crawling) or sitemap.xml (a raw URL list), llms.txt is human-readable and editorial: you choose the most useful links and describe them. This generator builds a valid file from a form so you don't have to hand-format the Markdown.
How to create an llms.txt file
- 1Enter your site/project name (the H1) and a one-line summary.
- 2Add sections (e.g. Docs, Guides, API) and list links with name, URL, and optional notes.
- 3Copy the generated Markdown and publish it at https://yourdomain.com/llms.txt.
Key Concepts
- Blockquote summary
- The > line right after the H1 — a short description LLMs read first.
- llms-full.txt
- An optional expanded variant that inlines full page text, not just links.
- robots.txt
- Controls crawler access; llms.txt complements it with structure, not permissions.
Tips & Best Practices
- ▸Link your highest-value pages (docs, getting-started, API) first — keep the list curated, not exhaustive.
- ▸Use absolute URLs so the file works when fetched from the root.
Frequently Asked Questions
What is llms.txt?
llms.txt is a proposed standard (llmstxt.org) — a Markdown file at your site root that gives LLMs a curated, link-rich summary of your site. It starts with an H1 title, an optional blockquote summary, then H2 sections of links. It complements robots.txt and sitemap.xml rather than replacing them.
Where do I put llms.txt?
At the root of your domain, i.e. https://example.com/llms.txt, so crawlers can find it by convention. Some sites also publish an expanded llms-full.txt with the full text inlined.
Does llms.txt actually do anything yet?
Adoption is early and no major crawler guarantees it reads the file, but it's cheap to publish, human-readable, and already supported by several AI documentation tools. It's a low-risk way to signal structure to LLMs.
Try Next
Prompt Token Breakdown
Break a prompt into segments and see how many tokens — and how much cost — each part uses. Find the heaviest section (system, few-shot examples, or user input) so you know exactly what to trim. 100% local.
Related Tools
Text Chunker
Split long text into overlapping chunks for embedding and RAG pipelines. Preview recursive, paragraph, sentence, or fixed strategies with live token counts. Runs 100% in your browser.
Cosine Similarity
Compute cosine similarity, dot product, and Euclidean distance between two vectors online. Perfect for debugging LLM embeddings, semantic search, and RAG pipelines. 100% local — vectors never leave your browser.
AI Cost Calculator
Estimate monthly LLM API cost across GPT-4o, Claude 3.5, Gemini, DeepSeek and 100+ models. Compare providers side-by-side with prompt-caching and batch discounts. Free, no signup — prices refreshed daily from the public LiteLLM catalog.
Token Counter
Count tokens in your prompt for GPT-4, GPT-3.5, Claude, and Gemini and predict API cost before you spend. Free, no signup — all counting runs locally, your prompt stays in your browser.
LLM JSON Extractor
Extract every JSON object or array buried inside an LLM reply — even when it's wrapped in markdown fences, mixed with explanation text, or has trailing commas and single quotes. Auto-repairs each block. 100% local.
Context Window Checker
Check whether your prompt fits a model's context window before you send it. Estimates prompt tokens, reserves room for the response, and shows remaining headroom across GPT-4o, o1, Claude, Gemini, DeepSeek and more. 100% local.