# llms.txt

> The llms.txt is a Markdown file at the root of a website that gives language models a concise overview of its content.

## What is llms.txt and how do I create one?

The proposed file placed at '/llms.txt' that lists the most important pages and documentation of a site in a compact Markdown format. Helps AI tools and agents find and read relevant content without parsing complex HTML.

- Topic: APIs & Integrations
- Type: file

## Example

Wrong:

```markdown
User-agent: *
Disallow: /private
See our docs at https://example.com/docs
```

Right:

```markdown
# Example Docs

> Example is a library for building forms.

## Docs

- [Quick start](https://example.com/docs/start.md): install and first form
- [API](https://example.com/docs/api.md): all functions
```

The right file is Markdown with an H1, a summary and link sections, not crawler rules, which belong in `robots.txt`.

## Common mistakes

- Expecting `llms.txt` to block AI crawlers, which is the job of `robots.txt`.

## Key points

- The file is served at '/llms.txt' at the site root as plain Markdown text.
- It starts with an H1 title and a short blockquote summary, followed by sections of links.
- Every link points to an existing page, ideally a clean Markdown or text version.

## Interview questions

### Is llms.txt a web standard?

No, it is a community proposal. Some AI tools and agents read it, but there is no guarantee that a given crawler or assistant uses it.

### What is llms-full.txt?

It is a common companion file that contains the full documentation text in one Markdown file, so tools can load everything without following links.

### llms.txt vs robots.txt vs sitemap.xml?

`robots.txt` sets crawler access rules, `sitemap.xml` lists URLs for search engines, and `llms.txt` gives language models a curated Markdown overview.

## Related cards

- [robots.txt](https://wonderium.dev/web/robots-txt.md)
- [sitemap.xml](https://wonderium.dev/web/sitemap-xml.md)
- [SEO](https://wonderium.dev/web/seo.md)
- [.md](https://wonderium.dev/engineering/md.md)
- [Crawler](https://wonderium.dev/web/crawler.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/llms-txt
- Last updated: 2026-11-25
