Skip to content
PointClick
AI search

How to Create an llms.txt File for Your Law Firm

By Nick Beske · July 7, 2026 · 11 min read

People are changing how they search.

Some potential clients still go straight to Google. Others ask tools like ChatGPT, Perplexity, Gemini, Claude, or other artificial intelligence tools for help understanding their options.

That raises a new question for law firms:

Can artificial intelligence tools clearly understand who you are, what you do, where you serve clients, and which pages on your website matter most?

That is where an llms.txt file comes in.

It will not magically make your law firm show up in every artificial intelligence answer. No one should promise that. But it can give artificial intelligence systems a cleaner, more organized way to understand the most important information on your website.

Let’s break down what it is, why it matters, and how to create one.

What Is an llms.txt File?

An llms.txt file is a simple text file that sits at the root of your website.

For example:

https://yourlawfirm.com/llms.txt

It is written in Markdown, which is a plain-text formatting style that is easy for both people and machines to read.

The idea behind llms.txt is simple: give large language models a clear, curated guide to your website’s most important content. The original proposal describes it as a way to help language models use website information more effectively at inference time.

Think of it like a short guide that says:

“Here is what this law firm does, here are the most important pages, and here is the information artificial intelligence tools should understand first.”

Is llms.txt the Same as robots.txt?

No.

A robots.txt file tells crawlers what they are allowed or not allowed to crawl.

An llms.txt file is different. It is more like a curated map. It does not block access, control permissions, or replace your robots.txt file. It points artificial intelligence systems toward the pages and information you consider most useful. GitBook describes llms.txt as an emerging convention that does not replace robots.txt and instead points models toward canonical, high-signal resources.

So, put simply:

robots.txt = “Here is what bots can or cannot access.”

llms.txt = “Here is what artificial intelligence tools should understand about us first.”

Why Should Law Firms Care?

Law firm websites can be difficult for artificial intelligence tools to interpret.

A typical site may include:

  • Practice area pages
  • Attorney bios
  • Office location pages
  • Blog posts
  • FAQs
  • Case results
  • Testimonials
  • Disclaimers
  • Intake pages
  • Old or outdated content

Without a clear guide, artificial intelligence tools may have to guess which pages matter most.

An llms.txt file helps reduce that confusion by giving them a cleaner summary of your firm and a prioritized list of important pages.

For law firms, that can help reinforce:

  • What practice areas you handle
  • Where you serve clients
  • Who your attorneys are
  • Which pages are the best sources of information
  • Which disclaimers or legal notices should be considered
  • Which content should not be overemphasized

Again, this is not a guarantee of visibility. It is simply a practical way to make your site easier for artificial intelligence systems to understand.

What Should a Law Firm Put in an llms.txt File?

A good law firm llms.txt file should be short, clear, and selective.

Do not use it to list every page on your website. That is what a sitemap is for. Use it to highlight the pages that best explain your firm.

1. Firm Name

Start with your law firm name as the main heading.

Example:

# Smith & Jones Personal Injury Law

2. Short Firm Summary

Add a brief summary of who you are, what you do, and where you serve clients.

Example:

> Smith & Jones Personal Injury Law represents injury victims in Orange County, California. The firm handles car accidents, truck accidents, pedestrian accidents, wrongful death claims, and other personal injury matters.

Keep this factual. Avoid hype like “the best,” “top-rated,” or “guaranteed results” unless you have reviewed the language for compliance with your state bar rules.

ABA Model Rule 7.1 says lawyers should not make false or misleading communications about their services, including statements that contain material misrepresentations or leave out facts needed to avoid being misleading.

3. Primary Practice Area Pages

List your most important practice area pages.

For each page, include:

  • Page title
  • URL
  • Short description

Example:

- [Car Accident Lawyer](https://yourlawfirm.com/car-accident-lawyer/) — Information for people injured in car accidents, including common causes, insurance issues, and how the firm helps clients pursue compensation.

4. Location Pages

If your firm serves specific cities, counties, or regions, include your most important location pages.

Example:

- [Irvine Personal Injury Lawyer](https://yourlawfirm.com/irvine-personal-injury-lawyer/) — Information for injury victims in Irvine, California, including local service details and relevant personal injury practice areas.

This is especially helpful for local visibility because law firm searches are often tied to geography.

5. Attorney Bio Pages

Attorney bios help artificial intelligence systems understand the people behind the firm.

Include pages for attorneys who are central to the firm’s authority and client experience.

Example:

- [Attorney Jane Smith](https://yourlawfirm.com/jane-smith/) — Bio for founding attorney Jane Smith, including education, bar admissions, practice focus, and professional background.

6. Frequently Asked Questions

If you have strong FAQ pages, include them.

Example:

- [Personal Injury FAQ](https://yourlawfirm.com/personal-injury-faq/) — Answers to common questions about personal injury claims, deadlines, fees, settlements, and what to expect after an accident.

FAQs are useful because artificial intelligence tools often respond to question-based searches.

7. Contact and Consultation Pages

Include your contact page or consultation page so the firm’s preferred next step is clear.

Example:

- [Contact Smith & Jones](https://yourlawfirm.com/contact/) — Contact page for scheduling a consultation with the firm.

Law firm websites often need disclaimers about attorney-client relationships, prior results, testimonials, legal information, and jurisdiction.

Include your disclaimer page if you have one.

Example:

- [Legal Disclaimer](https://yourlawfirm.com/disclaimer/) — Important disclaimers about attorney-client relationships, legal information, advertising, case results, and jurisdiction.

This matters because artificial intelligence tools may summarize your content without the surrounding context. Your disclaimers help provide that context.

What Not to Put in an llms.txt File

An llms.txt file should not include anything confidential, privileged, misleading, or outdated.

Avoid adding:

  • Private client information
  • Internal firm documents
  • Confidential case details
  • Unreviewed case results
  • Misleading claims
  • Guarantees about outcomes
  • Old practice areas you no longer handle
  • Locations you do not actually serve
  • Attorney credentials that are outdated
  • Testimonials without required disclaimers

Be especially careful with case results and testimonials. Rules vary by state, and some jurisdictions require specific disclaimers or limit how results can be presented. The ABA allows lawyers to communicate information about services through media, but lawyer advertising still has to comply with the rules that apply in the lawyer’s jurisdiction.

Basic llms.txt Format for a Law Firm

Here is a simple structure you can use.

# [Law Firm Name]

> [Short summary of the firm, practice areas, and service area.]

[Optional paragraph with more context about the firm.]

## Primary Practice Areas

- [Practice Area Page Title](https://yourlawfirm.com/practice-area/) — Short description of the page.

- [Practice Area Page Title](https://yourlawfirm.com/practice-area/) — Short description of the page.

## Locations Served

- [City Practice Page](https://yourlawfirm.com/city-practice-area/) — Short description of the location page.

- [County Practice Page](https://yourlawfirm.com/county-practice-area/) — Short description of the location page.

## Attorneys

- [Attorney Name](https://yourlawfirm.com/attorney-name/) — Short bio summary.

- [Attorney Name](https://yourlawfirm.com/attorney-name/) — Short bio summary.

## Helpful Resources

- [FAQ Page](https://yourlawfirm.com/faq/) — Short description of the FAQ.

- [Blog or Guide](https://yourlawfirm.com/guide/) — Short description of the resource.

## Contact

- [Contact](https://yourlawfirm.com/contact/) — Information about how to contact the firm or request a consultation.

## Legal Notices

- [Disclaimer](https://yourlawfirm.com/disclaimer/) — Legal disclaimers related to website use, attorney advertising, and attorney-client relationships.

Example llms.txt File for a Personal Injury Law Firm

Here is what a finished version might look like.

# Smith & Jones Personal Injury Law

> Smith & Jones Personal Injury Law represents injury victims in Orange County, California. The firm handles car accidents, truck accidents, motorcycle accidents, pedestrian accidents, wrongful death claims, and other personal injury matters.

Smith & Jones provides legal information for people who have been injured and are looking for guidance about their rights, insurance claims, and the legal process. The website is intended for general informational purposes and does not create an attorney-client relationship.

## Primary Practice Areas

- [Car Accident Lawyer](https://smithjoneslaw.com/car-accident-lawyer/) — Information for people injured in car accidents, including common causes, insurance issues, and how the firm helps clients pursue compensation.

- [Truck Accident Lawyer](https://smithjoneslaw.com/truck-accident-lawyer/) — Information about truck accident claims, commercial vehicle crashes, liability issues, and injury claims.

- [Motorcycle Accident Lawyer](https://smithjoneslaw.com/motorcycle-accident-lawyer/) — Information for injured motorcycle riders and families after a motorcycle crash.

- [Wrongful Death Lawyer](https://smithjoneslaw.com/wrongful-death-lawyer/) — Information for families considering a wrongful death claim after losing a loved one.

## Locations Served

- [Irvine Personal Injury Lawyer](https://smithjoneslaw.com/irvine-personal-injury-lawyer/) — Information for injury victims in Irvine, California.

- [Santa Ana Personal Injury Lawyer](https://smithjoneslaw.com/santa-ana-personal-injury-lawyer/) — Information for injury victims in Santa Ana, California.

- [Anaheim Personal Injury Lawyer](https://smithjoneslaw.com/anaheim-personal-injury-lawyer/) — Information for injury victims in Anaheim, California.

## Attorneys

- [Jane Smith](https://smithjoneslaw.com/jane-smith/) — Bio for founding attorney Jane Smith, including education, bar admissions, practice focus, and professional background.

- [Robert Jones](https://smithjoneslaw.com/robert-jones/) — Bio for attorney Robert Jones, including litigation experience, practice focus, and professional background.

## Helpful Resources

- [Personal Injury FAQ](https://smithjoneslaw.com/personal-injury-faq/) — Answers to common questions about personal injury claims, deadlines, settlements, fees, and what to expect.

- [What to Do After a Car Accident](https://smithjoneslaw.com/what-to-do-after-car-accident/) — Step-by-step information for people involved in a car accident.

## Contact

- [Contact Smith & Jones](https://smithjoneslaw.com/contact/) — Contact page for requesting a consultation with the firm.

## Legal Notices

- [Disclaimer](https://smithjoneslaw.com/disclaimer/) — Legal disclaimers about website use, legal information, attorney advertising, prior results, and attorney-client relationships.

- [Privacy Policy](https://smithjoneslaw.com/privacy-policy/) — Information about how the website collects and uses visitor information.

How to Create an llms.txt File

Creating the file is fairly simple.

Step 1: Choose the Pages That Matter Most

Start with your best, most accurate pages.

For most law firms, that means:

  • Homepage
  • Main practice area pages
  • Main location pages
  • Attorney bios
  • FAQ pages
  • Contact page
  • Disclaimer page

You do not need to include every blog post.

Step 2: Write a Clear Firm Summary

Use simple, clear language.

A good summary should answer:

  • Who is the firm?
  • What does the firm do?
  • Who does the firm help?
  • Where does the firm serve clients?

Example:

Brown Legal Group is a family law firm in San Diego, California. The firm helps clients with divorce, child custody, child support, spousal support, and related family law matters.

Each link should include a short description.

Keep descriptions factual and helpful.

Instead of:

- [Car Accidents](https://example.com/car-accidents/) — Best car accident lawyers in California.

Use:

- [Car Accident Lawyer](https://example.com/car-accidents/) — Information for people injured in car accidents, including insurance claims, liability, and how the firm helps clients navigate the legal process.

Step 4: Save the File as llms.txt

The file name should be:

llms.txt

Use all lowercase letters.

Step 5: Upload It to the Root of Your Website

The file should be available here:

https://yourlawfirm.com/llms.txt

Not here:

https://yourlawfirm.com/blog/llms.txt

Not here:

https://yourlawfirm.com/wp-content/uploads/llms.txt

The most common recommendation is to place it at the root of the domain so it can be found easily. Chrome’s Lighthouse documentation describes llms.txt as an emerging convention for providing a machine-readable summary of a website’s content.

Step 6: Test the URL

Open a browser and visit:

https://yourlawfirm.com/llms.txt

You should see the plain text file load.

If you see a 404 page, redirect, login screen, or broken file, it needs to be fixed.

Step 7: Review It Regularly

Update your llms.txt file when:

  • You add a new practice area
  • You remove a service
  • You open or close a location
  • Attorneys join or leave the firm
  • You update your disclaimer
  • You change your consultation process
  • You publish a major new guide or FAQ

A stale llms.txt file can create confusion, especially if it points to outdated or removed pages.

Should Every Law Firm Have an llms.txt File?

Not necessarily.

If your website is tiny, outdated, or has very little useful content, an llms.txt file will not fix the bigger issue.

Before creating one, make sure your core website content is solid:

  • Clear homepage
  • Strong practice area pages
  • Accurate location information
  • Updated attorney bios
  • Helpful FAQs
  • Clear contact path
  • Proper disclaimers

The llms.txt file is not a replacement for good website content. It is a guide to help artificial intelligence tools understand that content more clearly.

Best Practices for Law Firms

Here are a few simple rules to follow.

Keep It Short

Your llms.txt file should be curated, not bloated.

For many small law firms, 10 to 30 links may be enough.

Use Simple Language

Avoid legal jargon and marketing fluff.

Artificial intelligence tools do not need clever slogans. They need clear context.

Be Accurate

Do not list practice areas you do not handle or cities you do not actually serve.

Include Disclaimers

If your site includes legal disclaimers, link to them.

This is especially important for law firm websites because legal marketing rules vary by jurisdiction.

Do Not Make Guarantees

Avoid language that suggests a guaranteed legal outcome.

Use careful, factual descriptions instead.

Review State Bar Rules

Your llms.txt file is still part of your website ecosystem. Treat it like marketing content and review it through the same compliance lens as your website pages.

Quick llms.txt Checklist for Law Firms

Before publishing your file, make sure:

  • The file is named llms.txt
  • It is uploaded to the root of your domain
  • It includes your firm name
  • It includes a short firm summary
  • It lists your main practice area pages
  • It lists your most important location pages
  • It includes key attorney bios
  • It includes useful FAQ or resource pages
  • It links to your contact page
  • It links to your disclaimer and privacy policy
  • All links work
  • All descriptions are accurate
  • No confidential information is included
  • No misleading claims are included
  • The file is reviewed when your website changes

Final Thoughts

An llms.txt file is a small technical step, but it supports a much bigger goal: helping search engines, artificial intelligence tools, and potential clients better understand your law firm.

It will not replace Search Engine Optimization (SEO). It will not replace strong website content. And it will not guarantee artificial intelligence visibility.

But it can make your site easier to interpret.

For law firms, that matters.

The clearer your website is, the easier it is for people and technology to understand what you do, who you help, and why your firm may be the right fit.

See what ChatGPT says about your firm

Free report by email within 2 business days. No sales call.

Get my free AI Visibility Check

Or call (949) 459-3708.

Call (949) 459-3708Free AI check