The short answer
ChatGPT names a law firm when its web search finds clear, matching facts about that firm in sources it can read. No setting, file or payment makes it happen. Five steps help: let OpenAI's search crawler in, make your firm listing match everywhere, publish narrow pages that answer one question, get named by outside sources, and measure the result as a rate over many runs.
No one can pay ChatGPT to recommend a law firm, and no special file forces it. ChatGPT names firms it can find and trust in the pages it reads. This guide gives five steps that raise your odds, shows how each major assistant finds sources, and explains how to check your progress honestly.
This page is the how-to. For the wider picture, see AI search for law firms, and for what we do about it, see our AI search service.
How does ChatGPT decide which law firms to name?
When ChatGPT searches the web, it reads pages and listings, then writes an answer that may name firms. It can draw on your site, your Google Business Profile, directories, reviews and news. OpenAI’s own crawler page puts the search job simply: “OAI-SearchBot is for search.” So the work is to make clear, matching facts easy to find. Nobody can buy a place in the answer. ChatGPT ads are separate: OpenAI says they are labeled as ads and shown apart from the answer (see ChatGPT ads for law firms).
What are the five steps?
- Let the search crawler in. OpenAI says it recommends allowing OAI-SearchBot in your robots.txt file, the file that tells crawlers what they may visit.
- Make your firm’s facts match everywhere. Use the same name, office city, phone number, hours, languages and practice areas on your site, your Google profile, your bar listing and every directory.
- Publish narrow pages that answer one question. One page per practice area and town, with the answer first, a date, and the lawyer responsible for it.
- Get named by sources assistants read. Local news, chamber and bar listings, legal directories and honest client reviews. Earn them. Never buy them or write them yourself.
- Measure it as a rate. Ask the same questions many times, in several assistants, and track how often your firm is named.
How do the main assistants find sources?
| Assistant | How it finds pages | What you can do |
|---|---|---|
| ChatGPT | Searches the web with OpenAI’s search crawler, OAI-SearchBot. | Allow OAI-SearchBot in robots.txt. |
| Google AI Overviews and AI Mode | Draw on Google’s own index. The page has to be indexed and eligible to show in Google Search. | Keep pages indexable. No special markup is needed. |
| Perplexity | Uses PerplexityBot to find and link sites. | Allow PerplexityBot in robots.txt. |
For Google’s AI features, Google says a page must be indexed and eligible to be shown in Google Search with a snippet. Perplexity says PerplexityBot is designed to surface and link websites in search results on Perplexity. It adds that it is not used to crawl content for AI foundation models.
OpenAI lists a second crawler, GPTBot, and says it is used to crawl content that may be used in training its generative AI foundation models. Whether to allow GPTBot is a separate decision for your firm. Ask your web team to set each crawler on purpose. OpenAI also says a robots.txt change can take about 24 hours to be picked up, so check again a day later.
How should your firm listing and website agree?
Start with the name. Google’s Business Profile guidelines say the name should reflect your business’s real-world name, as used consistently on your storefront, website, stationery. They add that including unnecessary information in your business name isn’t permitted. So no keywords, taglines or cities in the name field.
Then match the address, phone number, intake hours, languages and practice areas on your site, your Google profile, your bar listing and every directory. An assistant that finds three versions of your firm may name none of them. Fix the mismatches before you write a single new page. Our Google Business Profile guide for lawyers shows how.
What kind of page gets cited?
A page that answers one question, in plain words, near the top. It names the place and the practice area, says when it was last reviewed, and points to its source. Add the lawyer or role responsible for the page, and link to the primary rule or data it relies on.
For an example of a local page built around public data, see Bakersfield and Kern County. For the wider SEO basics behind it, read our law firm SEO guide and the local SEO guide.
What does not work?
- Special files. Google says “There are no additional requirements to appear in AI Overviews or AI Mode, nor other special optimizations necessary.” We know of no statement from OpenAI or Google that a special file changes who gets named.
- Hidden text or instructions aimed at assistants. It is deceptive, and it is the kind of tactic our standards rule out.
- Fake reviews, paid listicles and self-ranked “top firm” lists. They fail on trust and put your license at risk.
- One screenshot. A single answer proves nothing, since answers change from run to run.
How do you measure whether it is working?
Write ten to twenty questions a real client would ask, such as “who handles workplace injuries near me?” Run each one in ChatGPT, Gemini, Perplexity and Copilot on several different days. Record whether your firm was named, whether a page of yours was cited, and anything wrong the answer said about you. The share of runs where you are named is your rate.
Also look in your analytics for visits from sites like chatgpt.com and perplexity.ai, and add “an AI assistant” as an answer to “How did you hear about us?” on forms and calls. Our AI mention rate standard defines the rate.
What can your ads and website say about AI recommendations?
Treat any line about AI as advertising. A claim like “recommended by ChatGPT” is a statement about your firm that your state’s lawyer advertising rules can reach. Have your counsel approve it, and never imply a result. Our lawyer advertising rules guide is a starting point.
What this means for your firm
- Fix the facts first. Make your name, address, phone, hours and languages match everywhere before you publish anything new.
- Open the door. Ask your web team to allow OAI-SearchBot and the other search crawlers you want, and check the file a day later.
- Measure before you spend. Run the same questions many times and keep the rate, so you can tell a real change from luck.
Get my free AI check and we will run the questions for your firm. Or get my free review to look at your Google profile, ads and AI answers together.
Free tool: the AI answer prompt pack builds twenty prompts for your practice and city.
Marketing information, not legal advice. We cannot promise that any assistant will name your firm. Last reviewed by our search lead.
Questions about this guide
Can a law firm pay to be recommended by ChatGPT?
No. There is no paid placement in ChatGPT answers. ChatGPT ads are separate and labeled, shown apart from the answer. Firms are named when the assistant finds clear, matching facts about them in sources it can read.
Does an llms.txt file help a law firm get named?
We know of no statement from OpenAI or Google that such a file changes who gets named. Google says no special optimization is needed for its AI answers.
How long until ChatGPT names our firm?
No one can promise a date or a result. Crawler access can change within about a day, but being named depends on what the assistant finds and how it weighs it.
Does ChatGPT show the same firms to everyone?
No. Answers change with the question, the place and the run. That is why measurement uses a rate across many runs instead of one screenshot.
Sources
- OpenAI: crawlers and user agents (OAI-SearchBot, GPTBot)Accessed October 26, 2026
- Google Search Central: AI features and your websiteAccessed October 26, 2026
- Perplexity: PerplexityBot and Perplexity-UserAccessed October 26, 2026
- Google Business Profile Help: guidelines for representing your businessAccessed October 26, 2026