Your firm's website already lists your offices, phone numbers, attorneys and practice areas. Schema markup for law firms restates these facts as structured data that search engines and software can easily digest. If you manage your firm's site, you have likely heard this matters for AI search. So, which schema types should your law firm use to boost AI visibility?
- Want AI tools and search engines to read your firm accurately? Structured data turns office, attorney and service details into machine-readable facts.
- Use LegalService for each location, Person for attorney bios, Organization for firm details and Article for editorial content.
- Save time and reduce errors by matching schema to visible site content, validating it before and after launch and updating it when details change.
- Learn why accurate schema supports discoverability but does not ensure rankings, rich results or AI mentions and why FAQ rich results ended May 7, 2026.
What Is Schema Markup and Why Does It Matter for Law Firms?
Schema markup, a form of structured data, is standardized code added to your website that clearly labels key facts so search engines can read them directly. Most structured data relies on Schema.org, a universal vocabulary for describing entities, such as businesses, people and services.
Google generally recommends JSON-LD (JavaScript Object Notation for Linked Data) when supported by your website, as it is the easiest format to set up and maintain. It operates quietly behind the scenes as a block of code invisible to regular site visitors.
For law firms, structured data explicitly identifies details like your firm's name, office locations, phone numbers and legal services. Implementing effective schema markup for law firms ensures search engines and AI tools do not have to guess what your content means.
Google uses structured data to better understand your web pages, which can unlock rich results, the enhanced listings shown in search results. While clean, machine-readable data improves visibility across AI-assisted search tools, schema markup alone does not guarantee higher rankings, rich results, AI citations or direct recommendations.
Which Schema Types Should Law Firms Use?
If you are wondering what schema should my law firm use for better AI visibility, four primary categories cover most needs, with each serving a specific page type on your site.
LegalService and LocalBusiness Schema
LegalService is a specific type of LocalBusiness that provides legal services. Key properties include your firm's name, address, phone number, website URL, business hours (openingHoursSpecification) and service area (areaServed). Google's local business guidelines require at least a name and address.
Each location should be described separately, so every office needs its own LegalService block with matching address, phone, hours and a dedicated page. Note that Schema.org has deprecated the Attorney type in favor of LegalService, which provides a clearer and broader classification.
Organization and Person Schema
Organization markup provides core details like your firm's official name, logo and main contact information. Per Google's guidelines, place this on your homepage or About page. LegalService also works here since it is a subtype of Organization.
Use Person markup on individual attorney bio pages to highlight their full name, employer (worksFor), credentials (hasCredential) and professional associations (memberOf). The sameAs property links to external profiles for that attorney or firm (such as a state bar profile), so ensure all external details align with your website.
For example, if a firm operates as Example Law Group, every office block and worksFor entry must use that exact name. Similarly, every Person block should reflect the exact title on their bio page. Avoid listing certifications or awards in schema that are not explicitly mentioned in the page text.
Article and FAQPage Schema
Article markup identifies blog posts or articles as editorial content, specifying the author along with publication and modification dates.
FAQPage remains a valid Schema.org type for genuine question-and-answer content. However, keep in mind that Google discontinued FAQ rich results on May 7, 2026, so adding it will not generate search snippet enhancements.
Review and AggregateRating Schema
Review markup highlights individual reviews, while AggregateRating summarizes average ratings. While LegalService supports both, Google specifies that self-hosted reviews using LocalBusiness or Organization markup are ineligible for review star snippets, even when pulled through third-party widgets.
How to Add Schema Markup to Your Law Firm's Website
Adding structured data for law firms is straightforward. You can follow these steps directly or share them with your web developer:
- Map out target pages: Plan Organization or LegalService markup for the homepage, LegalService for each office page, Person for attorney bios and Article for blog posts.
- Gather accurate details: Collect office locations, phone numbers, operating hours, service areas and attorney credentials exactly as displayed on your site.
- Generate JSON-LD markup: Write the code directly, use a content management system (CMS) plugin or rely on your technical team. Alternatively, most AI platforms do a decent job of writing schema markup in JSON-LD format. Just be sure to validate it before and after adding the code to your site.
- Deploy the code: Add the schema snippet to the HTML of your pages or configure your CMS plugin to inject it automatically.
- Test the live implementation: Validate published pages using testing tools to verify that schema is present, accurate and free of plugin conflicts.
For example, a LegalService schema block for the Columbus office of Example Law Group should define:
- Context and type: Set @context to Schema.org and @type to LegalService.
- Firm name: Match the name property exactly to the visible page text.
- Location URL: Point the url property to the specific office location page rather than the main homepage.
- Contact info: Include the local telephone number in standard format.
- Street address: Break the address property into street, city, state, postal code and country.
- Hours of operation: Specify openingHoursSpecification details (e.g., Monday–Friday, 8:30 a.m. to 5:30 p.m.).
- Service area: Set areaServed to reflect your geographic focus (e.g., the state of Ohio).
- External profiles: Use sameAs to link to verified profiles across directory sites.
Here is what that looks like when the code is generated:
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "LegalService",
"name": "Example Law Group",
"url": "https://www.examplelawgroup.com/locations/columbus",
"telephone": "+1-614-555-0100",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Street, Suite 400",
"addressLocality": "Columbus",
"addressRegion": "OH",
"postalCode": "43215",
"addressCountry": "US"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:30",
"closes": "17:30"
}
],
"areaServed": {
"@type": "State",
"name": "Ohio"
},
"sameAs": [
"https://www.google.com/maps/place/example-law-group-columbus",
"https://www.yelp.com/biz/example-law-group-columbus",
"https://www.avvo.com/attorneys/example-law-group",
"https://www.linkedin.com/company/example-law-group"
]
}
</script>
How to Test and Validate Your Schema Markup
Google's Rich Results Test inspects URLs or code snippets to flag errors for supported Google features. Meanwhile, the Schema Markup Validator checks syntax and vocabulary across all Schema.org properties, including non-feature fields like areaServed.
Test your schema snippet during development, then validate the live URL after deployment. Note that Google Search Console reports rich results for specific supported types only, excluding LocalBusiness, Organization and Article. Passing validation confirms your markup can be parsed correctly, though it does not guarantee rich result displays.
Schema Markup Tips for Law Firms
Most structured data issues surface when validating a live URL in the Schema Markup Validator, which extracts detected markup for comparison against page content.
Replace deprecated tags like Attorney with LegalService. Ensure addresses, phone numbers and hours match site copy exactly. For multi-office practices, assign distinct schema blocks to each location page. Avoid using star-rating markup on client testimonials and audit plugins to prevent duplicate schema generation.
Setting up schema markup for law firms requires ongoing maintenance. Re-evaluate schema whenever your firm opens a new office, updates branding, changes contact information or onboards/offboards attorneys, as structured data requires manual updates.
Re-evaluate schema whenever your firm opens a new office, updates branding, changes contact information or onboard/offboards attorneys, as structured data requires manual updates.
Does Schema Markup Improve Visibility in ChatGPT and Other AI Platforms?
Structured data makes facts easier to parse for platforms that process Schema.org. While Google clearly details its use of structured data, AI platforms like ChatGPT, Perplexity and Microsoft Copilot do not publish identical guidelines. You do not need specialized legal schema for ChatGPT. OpenAI notes that any accessible web page can appear in ChatGPT search, prioritizing crawler accessibility over schema usage. Schema implementation alone does not guarantee AI mentions or recommendations. However, maintaining accurate markup is low-cost and supports search discoverability. Think of schema as one foundational piece of generative engine optimization (GEO), alongside clear site information, crawlable architecture and authoritative third-party references.
Frequently Asked Questions
What schema markup should a law firm use?
Implement LegalService schema for your main practice and individual office pages, then use Person schema for each attorney bio.
Is LegalService schema better than LocalBusiness schema?
Yes. LegalService is a more specific subtype of LocalBusiness, and search engines recommend applying the most specific classification available.
Can I add schema markup without coding experience?
Yes. Most modern web platforms offer SEO plugins that generate schema markup automatically from form entries.
How do I know if my law firm's schema markup is working?
Test live pages using the Schema Markup Validator to verify code structure, and use Google Search Console's URL Inspection tool to confirm search engines can crawl the page.
Keep Your Best Lawyers Profile Up to Date
Best Lawyers profiles incorporate structured data highlighting lawyer recognitions and practice history. Because search systems cross-reference details across directories, maintain consistent updates across your Best Lawyers profile, website and external listings to ensure details stay accurate.