Skip to content
AEO for Firms by Dance

Guide · Law firm schema

How Do You Add Schema Markup to a Law Firm Website?

Schema for law firms is code added to your website that restates the facts already on each page, such as your firm name, offices, practice areas and attorneys, in a format search engines read without guessing. It does not replace good pages, but it helps Google (Search and Maps) and AI assistants like ChatGPT, Gemini and Perplexity connect your attorneys, practice areas and locations correctly. This guide covers which types to use, what to mark up on each page, and how to check it.

AEO for Firms · Updated · 10 min read

What law firm schema markup is, in plain words

Law firm schema markup is a short block of code, usually invisible to visitors, that tells search engines exactly what a page is about: this is a law firm, this is its address, this is an attorney who works there, this page describes a practice area. The vocabulary comes from schema.org, a shared dictionary that Google, Bing and others read. Most sites add it as JSON-LD, a tidy block of code in the page's HTML that sits apart from your visible text.

Think of it as a restatement, not a new claim. If your office page says you are at 200 Main Street and open 8:30 to 5, the markup says the same thing in machine-readable form. Search engines can already read your page. Markup removes ambiguity, for example whether "Smith" is your firm, a partner or a client in a case result.

Schema is one part of the technical side of law firm SEO. A thin practice-area page with perfect markup is still a thin page. Fix the content first, then mark it up.

Schema types that fit law firms and attorneys

For most firms, five schema.org types cover nearly everything: LegalService for the firm and each office, Person for each lawyer, Service for practice areas, FAQPage for question-and-answer content, and BreadcrumbList for site structure. Here is how they fit together.

Type, What it describes, Where it goes
TypeWhat it describesWhere it goes
LegalServiceA business that provides legal services. It is a more specific kind of LocalBusiness.Home page (the firm) and each office or location page
LocalBusinessThe broader parent type for any physical business. LegalService inherits all its properties (address, hours, phone).Use LegalService instead; it already counts as a LocalBusiness
AttorneyAn older schema.org business type for a law practice. schema.org now points to LegalService as the more inclusive choice.Usually skip it in favor of LegalService; it does not describe an individual lawyer
PersonAn individual human, here an attorney or paralegal, with job title, education, bar memberships and profiles elsewhere.Each attorney bio page
ServiceA specific offering, such as Chapter 7 bankruptcy filing or DUI defense, linked to the firm that provides it.Each practice-area page
FAQPageA page made of questions and answers written by the site owner.Pages with a genuine FAQ section visible on the page

The same approach works for other professional firms, such as accounting or consulting practices, using ProfessionalService or a more specific type where one exists. The rest of this guide stays with law firms.

Practice-area, attorney bio and office page markup

Each page type gets markup that matches what the page shows. Give the firm one stable ID (an @id, which is a URL used as a name tag) and reference it everywhere, so search engines understand that the office, the attorneys and the practice areas all belong to the same firm.

Office and home page

Google's local business documentation lists name and address as required, with properties such as telephone, url, opening hours and geo coordinates recommended. If you have several offices, give each office page its own LegalService block with that office's address, phone and hours, matching each office's Google Business Profile exactly. Mismatched suite numbers or old phone numbers between your site and your profile are one of the most common local problems, covered further in local SEO for law firms.

Example: office page JSON-LD (illustrative)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "@id": "https://www.examplelawfirm.com/#firm",
  "name": "Example Law Group",
  "url": "https://www.examplelawfirm.com/",
  "telephone": "+1-555-555-0100",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "200 Main Street, Suite 400",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
    "opens": "08:30",
    "closes": "17:00"
  }],
  "areaServed": ["Sangamon County", "Menard County"],
  "sameAs": [
    "https://www.facebook.com/examplelawgroup",
    "https://www.linkedin.com/company/examplelawgroup"
  ]
}
</script>

Attorney bio pages

Mark each lawyer as a Person and include only what the bio visibly states: name, jobTitle, the firm they work for (worksFor pointing to the firm's @id), law school (alumniOf), bar or association memberships (memberOf), the practice areas they focus on (knowsAbout) and sameAs links to their profiles on the state bar directory, LinkedIn or legal directories. Those sameAs links help search engines confirm that the Jane Example on your site is the same Jane Example listed with the state bar.

Practice-area pages

Use a Service block naming the specific service (for example "Chapter 13 bankruptcy" rather than just "bankruptcy"), with provider pointing to the firm's @id and areaServed listing the counties or cities you actually take cases in. Add BreadcrumbList so the page's place in your site (Home, Practice Areas, Chapter 13) is clear.

  • One LegalService block per office, matching that office's Google Business Profile name, address and phone
  • A single firm @id reused across every page
  • Person markup on every attorney bio, with jobTitle and worksFor
  • sameAs links to bar directory and legal directory profiles where they exist
  • Service markup on each practice-area page, naming the specific service
  • areaServed limited to places you actually serve
  • BreadcrumbList on deeper pages
  • Nothing in the markup that a visitor cannot also read on the page

FAQ markup and what Google currently shows

FAQPage markup is still valid and worth adding to genuine FAQ sections, but most law firms should not expect the expandable FAQ dropdowns in Google results they may remember. Google has narrowed FAQ rich results to a small set of well-known authoritative sites, mainly government and health sites. Check Google's current structured data documentation before you count on any visual result.

FAQ markup still helps in two ways. It labels each question and answer clearly for any system reading the page. And it pushes you toward the habit that matters more: writing short, direct answers to the questions clients actually ask, such as "How long do I have to file a personal injury claim in Illinois?" or "Will I lose my house in Chapter 7?"

Weak FAQ entry

Q: Why choose us? A: We are the most aggressive, results-driven firm in the region and always fight for maximum compensation.

Useful FAQ entry

Q: Do I pay anything up front for a car accident case? A: No. We handle injury cases on a contingency fee, which means our fee is a percentage of any recovery. Costs and the percentage are explained in writing before you sign.

Illustrative example written for this page.

The weak entry is marketing copy dressed as a question, and phrases like "most aggressive" can raise problems under attorney advertising rules. Your state's version of ABA Model Rule 7.1 bars false or misleading communications about legal services, and markup counts as a communication too. See attorney advertising rules for your website and confirm specifics with your state bar.

How structured data helps AI tools read your firm

Structured data helps AI assistants get your firm's basic facts right, but it is not a special ticket into AI answers. Google says its AI Overviews and AI Mode rely on the same SEO fundamentals as regular search, and no special markup is required to appear in them. That is the core of AEO (answer engine optimization): making your site easy for answer engines to read, trust and quote.

When someone asks ChatGPT or Gemini "Who is a good DUI lawyer in Springfield who offers free consultations?", the assistant pulls together facts from your site, your Google Business Profile, legal directories and reviews. It recommends firms it can describe with confidence. Clear markup supports that by stating plainly:

  • What you do: specific practice areas, not just "legal services"
  • Where you work: office addresses and the counties or cities you serve
  • Who the lawyers are: names, roles, education and bar profiles that match other sources
  • How to reach you: one consistent phone number and address per office
Example AI assistant answer (illustrative) · illustrative

Example Law Group in Springfield, IL handles DUI and criminal defense cases in Sangamon and Menard counties.

Their site says attorney Jane Example, a former assistant state's attorney, leads the DUI practice.

They list free initial consultations and offer evening appointments by request.

Every fact in that answer has to exist somewhere the assistant can read it, and it helps when the same facts appear consistently across sources. For more on this side, see how to get your law firm recommended by ChatGPT and how law firms show up in Google AI Overviews.

Testing your schema and common mistakes

Test every page you mark up with two free tools: Google's Rich Results Test, which shows whether Google can read the markup and whether it qualifies for any rich result, and the Schema Markup Validator at schema.org, which checks the code against the full vocabulary. After launch, watch Google Search Console for structured data errors.

  1. 1

    Test the live URL

    Paste the page address into the Rich Results Test. Fix anything marked as an error. Warnings about missing optional properties are worth reviewing but not urgent.

  2. 2

    Validate the full vocabulary

    Run the same URL through the Schema Markup Validator to catch misspelled property names or wrong types, such as Attorney used on a person.

  3. 3

    Compare markup to the visible page

    Read the markup next to the page. Every address, hour, title and credential in the code should appear on the page in words a visitor can see.

  4. 4

    Check against your listings

    Confirm the name, address and phone in the markup match your Google Business Profile, Bing Places and Apple Business Connect listings for that office.

  5. 5

    Recheck after changes

    Website redesigns, plugin updates and office moves often break or orphan markup. Retest after any of these.

Mistake, Why it matters, Fix
MistakeWhy it mattersFix
Marking up claims not visible on the pageGoogle's guidelines expect structured data to describe the visible content. Hidden claims can make the page ineligible for rich results or trigger a manual action.Only mark up what the page shows
Adding star ratings for reviews about your own firmGoogle does not show review stars for a business's own reviews of itself on its site, and self-chosen testimonials can raise bar rule issuesLeave aggregateRating off firm pages; let reviews live on Google and directories
Listing every city in the state in areaServedOverstates your reach and can conflict with your listingsList the counties and cities you actually take cases in
Old address or phone in the markupConflicting facts make Google and AI tools less sure which is correctUpdate markup the same day you update your Business Profile
Duplicate firm blocks from a theme plus a pluginTwo different versions of your firm confuse readers of the codeKeep one source of markup and remove the other
Words like "best" or "top-rated" in names or descriptionsCan be misleading under your state's advertising rulesUse your plain legal firm name and factual descriptions

Where to start this week

Start with your office or home page, then attorney bios, then your highest-value practice-area pages. Those three page types carry the facts that matter most for Maps, search results and AI answers. Many law firm website platforms and WordPress plugins can output basic LegalService markup. Check what yours produces with the tools above before you add anything by hand, so you do not end up with duplicates.

Schema is one item on a longer list. The law firm SEO checklist covers the rest. If you would rather not edit code, AEO for Firms can do it for you. Send your website address and email for a free law firm website review. A person reads every review, and you get back a plain-language note on what is holding your site back, including any schema problems, and what to fix first. Any change to your site is made only after you approve it.

Questions

What schema type should a law firm use?

Most law firms should use LegalService for the firm and each office. It is a more specific kind of LocalBusiness, so it carries address, phone and hours. Use Person for individual attorneys and Service for practice areas.

Should I use the Attorney schema type on lawyer bio pages?

No. In schema.org, Attorney is a business type, not an individual, and schema.org points to LegalService as the more inclusive option. Mark each lawyer as a Person with a job title and a link to the firm.

Does schema markup help my firm show up in ChatGPT or Google AI Overviews?

It helps AI tools read your firm's facts correctly, but it does not guarantee a mention. Google says no special markup is needed for AI Overviews or AI Mode, which rely on the same fundamentals as regular search. Clear pages, consistent listings and genuine reviews matter as much as the code.

Will FAQ schema give my law firm dropdowns in Google results?

Probably not. Google now limits FAQ rich results mainly to well-known government and health sites. FAQPage markup is still valid on real FAQ sections and labels your answers clearly, but don't count on a visual change in results.

Can I add review stars to my law firm's website with schema?

Google does not show star ratings for reviews a business collects and displays about itself on its own site. Testimonials can also raise issues under state attorney advertising rules. Let reviews live on Google and legal directories, and check your bar's rules before featuring testimonials.

How do I know if my law firm's schema is working?

Run each page through Google's Rich Results Test and the Schema Markup Validator, then watch Google Search Console for structured data errors. Also check that every fact in the code appears on the page and matches your Google Business Profile.

Sources

Get your free law firm website review

Enter your website and email to get a free, personalized review of what is holding your firm back on Google, Google Maps and AI answers like ChatGPT, and what to fix first.

Free and personalized. Just your website and email, no account needed.