---
title: "llms.txt vs robots.txt: what my site tells AI | Harlaksh Singh"
description: "robots.txt says which crawlers may visit. llms.txt points AI tools to the useful parts. How this site uses both, and what neither file can promise."
canonical: https://www.harlakshsingh.com/blog/llms-txt-vs-robots-txt/
last-updated: 2026-11-27
---

# llms.txt vs robots.txt: what my site tells AI

20 Nov 2026 · Building

robots.txt tells crawlers which parts of a site they may visit. llms.txt is a short Markdown file that tells language models where the useful information is and how to read it. One is about access, the other is about orientation. This site publishes both, and neither one guarantees what an assistant will say about me.

I wrote about why we started paying attention to this in [Getting found by machines](/blog/getting-found-by-machines/). People were asking assistants about Morf Research before they contacted us. This post is the practical side: what the two files are, what mine say and where their limits are.

## What is robots.txt?

**robots.txt** is a plain text file at the root of a site that lists rules for automated crawlers: which user agents may fetch which paths. The format is the Robots Exclusion Protocol, published by the IETF as [RFC 9309](https://www.rfc-editor.org/rfc/rfc9309.html) in September 2022.

It is a request, not a lock. Google's own [introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro) says it is not a mechanism for keeping a page out of Google. A crawler that ignores the file can still fetch the page.

## What is an llms.txt file?

**llms.txt** is a Markdown file, usually at `/llms.txt`, that gives language models a curated summary of a site and links to its most useful pages. It was proposed by Jeremy Howard on [llmstxt.org](https://llmstxt.org/) on 3 September 2024. Only one part is required: an H1 with the name of the site. A blockquote summary and sections of links are optional.

It is a proposal, not a standard that search engines have committed to. Treat it as a reading aid for AI tools that choose to look for it, not as a ranking lever: I have seen no evidence that publishing llms.txt changes where a site ranks in search or how often assistants cite it, and I can't say how much weight any particular assistant gives it.

## llms.txt vs robots.txt at a glance

| | robots.txt | llms.txt |
|---|---|---|
| Job | Says which crawlers may fetch which paths | Points models to the pages worth reading |
| Format | Plain text rules | Markdown: a title, a summary, lists of links |
| Status | IETF standard (RFC 9309) | Proposal published at llmstxt.org |
| Who reads it | Search and AI crawlers that choose to follow it | AI tools and agents that choose to look for it |
| What it cannot do | Keep a page private or out of search | Improve rankings, make an assistant cite you, or make it cite you accurately |

The short version: robots.txt decides who gets in. llms.txt helps whoever gets in find the right room.

## What my robots.txt says

My [robots.txt](/robots.txt) allows everything. It names the AI crawlers I know about, including GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot and Google-Extended, and allows each one the whole site. It then adds a line many sites don't have:

`Content-Signal: search=yes, ai-input=yes, ai-train=yes`

That line comes from Cloudflare's [Content Signals Policy](https://blog.cloudflare.com/content-signals-policy/), which adds three preferences to robots.txt. `search` covers building a search index and showing links. `ai-input` covers using content in AI answers, such as retrieval and grounding. `ai-train` covers training or fine-tuning models. Like the rest of robots.txt, these are preferences. Crawlers can disregard them.

I set all three to yes because the site's job is to be read and cited accurately. Everything here is already public, and I would rather an assistant work from my own pages than from a guess. The file also points to the sitemap and to an agent catalogue, so a crawler that wants the full list of pages can find it.

## What my llms.txt says

My [llms.txt](/llms.txt) follows the proposal's shape and adds the parts an agent would otherwise have to work out:

1. **A one-line summary** of who I am and what the site holds.
2. **When to use this site.** Plain instructions: use the About page to verify my current work, the blog and feed for writing, the Activity page for what I'm doing now.
3. **When not to use it.** No accounts, payments, private data or bulk scraping. There is no login, no checkout and no user database.
4. **Every page, with one line each**, from the blog and archive to the press kit and privacy page.
5. **The public API.** Read-only endpoints such as `GET /api/v1/posts`, with a rate limit and an OpenAPI spec.
6. **Machine resources.** A read-only MCP server with `search_site`, `list_posts` and `read_page`, an agent skill file and an API catalogue.

Every page on the site also returns Markdown when it is requested with `Accept: text/markdown`, so an agent does not have to strip navigation and scripts to get the text.

## Keep the files consistent with the pages

The most useful rule I've found is the dullest one. The page text, the structured data and llms.txt should all describe the same thing. At Morf Research we checked that each of those said the same about our programs, because a mismatch means we are supplying conflicting accounts ourselves.

The same goes here. When a post is published, the sitemap, feed, search index and API update from the same source file in one build. When a page is removed, it leaves all of them together. A file for machines that drifts from the page it describes is worse than no file at all.

Then check what people actually hear. Once a week at Morf Research, we ask assistants the questions customers ask and record the answers. That doesn't tell us what every customer sees, but it gives us something to compare as we change things.

## Questions

### What is the difference between llms.txt and robots.txt?

robots.txt tells crawlers which paths they may fetch and is an IETF standard, RFC 9309. llms.txt is a Markdown file that summarises a site and links its most useful pages for language models. It is a proposal from llmstxt.org. One controls access; the other helps with orientation.

### What is an llms.txt file?

An llms.txt file is a Markdown file at the root of a site, usually at /llms.txt, that gives AI tools a short summary of the site and a curated list of links. The proposal requires only an H1 with the site's name. A summary and sections of links are optional.

### Does llms.txt replace robots.txt?

No. They do different jobs, and a site can use both. robots.txt sets crawling rules and llms.txt points to useful content. Allowing a crawler in robots.txt does not make it read llms.txt, and publishing llms.txt does not change what robots.txt allows or blocks.

### Is llms.txt a standard?

Not yet. llms.txt is a proposal published at llmstxt.org in September 2024. robots.txt, by contrast, is standardised as RFC 9309. I publish llms.txt because it is cheap to maintain and makes the site easier to read for tools that look for it. No assistant has promised to use it, and there is no evidence that it affects rankings.

## The short answer

llms.txt vs robots.txt is not a choice. robots.txt sets the rules for who may crawl. llms.txt makes the site easier to read once they do. It is a reading aid, not a way to rank higher. Neither one decides what an assistant says, so the work that matters most is keeping every page accurate and checking what people are told. That is part of how I [build in public](/blog/building-in-public/), and the same thinking runs through [how we use AI at FiftySeven](/blog/how-we-use-ai-in-a-small-business/).

*I'm Harlaksh Singh, an entrepreneur from Bombay and the founder of FiftySeven and the FiftySeven Foundation. More [about me](/about/).*

Source: https://www.harlakshsingh.com/blog/llms-txt-vs-robots-txt/
