Schema markup
Also: Structured data · JSON-LD · Schema.org markup
Schema markup (also called structured data or JSON-LD) is a set of standardized tags that label your page's content so search engines and large language models can parse it as structured data — business hours, ratings, prices, FAQs, articles — instead of inferring from raw HTML.
Technical SEO · 4 min read
Fill in your business details. The JSON-LD on the right updates live and is ready to paste into the `<head>` of your page.
LocalBusiness JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Joe's Pizza Brooklyn",
"url": "https://joespizza.com",
"telephone": "+1-718-555-0142",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "124 Fulton St",
"addressLocality": "Brooklyn",
"addressRegion": "NY",
"postalCode": "11201",
"addressCountry": "US"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "542"
}
}
</script>Validate after pasting. Use Google's Rich Results Test to confirm the markup is valid before deploying.
Open Rich Results TestWhat schema markup is
Schema.org is the open vocabulary, maintained jointly by Google, Bing, Yahoo, and Yandex, that defines hundreds of entity types — LocalBusiness, Restaurant, Product, FAQPage, Article, Event, and so on. JSON-LD is the recommended format for delivering schema markup: a single <script type="application/ld+json"> block in the page <head> that names the entity and its properties.
When Google's crawler hits a page with valid JSON-LD, it pulls the data into its Knowledge Graph and uses it for rich results, AI Overviews, Local Pack snippets, and any other surface that displays structured business information.
Why schema markup matters more in 2026
In the 10-blue-link era, schema markup was a *nice-to-have* — it powered rich snippets and FAQ accordions, but you could rank without it. In the AI-search era, schema markup has become a *load-bearing* signal. AI Overviews, AI Mode, and LLM citations all preferentially draw from sources that publish clean structured data, because LLMs can parse it without ambiguity.
A page with well-structured schema is roughly twice as likely to be cited in an AI answer as the same page without it, according to multiple 2025 studies. The work is the same; the surfaces it influences have multiplied.
LocalBusiness schema — the essential type
For any local business, the LocalBusiness type (or a more specific subtype like Restaurant, Dentist, Plumber) is the foundational schema. Required properties for full rich-result eligibility:
name,url,telephoneaddress(withPostalAddresssub-type: street, city, region, postal code, country)geo(latitude + longitude)openingHoursSpecification(day + open/close times)priceRangeaggregateRating(rating value + review count)
Google's Rich Results Test validates the markup. Use the JSON-LD generator above to produce a baseline, then extend with the optional properties Google's docs reference.
JSON-LD vs Microdata vs RDFa
Three formats exist for delivering schema. JSON-LD is the format Google recommends and the one virtually all modern sites use — clean separation from HTML, straightforward to update, supported by every crawler.
Microdata embeds the data inline as HTML attributes (itemprop, itemscope). It works but pollutes the HTML and is harder to update programmatically. RDFa is similar to Microdata but uses different attributes. Both are legacy formats.
For any new implementation, use JSON-LD in the <head>. Don't mix formats — Google will parse them all but consistency matters for debugging.
Schema markup in the agent era
An agent generating content for a multi-location business needs schema markup at every published URL. Modern workflows automate this: the agent fetches the business profile via the Google Business Profile API, pulls reviews via the Google Reviews API, generates LocalBusiness + AggregateRating + Review markup, and ships it as part of the page's static metadata.
The markup itself is mostly mechanical. The judgment calls — which subtype, which properties to include, whether to add Service or Product schema in addition — are where the agent earns its keep.
Related terms
Knowledge Graph
Google's structured database that consumes schema markup.
GlossaryRich results
Schema-powered visual enhancements in the SERP.
GlossaryAI Overview
AI surface that preferentially cites well-structured pages.
GlossaryTopical authority
Earned over time; schema accelerates how it's recognized.
FAQ
Does schema markup directly improve rankings?+
Which schema types should every local business have?+
LocalBusiness (or a subtype like Restaurant, Dentist), PostalAddress, GeoCoordinates, OpeningHoursSpecification, and AggregateRating. Add FAQPage if the page has Q&A content, Service if it lists services, and Product for e-commerce.How do I know if my schema is working?+
Can agents generate schema markup automatically?+
Does AI search read schema markup?+
Want this at API scale?
Pull NAP, hours, categories, and aggregate-rating data — the inputs your LocalBusiness schema needs.
See Google Business Profile API