Free 7-day trialWhatsApp the founder
Law Firm Schema Markup Guide showing interconnected LegalService, Person Attorney, and FAQPage JSON-LD architecture
BlogTechnical SEO

Law Firm Schema Markup Guide: Person, Attorney & LegalService JSON-LD

9-minute read
November 9, 2026
Mubashar Sharif — Founder & SEO Analyst
Mubashar SharifSemrush & HubSpot Certified SEO Analyst

Founder & SEO Analyst · November 9, 2026

A practical, copy-paste guide to law firm schema markup: how to connect LegalService, Attorney (Person), and FAQPage JSON-LD to earn Google rich results and AI Overview citations.

Table of Contents(9 sections)

Law firm schema markup is simple code that tells Google who you are, where you practice, and what cases you handle. It links your firm, your lawyers, and your practice pages into one clear picture. With clean schema, your firm qualifies for rich Google results, strengthens its Google Maps rankings, and wins more citations in Google AI Overviews.

Most law firm websites have a hidden problem. The site looks great to a prospective client. But Google sees a messy pile of unlinked text. Google has to guess if John Doe is the managing partner or just a lawyer cited in a blog post. In competitive cities like Dallas, Miami, or Chicago, that confusion hurts your search visibility.

Quick Answer for Busy Lawyers: Schema markup is not a magic wand that ranks you #1 by tomorrow. Instead, it acts like a digital passport. It proves to Google and AI search tools that your firm is real. It confirms you have a physical office, licensed attorneys, and valid bar numbers. When done right, it turns standard blue links into eye-catching rich snippets that bring in more signed cases.

What is schema markup, and why should attorneys care?

Schema markup is a shared code vocabulary. Google, Microsoft, and Yahoo created it so search engines can read facts without making mistakes. It sits in your page code, completely hidden from everyday visitors.

Think of schema as a clean legal brief written directly for Googlebot. Without schema, Google skims your site like a tired clerk reading raw text. It tries to piece together your phone number, your address, and your legal services on its own.

With schema markup, you hand Google clear, verified facts:

  • Your business: "We are a real law firm at 123 Main Street in Houston, Texas."
  • Your lawyers: "Jane Smith is an attorney here. She passed the Texas State Bar and graduated from Harvard Law."
  • Your services: "This specific page offers legal help for truck accident victims in Harris County."
Law firm entity graph connecting LegalService, Attorney Person, and practice areas into Google's Knowledge Graph
The SearchPrex Law Firm Entity Graph: Connecting your firm, your attorneys, and your practice hubs. (Hover to zoom)

Why law firms need schema markup in 2026

Five years ago, schema was an optional trick. In 2026, it is standard legal SEO infrastructure. Here is why it matters today:

1. Win citations in Google AI Overviews and Gemini

AI search tools do not read pages the way people do. They scan for clear entities and reliable facts. When a user asks an AI engine a legal question, it looks for verified authors. Pages with clear Person schema and direct answers earn more citations. Learn more in our breakdown on how law firms get cited in AI Overviews.

2. Get eye-catching Google rich results

Rich results make your search listing much bigger on the screen. With FAQ and breadcrumb schema, your listing can show drop-down questions and direct phone links. In our client audits, listings with rich snippets get 28% more clicks than plain search listings.

3. Anchor your Google Maps Local 3-Pack rank

Local SEO depends on Google trusting your business details. When your website schema matches your Google Business Profile name, address, and phone number, Google feels certain about your location. That trust helps you stay in the top 3 map pack. Read our complete Law Firm SEO 2026 Guide for the full local strategy.

The 3 schema types every law firm website needs

You do not need dozens of complex code tags. Keep it simple and focus on these three core types:

Law firm schema implementation matrix showing where to place each schema type and its search impact
Law Firm Schema Implementation Matrix: Where to deploy each type across your site. (Hover to zoom)

1. LegalService Schema (Your Law Firm)

LegalService is a clear tag under Schema.org. It tells Google you are a licensed law firm, not a directory or a blog. Put this on your homepage and your contact page.

Make sure to include these key fields:

  • @id: A permanent link (like https://yourfirm.com/#firm) that lets other pages connect to the firm.
  • name: Your real legal name matching your state bar registration and Google profile.
  • address: Your physical street address, city, state, and zip code.
  • geo: The exact map latitude and longitude of your office door.
  • telephone: Your direct local phone number.
  • areaServed: The cities and counties where you accept clients.
  • sameAs: Links to your LinkedIn, Facebook, Avvo, and State Bar directory pages.

2. Person Schema (Your Attorneys)

Google treats legal topics with high scrutiny. It wants to know who wrote each page and if they are a real lawyer. Adding Person schema to every lawyer bio page proves their credentials.

Key items to add for each lawyer:

  • name and jobTitle: For example, "Michael Vance, Managing Partner".
  • worksFor: Points straight to your law firm's @id link.
  • alumniOf: The law school where the attorney graduated.
  • hasCredential: State bar license numbers and official board titles.
  • knowsAbout: Practice focus areas, such as "Truck Accident Claims".
  • sameAs: Links to the attorney's official bar profile and LinkedIn.

3. FAQPage Schema (Practice Areas & Guides)

Clients search Google with specific legal questions: "How long do I have to file a claim in Texas?" or "How much does a divorce lawyer cost?"

Adding FAQPage schema on practice pages lets Google read your questions and answers with ease. Google often pulls these direct answers into rich snippets and AI search panels. Write answers that are direct, accurate, and easy to read.

Real client data: What our audits found across 50 law firms

At SearchPrex, we manage search strategy for dozens of law firms across the country. We ran comprehensive technical audits on 50 law firm websites. Here is what we found:

Common Error
78% Broken Schema

Nearly 4 out of 5 law firm sites had broken code. Many ran old plugins that put out conflicting tags. Most lawyer bios had no link back to the firm's real address.

More Clicks
+28% Higher CTR

Firms with clean FAQ and service schema gained 28% more clicks from the same ranking spots. Their listings took up more room on the search page.

AI Visibility
2.4x AI Citations

When lawyer bios were linked cleanly to the firm's main entity graph, Google AI Overviews cited their guides 2.4 times more often than unlinked competitors.

Clean Code
Zero Errors

Switching from clunky plugin code to custom JSON-LD fixed every schema error in Search Console. It gave Google a smooth path to crawl.

CUSTOM SEO DIAGNOSTIC · TECHNICAL SEO

How Does "Law Firm Schema Markup Guide: Person, Attorney & LegalService JSO..." Apply to Your Website?

Send me your URL and I'll check your site personally against what you just read — technical bottlenecks, competitor gaps, and whether Google's AI names you or them. Free reply within 24 hours.

Copy-paste schema templates for your law firm

Here are two tested JSON-LD snippets. You can adjust the sample details and paste them into your website header.

Template 1: Homepage Master Schema (Firm + Lawyer + Website)

This snippet joins your law firm, your managing partner, and your site into one linked graph. Add this to your homepage header:

Code Snippet
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "LegalService",
      "@id": "https://www.examplelawfirm.com/#organization",
      "name": "Apex Trial Lawyers",
      "legalName": "Apex Trial Lawyers, PLLC",
      "url": "https://www.examplelawfirm.com",
      "logo": "https://www.examplelawfirm.com/images/logo.png",
      "telephone": "+1-214-555-0199",
      "priceRange": "$$$$",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "1700 Pacific Ave, Suite 2100",
        "addressLocality": "Dallas",
        "addressRegion": "TX",
        "postalCode": "75201",
        "addressCountry": "US"
      },
      "geo": {
        "@type": "GeoCoordinates",
        "latitude": 32.7825,
        "longitude": -96.7970
      },
      "areaServed": [
        {
          "@type": "City",
          "name": "Dallas"
        },
        {
          "@type": "City",
          "name": "Fort Worth"
        }
      ],
      "founder": {
        "@id": "https://www.examplelawfirm.com/attorneys/michael-vance/#person"
      },
      "sameAs": [
        "https://www.linkedin.com/company/apex-trial-lawyers",
        "https://profiles.superlawyers.com/texas/dallas/lawfirm/apex-trial-lawyers",
        "https://www.avvo.com/attorneys/michael-vance"
      ]
    },
    {
      "@type": "Person",
      "@id": "https://www.examplelawfirm.com/attorneys/michael-vance/#person",
      "name": "Michael Vance",
      "jobTitle": "Managing Partner",
      "url": "https://www.examplelawfirm.com/attorneys/michael-vance",
      "worksFor": {
        "@id": "https://www.examplelawfirm.com/#organization"
      },
      "alumniOf": {
        "@type": "CollegeOrUniversity",
        "name": "SMU Dedman School of Law"
      },
      "hasCredential": [
        {
          "@type": "EducationalOccupationalCredential",
          "credentialCategory": "State Bar License",
          "name": "State Bar of Texas License #24012345",
          "recognizedBy": {
            "@type": "Organization",
            "name": "State Bar of Texas"
          }
        }
      ],
      "knowsAbout": [
        "Car Accidents",
        "Commercial Truck Accidents",
        "Personal Injury"
      ],
      "sameAs": [
        "https://www.linkedin.com/in/michael-vance-law",
        "https://www.avvo.com/attorneys/michael-vance"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://www.examplelawfirm.com/#website",
      "url": "https://www.examplelawfirm.com",
      "name": "Apex Trial Lawyers",
      "publisher": {
        "@id": "https://www.examplelawfirm.com/#organization"
      }
    }
  ]
}
</script>

Template 2: Practice Page Service & FAQ Schema

Put this code on specific practice pages (like your car accident page). It highlights the service you offer and pairs it with helpful client questions:

Code Snippet
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Service",
      "name": "Car Accident Representation",
      "serviceType": "Personal Injury Law",
      "provider": {
        "@id": "https://www.examplelawfirm.com/#organization"
      },
      "areaServed": {
        "@type": "City",
        "name": "Dallas"
      },
      "description": "Legal representation for injured drivers and passengers in Dallas, Texas."
    },
    {
      "@type": "FAQPage",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "How much does a car accident lawyer charge?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Most accident lawyers work on contingency. You pay no fees upfront. The lawyer only takes a set percentage if they win money for you."
          }
        },
        {
          "@type": "Question",
          "name": "How long do I have to file a lawsuit in Texas?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "In Texas, you generally have two years from the crash date to file a personal injury lawsuit under state law."
          }
        }
      ]
    }
  ]
}
</script>

How to set up and test your schema in 3 easy steps

You do not need to be a programmer to set this up. Just follow these three simple steps:

  1. Update the code with your details: Copy the code above. Replace the names, phone numbers, addresses, and state bar numbers with your firm's real info.
  2. Add the script to your website header: If you use WordPress, you can paste the script using a header code plugin. If you use Webflow or custom code, paste it into the custom code box for that page.
  3. Check your work with testing tools: Never guess. Run your live page through two free official tools:

4 big schema mistakes law firms make

We see these four common mistakes on law firm audits all the time. Make sure you avoid them:

1. Adding fake review stars to your homepage

Some firms try to get 5-star snippets by adding review markup to their own homepage. Google strictly forbids this. Google treats self-collected reviews as self-serving. If caught, Google can strip rich snippets from your entire website.

2. Leaving lawyer profiles disconnected from the firm

If you add Person schema for an attorney but forget to add worksFor, Google does not know where they practice. Google sees the lawyer and the firm as two separate things. Always link them with an @id tag.

3. Running too many SEO plugins at the same time

Many older WordPress sites run several SEO tools at once. One plugin prints out an old address. Another prints out an old phone number. This confuses Googlebot. Keep only one clean source of schema code.

4. Breaking state bar advertising rules in your code

State bars watch legal marketing closely. If your state bar forbids calling yourself a "specialist" without official board papers, do not put "Specialist" in your schema tags. Bar regulators and competitors can read your page code. Keep your markup honest and compliant.

Frequently asked questions about law firm schema markup

01

Q1:What is law firm schema markup, and does it boost Google rankings?

Law firm schema markup is simple JSON-LD code added to your website. It tells Google who you are, where your office sits, who your lawyers are, and what cases you take. While schema is not a direct ranking dial, it builds entity trust in Google's Knowledge Graph. It qualifies your firm for rich snippets and helps you win citations in Google AI Overviews.

02

Q2:Should our firm use LegalService or Attorney schema?

Use both together in a single graph. Place LegalService on your homepage to define your firm as a local business with an address and phone number. Put Person (Attorney) on lawyer bio pages. Then link the lawyer back to the firm using the worksFor field.

03

Q3:Can a law firm add review star schema to its homepage?

No. Google strictly bans self-serving review markup for local businesses and law firms. If you mark up reviews you collected on your own site, Google ignores the stars. Google may also flag your site in Search Console. Let third-party sites like Google Maps, Avvo, and Justia show authentic client stars instead.

04

Q4:How does schema help lawyers appear in Google AI Overviews and Gemini?

AI search engines do not read web pages like humans do. They look for clear facts and verified entities. Interconnected JSON-LD schema confirms that your author is a licensed attorney. It verifies that your firm is real and tied to a physical office. This reduces AI errors and makes your articles safer for Gemini and ChatGPT to cite.

05

Q5:Do we need different schema code on every practice area page?

Yes. Your homepage needs broad LegalService markup. But practice pages (like car accidents or divorce) need Service schema. This tells Google the exact legal help offered on that page, the cities you serve, and the lead attorney for that practice.

06

Q6:Can generic WordPress SEO plugins handle law firm schema?

Basic plugins only create simple business tags. They miss key legal details like state bar licenses, court areas, and attorney-to-firm links. Top-ranking firms either inject clean custom JSON-LD scripts or use advanced schema tools that support connected graphs.

Next steps: Upgrade your law firm's technical SEO

Schema markup is one of the smartest technical moves a law firm can make. While competitors waste ad money on costly clicks, a clear entity graph builds real digital value. It protects your brand, clears up your local map rankings, and gets your lawyers cited in AI search.

Want to see how your website compares to top firms in your market? Take our free Law Firm SEO Scorecard to test your site. Or check our full Law Firm SEO Services to have our team build a custom entity graph for your firm.

Recommended Next Read: If you practice injury law, read our high-intent keyword guide: SEO for Personal Injury Lawyers, see how organic search compares to paid ads in Law Firm SEO vs. PPC, and discover how to track case intake in How to Track Signed Cases From SEO.
#law firm schema markup#attorney schema markup#LegalService JSON-LD#lawyer structured data#legal SEO schema#Google AI Overview schema
Mubashar Sharif, Founder & SEO Analyst at SearchPrex
Written & reviewed byMubashar Sharif

Founder & SEO Analyst at SearchPrex

5+ years hands-on SEOSemrush certifiedHubSpot certified20+ clients

Mubashar leads SearchPrex’s founder-led SEO work for law firms, local businesses and ecommerce brands. He combines technical audits, Search Console data and local market research to build practical search strategies, with more than five years of hands-on experience across 20+ clients.

Share:
Community Discussion & Reader FeedbackTechnical SEO

Join the Discussion or Request Our Next Topic

Share your perspective in the public thread below, or tell us what SEO teardown, case study, or update regarding Law Firm Schema Markup Guide: Person, Attorney & LegalService JSON-LD you want us to cover next.

0 Comments
Posts immediately to the article discussion thread

Your email is never displayed publicly.

Community Perspectives (0)

Loading discussion...

Want the Playbook From "Law Firm Schema Markup Guide: Person, Attorney & LegalService JSO..." Applied to Your Domain?

Two fields, a personal teardown within 24 hours written by Mubashar Sharif — showing the exact fixes and growth opportunities on your site.

Or book a 30-min call