llms.txt and AI-specific files

How is llms.txt different from robots.txt and a sitemap?

The short answer

Robots.txt tells crawlers which parts of a site they may fetch, and a sitemap lists the pages you want search engines to find. llms.txt is a proposed Markdown summary of a site for AI tools; it controls nothing and, unlike the other two, is not a recognized standard that the major search or AI companies document using.

Robots.txt controls access

Robots.txt is a plain text file at the root of your domain that tells crawlers which paths they may and may not fetch. It is long established and was formalized as an internet standard in 2022. Google, Bing, OpenAI, Anthropic and Perplexity all document that their automatic crawlers follow it.

It is the file that decides, for example, whether OAI-SearchBot can read your pages for ChatGPT search, or whether GPTBot can collect them for training. A wrong line here can remove you from AI answers, which is why checking whether robots.txt is blocking AI tools is worth doing.

A sitemap helps search engines find pages

An XML sitemap lists the URLs you want indexed, often with the date each was last changed. Google and Bing both support sitemaps and use them to discover pages and notice updates. A sitemap does not force a page into the index, and it does not block anything. It is a discovery aid.

Because ChatGPT, Copilot and Google's AI features lean on search indexes, a sitemap that helps Google and Bing find your pages indirectly helps AI tools too.

llms.txt is a proposed summary

llms.txt is a Markdown file, also placed at the root of a site, that summarizes the site and lists key pages with short descriptions. It was proposed in 2024 to give language models a compact overview. It has no access rules, no official standard and, at the time of writing, no documented use by the major AI companies for search answers. Google representatives have said Google Search does not use it. More detail is in what an llms.txt file is.

Side by side

  • Purpose: robots.txt controls crawling; a sitemap lists pages for discovery; llms.txt describes the site for AI tools
  • Format: plain text rules; XML; Markdown
  • Status: formal standard; widely supported by search engines; community proposal
  • Effect on AI visibility: can block or allow AI crawlers; helps the search indexes AI tools draw on; no documented effect

If you are prioritizing, get robots.txt right first, keep your sitemap accurate second, and treat llms.txt as optional. Does your website need llms.txt covers when it is worth the time.

Related questions

  • What is an llms.txt file?An llms.txt file is a proposed Markdown file placed at the root of a website that gives AI tools a short summary of the site and links to its most useful pages.
  • How do I tell if my robots.txt is blocking AI tools?Open yoursite.com/robots.txt and look for groups that name AI crawlers such as OAI-SearchBot, GPTBot, PerplexityBot or ClaudeBot, and for a catch-all group covering every user agent with Disallow: /.
  • Does my website need an llms.txt file?Most business websites do not need an llms.txt file, because at the time of writing the major AI tools have not documented using it to choose what to cite or recommend.
  • Which AI crawlers should a business website allow?Most business websites should allow the crawlers that let AI tools find and cite their pages, such as OAI-SearchBot, PerplexityBot, Claude's search agent and Bingbot, and never block Googlebot.

More questions about llms.txt and AI-specific files

Next questionAn agency wants to charge me to set up llms.txt. Is that worth paying for?

Find out whether ChatGPT and other AI tools recommend your business

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your business when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit