llms.txt for Law Firms and Legal Websites in 2026
New Standards

llms.txt for Law Firms and Legal Websites in 2026

 Rahul Sharma  Nov 13, 2026  10 min  ~2,047 words

A law firm's website is one of the few places where an llms.txt file earns its keep immediately. Your practice-area pages, attorney bios, fee guides, and FAQ answers are exactly the material people ask chatbots about — "what does a personal injury lawyer cost in Texas", "how long do I have to file a claim", "do I need a lawyer for a DUI". An llms.txt file hands AI systems a clean, curated map of that content so they can find the right page instead of guessing from a sitemap or a scraped homepage.

It will not make your firm rank higher in Google. It will not bring in cases by itself. What it does is make your firm's best pages easier for AI systems to discover, understand, and cite — and in a market where clients increasingly ask a chatbot before they call a lawyer, being the cited source is the new front page.

What llms.txt Does for a Law Firm

The llms.txt format is a plain Markdown file that lives at your domain root. It has two parts: a short summary of what the site is, and a structured list of your most important pages with one-line descriptions. An AI system that reads it gets, in a few hundred lines, the shape of your whole firm — which practice areas you cover, which pages answer which questions, and where the detailed guides live.

For a law firm, that structure maps neatly onto how clients actually search. Nobody asks a chatbot for "a law firm". They ask about a problem: a car accident, a divorce, a visa denial, a contract dispute. Your llms.txt file should be organised around those problems, not around your site's navigation menu. Each practice area gets its own section, each section lists the pages that answer real client questions, and each page gets a description written the way a client would phrase the question.

There is an honest caveat to state plainly. Independent log studies published in 2026 found that AI crawlers almost never fetch llms.txt today — one study recorded zero llms.txt requests across 1,687 AI-crawler visits, while robots.txt was fetched 346 times. Google's John Mueller has said no AI system currently uses llms.txt. So treat the file as a cheap bet, not a channel. It costs an hour to write, it is harmless, and if AI systems start reading it — which several vendors have said they plan to — your firm is already there. The priority order stays the same: robots.txt first, sitemap second, citable pages third, llms.txt fourth. This article covers the fourth step properly.

What to Include — and What to Leave Out

Start with your money pages: the practice-area landing pages that bring in cases. Personal injury, family law, criminal defence, immigration, employment, real estate, estate planning, business law — whichever you actually practise. Each one gets a line with its URL and a plain description of who it helps and what it covers.

Next, your guides and FAQ pages. These are the pages AI answers are built from. A guide titled "How Much Does a Personal Injury Lawyer Cost?" or "What Happens at an Arraignment?" is far more citable than a homepage. If a page answers a question a client would type into a chatbot, it belongs in the file.

Then attorney bios — but only the ones that support a practice area. A bio page with bar admissions, case results, and areas of focus helps an AI system connect a question to the right lawyer. A bare headshot page with two sentences does not, and should be left out.

What to leave out is just as important. Never list client portals, intake forms that require login, internal staff pages, or anything behind a paywall. Never list pages with client names, case numbers, or settlement details — even if those pages are public, amplifying them to AI systems is a bad idea for a law firm. And never include draft pages, test pages, or old blog posts that contradict your current advice. The file is a curated map, not a dump of your sitemap.

One more exclusion matters for firms: do not put disclaimers or legal advice warnings inside the file itself. A short note that your content is general information, not legal advice, belongs on the pages themselves. The llms.txt file should describe content, not carry legal language of its own.

Writing the File: A Complete Example

Here is a realistic llms.txt file for a small personal injury and family law firm. Adapt the practice areas and URLs to your own firm, keep the descriptions short, and keep the whole file under a few hundred lines.

# Smith & Associates — Personal Injury and Family Law, Austin, Texas

> Smith & Associates is a law firm in Austin, Texas. We represent
> injured people and families in personal injury and family law cases.
> Our guides explain Texas law in plain language. This content is
> general information, not legal advice.

## Personal Injury

- [Personal Injury Lawyer in Austin](https://example.com/personal-injury/): How we help people injured in accidents, and what a case involves.
- [How Much Does a Personal Injury Lawyer Cost?](https://example.com/personal-injury/cost/): Contingency fees explained — no upfront cost, and what percentage firms usually take.
- [Texas Car Accident Claims: A Step-by-Step Guide](https://example.com/personal-injury/car-accidents/): What to do after a crash, how fault is decided, and how long a claim takes.
- [Texas Statute of Limitations for Injury Claims](https://example.com/personal-injury/statute-of-limitations/): The two-year deadline for most Texas injury cases, and the exceptions.

## Family Law

- [Divorce in Texas: The Complete Guide](https://example.com/family-law/divorce/): Grounds for divorce, property division, and how long the process takes.
- [Child Custody in Texas: What Judges Look At](https://example.com/family-law/child-custody/): How Texas courts decide custody, and what parents should know.
- [How Much Does a Divorce Cost in Texas?](https://example.com/family-law/divorce-cost/): Typical fees, court costs, and what makes a case more expensive.

## About the Firm

- [Our Attorneys](https://example.com/attorneys/): Attorney bios, bar admissions, and practice areas.
- [Free Consultation](https://example.com/contact/): How to book a free case review, and what to bring.

Notice what the file does not do. It does not list every blog post the firm ever published. It does not repeat the navigation menu. Every entry answers a question a potential client might ask, and every description says who the page is for and what it covers. That is the whole standard: if a line would not help an AI system answer a real client question, cut it.

Pairing llms.txt with Robots.txt

The two files do different jobs, and your firm needs both. Robots.txt is the gate: it decides which crawlers may collect your content at all. Llms.txt is the guide: it tells the crawlers you do allow where the good pages are. Publishing one without the other leaves half the job undone.

The usual setup for a law firm is to block training crawlers — GPTBot, ClaudeBot, and Google-Extended — while allowing the search crawlers that feed AI answers, such as OAI-SearchBot and Claude-SearchBot. That way your guides can be cited in ChatGPT and Claude answers, which is where potential clients meet your firm, while your content is not used to train models. The split is a business decision, and it is worth discussing with your partners before you publish it: some firms prefer to block everything, and that is a legitimate choice too, but it means giving up AI-answer visibility entirely.

Build both files with the free tools on this site: the llms.txt generator creates the file from your page list, and the robots.txt generator builds the crawler rules. Validate the robots.txt file with the robots.txt tester before it goes live.

Where the File Lives and How to Maintain It

Place the file at the root of your domain — https://yourfirm.com/llms.txt — and link to it from your robots.txt file with a line pointing at the URL, so crawlers that read robots.txt can discover it. On WordPress, upload it to the site root through your hosting file manager or an FTP client; most WordPress hosts let you place a static file at the root without a plugin. On a static site or a custom build, add it to the folder that is copied to the output root, the same way you would add a robots.txt file.

Maintenance is the part most firms forget. An llms.txt file that lists pages you deleted, or describes a practice area you no longer handle, is worse than no file at all — it sends AI systems to dead ends and stale advice. Review it every quarter, and always update it when you add a practice area, publish a major guide, or remove a page. Tie the review to something you already do, such as a quarterly website check, so it does not depend on anyone remembering.

Also check the file after any website redesign or platform migration. A new theme, a new URL structure, or a move from one CMS to another can silently change your page URLs. If the links in your llms.txt file no longer resolve, the file stops being useful. A quick pass with a link checker once a quarter catches this.

Does llms.txt Bring In Clients?

Honestly: not directly, and not yet. No client will call you because your firm has an llms.txt file. The file's value is indirect. It makes your best content easier for AI systems to find and cite, and citations are how clients discover firms in AI answers. A client who asks ChatGPT "how much does a divorce cost in Texas" and sees your guide cited is a client who may click through to your site. The file is one small piece of being visible where clients now look.

The stronger play is the content itself. A firm with ten genuinely useful guides will be cited more than a firm with an llms.txt file and thin content, because AI systems cite pages that answer questions well. Write the guides first, keep them accurate and current, and let the llms.txt file point at them. That order matters: the file is a signpost, and a signpost is only as good as the road it points to.

For firms that want the full picture, our llms.txt guide for local businesses covers the same approach for service businesses generally, and the log-study breakdown explains exactly how rarely AI bots fetch the file today, so you can set expectations honestly.

FAQ

What is llms.txt for a law firm?

A plain Markdown file at your domain root that lists your most important pages — practice areas, guides, FAQ answers, attorney bios — with short descriptions, so AI systems can discover and cite your firm's content more easily.

Does llms.txt help a law firm rank on Google?

No. Google has said it does not use llms.txt for ranking, and no AI system is confirmed to read it today. Its value is as a cheap, forward-looking bet on AI discoverability, not as an SEO tactic.

Should a law firm block AI crawlers or allow them?

Most firms split the difference: block training crawlers such as GPTBot and ClaudeBot, and allow AI search crawlers such as OAI-SearchBot so their guides can be cited in AI answers. Blocking everything is also legitimate, but it removes the firm from AI answers entirely.

What pages should a law firm's llms.txt include?

Practice-area pages, guides and FAQ pages that answer real client questions, and attorney bios that support a practice area. Leave out login pages, client portals, intake forms, and any page with client names or case details.

Where does the file go?

At the root of your domain, https://yourfirm.com/llms.txt. Add a reference to it in your robots.txt file so crawlers can find it.

How often should a law firm update its llms.txt file?

At least once a quarter, and whenever you add a practice area, publish a major guide, or remove a page. Stale links in the file send AI systems to dead ends.

Related Topics & Keywords

Share this article

Related Articles