Home / Guides / How to Create and Check an llms.txt File

Updated

How to Create and Check an llms.txt File (with Real Examples)

To create an llms.txt file, write a Markdown file with an H1 title on the first line, a one-line summary in a blockquote (> ...), then H2 sections listing your key pages as Markdown links with a short note each, and serve it at https://yoursite.com/llms.txt with HTTP 200 as plain text. On 2 December 2026, docs.apify.com, developers.cloudflare.com and docs.stripe.com all served one; python.org returned 404.

1. A minimal valid file

# Example Inc

> Example Inc makes invoicing software for small businesses in Europe.

## Docs
- [Quick start](https://example.com/docs/start): set up an account and send a first invoice
- [API reference](https://example.com/docs/api): REST endpoints, authentication, rate limits

## Optional
- [Changelog](https://example.com/changelog): release notes

The proposal at llmstxt.org requires the H1 title; the summary, the free text and the H2 sections of links are recommended. A section named Optional marks links a tool can skip when its context is short.

2. What real sites publish

We fetched six files on 2 December 2026 and checked them with the rules above:

Big documentation sites keep llms.txt as an index and put the full text in separate Markdown pages or in llms-full.txt.

3. Check your file in one minute

curl -sI https://yoursite.com/llms.txt | grep -iE '^(HTTP|content-type)'
curl -s https://yoursite.com/llms.txt | head -n 5
curl -s https://yoursite.com/llms.txt | grep -cE '\[[^]]+\]\([^)]+\)'

You want HTTP 200, a text/plain or text/markdown content type, a first line starting with # , and a link count above zero.

4. Common mistakes

5. Check many sites at once

Plainprobe Website SEO & AI Readiness Audit fetches /llms.txt on each site, reports whether it is present and valid (title, summary, sections, link count) and flags soft 404s, together with robots.txt rules for AI crawlers, metadata and broken links, for a list of sites at $0.003 per page. See also Is your website ready for AI crawlers?

Limits to keep in mind

FAQ

What is an llms.txt file?

A Markdown file served at /llms.txt that gives language models a short summary of a site and links to its most useful pages. The format is a proposal from llmstxt.org, not an official standard.

What must an llms.txt file contain?

Only one thing is required by the proposal: an H1 title on the first line. In practice add a one-line summary as a blockquote (> ...) and at least one H2 section with Markdown links to your key pages, each with a short note on what it covers.

Where do I put llms.txt?

At the root of the domain, like robots.txt: https://example.com/llms.txt. Serve it as text/plain or text/markdown with HTTP 200. Documentation sites often add a second, larger file, llms-full.txt, with the full text.

Do ChatGPT, Claude or Perplexity read llms.txt?

No AI company has committed to reading it for search or citations. It is mostly used by coding assistants, documentation tools and agents that fetch it on purpose. It is cheap to add, but it does not replace a crawlable site and a robots.txt that lets AI crawlers in.

Related tool