Skip to content
AGENCY310Schedule a call

What is an llms.txt file, and does a law firm need one?

An llms.txt file is a proposed Markdown file, placed on your website, that lists your key pages for AI tools to read. A law firm should have one: it costs almost nothing, and the companies that build the AI assistants publish these files on their own documentation sites. As of December 2026 no AI company has said in writing that its assistant reads llms.txt files from other websites, so treat the file as a cheap, sensible step and never as the whole plan.

By Josh Corbelli, Founder and President

What is an llms.txt file?

An llms.txt file is a plain Markdown file that gives AI tools a short guide to a website. The idea comes from a proposal by Jeremy Howard, published at llmstxt.org and dated September 3, 2024, which describes it as a way to provide information that helps agents use a website.

The proposal says the file can sit at the site root or at another path. It has a required heading with the project name, an optional short summary in a blockquote, and sections of links to more detail. The proposal also suggests that pages with useful content offer clean Markdown versions at the same address with a .md ending.

The page presents the file as a proposal, and it does not claim that any AI provider reads these files when answering questions.

Do ChatGPT, Claude, Gemini and Perplexity read llms.txt files?

As of December 2026, we found no primary source in which OpenAI, Anthropic, Google or Perplexity says its assistant reads llms.txt files from other websites when it answers questions. That is an absence of evidence, and it does not prove the files are ignored.

Here is what each source says:

What the companies do is more telling than what they say. On December 1, 2026 we requested the file on a set of their sites. Anthropic serves one for its developer documentation at docs.claude.com/llms.txt. Google’s Firebase serves one at firebase.google.com/llms.txt. Companies do not maintain files that nothing reads.

What does Google say about llms.txt and AI text files?

Google says you do not need special files to appear in its AI features. Its documentation states that you don’t need to create new machine readable files, AI text files, or markup to appear in AI Overviews or AI Mode.

Read that statement narrowly. It covers Google’s AI Overviews and AI Mode only. It says nothing about ChatGPT, Claude or Perplexity, and nothing about Gemini as a standalone assistant. Google also does not follow it everywhere: its own Firebase documentation publishes an llms.txt file. Google’s guidance describes Google Search. It is one input, and it should never be the only one.

Google adds that a page needs to be indexed and eligible to appear in Search with a snippet to be a supporting link, and that there are no additional technical requirements.

Does a law firm need an llms.txt file?

Yes, a law firm should publish an llms.txt file, as long as someone owns it. The file is cheap to produce, the AI companies use the format themselves, and it gives any tool that reads it one accurate summary of who the firm is, what it does and where.

The risk sits on the other side. A stale file that lists old pages or retired practice areas misleads any tool that does read it. Generate the file from the site’s own pages so it changes when the site changes. Agency 310 publishes one on its own site, built that way.

Nobody has published proof that the file earns citations by itself. A firm that adds llms.txt and leaves thin pages and blocked crawlers alone has done the easy part and skipped the work.

Your attorneys should read the file before it goes live. It is a public statement about your firm, and lawyer advertising rules apply to it like any other page.

What should a law firm do alongside llms.txt?

Alongside llms.txt, a law firm should make sure the AI crawlers can reach its pages and that its pages answer client questions in plain language. The first is documented by the AI companies, and both can be checked today.

  1. Check robots.txt. OpenAI says that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers. Perplexity says that to appear in its search results it recommends allowing PerplexityBot. Anthropic says blocking Claude-SearchBot can reduce a site’s visibility in user search results.
  2. Write pages that open with a direct answer. Our guide to answer engine optimization for law firms explains the structure.
  3. Add accurate structured data. See what schema markup a law firm website needs.
  4. Measure what arrives. See how to measure AI referral traffic in GA4.

How would a law firm create an llms.txt file if it wants one?

A law firm creates an llms.txt file by writing a short Markdown document and saving it at the root of its website, so that it loads at yourfirm.com/llms.txt. A file generated from the site’s own pages stays accurate without anyone remembering to update it.

Follow the layout the proposal describes. Start with a heading that holds the firm’s name. Add a one-sentence summary of the practice below it. Then list links to your practice area pages and your attorney pages, each with a short description.

Use only pages that are live and accurate.

If you want help deciding which pages to list, Agency 310 builds and delivers cost-effective AI solutions for law firms, including SEO and AI search work, and it writes and structures pages so they answer the questions people put to AI assistants. Nobody can promise a mention, but you can schedule a call to talk it through.

AGENCYYOUR AGENCY OF RECORD

Start with a call.

Tell us about your firm. We will tell you plainly what we would do and what it would cost.

Schedule a call