---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mentioned.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://mentioned.sh/.well-known/search"
---

# Check your llms.txt, or generate one

> Generate an llms.txt from your sitemap in seconds, or validate the one you have against the llmstxt.org spec: title, summary, sections, link format, content type and broken links.

Source: https://mentioned.sh/tools/llms-txt

Free llms.txt checker & generator


Enter your domain. We validate `/llms.txt` against the spec and check its links, then write a new one from your sitemap that you can copy or download.

## Validate. Title, summary, sections and link format against the llmstxt.org spec, plus whether the links load.

## Generate. A ready llms.txt from your sitemap: page titles and descriptions, grouped into sections.

## Publish. Save it as /llms.txt at your site's root, served as text/plain. Done.

## How to use the llms.txt generator

1. ### Enter your domain  
For example `example.com`. We look for `/llms.txt` at its root.
2. ### Read the validation  
Each issue names the line and the fix. A missing file scores zero, so start from the generated one.
3. ### Copy or download the generated file  
It's built from your sitemap's pages, titles and meta descriptions. Edit the one-line summary so it says what you do.
4. ### Publish it  
Save it as `/llms.txt` at the root of your site, served as `text/plain`, and link it from your footer or a `Link` header.

## What it checks

- H1 title and blockquote summary
- H2 sections of \`- \[name\](url): notes\` links
- Served as text/plain or text/markdown, not an HTML soft 404
- Links that load (a sample of up to 12)
- llms-full.txt presence
- A generated llms.txt from your sitemap, grouped into sections

## What is llms.txt?

`llms.txt` is a Markdown file at the root of a site that tells language models and AI agents what the site is and which pages matter. It was proposed at llmstxt.org in 2024 and is now served by many AI, developer and SaaS companies.

A web page is built for people: navigation, scripts, cookie banners and layout around the content. An agent with a limited context window wants the opposite: a short list of the pages worth reading, in plain text. llms.txt is that list.

## The llms.txt format

The file is short Markdown with a fixed order. Only the title is required, but a useful file has all of the parts below.

__Parts of an llms.txt file, in order__
| Part     | Syntax                          | What it's for                                           |
| -------- | ------------------------------- | ------------------------------------------------------- |
| Title    | \# Name                         | The site or project name. Required, and the first line. |
| Summary  | \> One or two sentences         | What the site is. The first thing a model reads.        |
| Notes    | Plain paragraphs or lists       | Optional details: who it's for, what to read first.     |
| Sections | \## Docs, \## Product…          | Groups of links to the pages that matter.               |
| Links    | \- \[Page\](https://url): notes | One page per line, with what it covers.                 |
| Optional | \## Optional                    | Pages an agent can skip when it's short of context.     |

## An example llms.txt

A small company's file might look like this, line by line:

- `# Acme`
- `> Acme makes invoicing software for freelancers in the EU.`
- `## Product` then `- [Pricing](https://acme.com/pricing): plans and what each includes`
- `## Docs` then `- [API reference](https://acme.com/docs/api): REST endpoints and authentication`
- `## Optional` then `- [Blog](https://acme.com/blog): product news and guides`

## Does llms.txt help AI citations?

Not directly, today. No major answer engine has said it ranks or cites pages because of llms.txt, and crawlers still discover pages through links and sitemaps. Where it helps is with **agents**: coding assistants, research agents and MCP clients that fetch a site on a user's behalf read it to find the right page fast.

It takes minutes to add and costs nothing to serve, so it's worth having, as long as it's accurate. A stale llms.txt that links to moved pages is worse than none, which is why the checker tests the links.

## llms.txt, robots.txt and sitemap.xml compared

The three root files do different jobs, and a site usually wants all three.

__What each root file does__
| File          | Audience                   | Says                                    | Format                      |
| ------------- | -------------------------- | --------------------------------------- | --------------------------- |
| robots.txt    | All crawlers               | Which paths each crawler may fetch      | Plain-text rules (RFC 9309) |
| sitemap.xml   | Search engines             | Every URL, and when it changed          | XML                         |
| llms.txt      | Language models and agents | Which pages matter, and what they cover | Markdown                    |
| llms-full.txt | Language models and agents | The full text of the key pages          | Markdown                    |

## Common llms.txt mistakes

The checker catches these, most often in this order:

- **A soft 404**: the server returns the home page's HTML at `/llms.txt` with status 200\. Agents get HTML, not Markdown.
- **Wrong content type**: served as `text/html` or `application/octet-stream` instead of `text/plain` or `text/markdown`.
- **No summary**: the blockquote after the title is the one line every model reads; leaving it out wastes it.
- **Broken links**: pages that moved since the file was written.
- **Everything listed**: a copy of the sitemap. Pick the pages that matter and put the rest under `## Optional` or leave them out.

## Questions

### Where do I put llms.txt?

At the root of your domain: `https://yourdomain.com/llms.txt`. Serve it as `text/plain` or `text/markdown` with HTTP 200.

### What's the difference between llms.txt and llms-full.txt?

`llms.txt` is an index of links. `llms-full.txt` holds the full text of your key pages in one Markdown file, so an agent can read everything in one request. Both are optional; start with llms.txt.

### Is llms.txt the same as robots.txt?

No. robots.txt says which crawlers may fetch which paths. llms.txt says which pages are worth reading. It grants or blocks nothing; check access with the [robots.txt checker](https://mentioned.sh/tools/robots-txt).

### Does Google use llms.txt?

Google has said it doesn't use llms.txt for Search or AI Overviews. It's read mainly by AI agents and developer tools.

### How often should I update llms.txt?

Whenever key pages move or launch. Generating it from your sitemap at build time keeps it current automatically.

### How long should llms.txt be?

Short enough to read in one go: tens of links, not thousands. It's an index of what matters. Put full text in `llms-full.txt` or in Markdown versions of each page.

### Should every page have a Markdown version too?

It helps agents: a `.md` URL or `Accept: text/markdown` returns the page's text without the layout. The [AI visibility checker](https://mentioned.sh/tools/agent-ready) tests whether your site offers it.

### Is this llms.txt generator free?

Yes, a few runs a day without an account. The generated file is yours to edit and publish.

### Can an AI agent generate llms.txt for me?

Yes. The page registers a WebMCP tool, `check_llms_txt`, and the [Mentioned MCP server](https://mentioned.sh/docs/mcp) offers the same tool to Claude, ChatGPT, Cursor and other agents.

## More free tools

- [AI visibility checker: Can AI crawlers read and cite your site?](https://mentioned.sh/tools/agent-ready)
- [robots.txt checker: Which AI crawlers may read each page?](https://mentioned.sh/tools/robots-txt)
- [Sitemap checker: Find what breaks your sitemap](https://mentioned.sh/tools/sitemap-checker)
- [Schema checker: Can AI tell who you are from your structured data?](https://mentioned.sh/tools/schema-checker)

## Learn more

- [Get cited by LLMs](https://mentioned.sh/docs/guides/llm)
- [How to rank in Claude](https://mentioned.sh/docs/guides/how-to-rank-in-claude)

Updated 3 December 2026. AI agents can run this tool from the page with WebMCP (`check_llms_txt`) or through the [Mentioned MCP server](https://mentioned.sh/docs/mcp) (`check_llms_txt`).
