Structured data is machine-readable code that helps search engines understand the content of your web pages at a deeper level than plain HTML allows. By adding structured data markup, you explicitly tell Google what your page is about — whether it's an article, a product, an FAQ, a recipe, or a local business — enabling richer, more informative search results that drive higher click-through rates.
What Is Structured Data?
Structured data explicitly describes entities and properties in a machine-readable vocabulary. Google can also understand ordinary page text; markup is not the only way it recognizes a price. Supported accurate markup may contribute to feature eligibility, not guaranteed display.
Structured data uses vocabularies defined by Schema.org, a collaborative project between Google, Bing, Yahoo, and Yandex that standardizes markup across all major search engines.
JSON-LD vs Microdata vs RDFa
There are three formats for implementing structured data. Here's how they compare:
| Format | Implementation | Pros | Cons |
|---|---|---|---|
| JSON-LD | Separate <script> block in <head> or <body> | Easy to add/remove, doesn't touch HTML, Google's recommended format | Data can drift from visible content if not maintained |
| Microdata | HTML attributes (itemscope, itemprop) on existing elements | Tightly bound to visible content | Clutters HTML, harder to maintain, breaks with template changes |
| RDFa | HTML attributes (typeof, property) on elements | Powerful for complex ontologies | Verbose, rarely used for SEO, steep learning curve |
Use JSON-LD. Google explicitly recommends it, the developer experience is vastly better, and it separates your data layer from your presentation layer. Every example in this guide uses JSON-LD.
Common Schema Types
Schema.org defines hundreds of types, but a focused set is responsible for the vast majority of SEO benefits:
Article
Use for blog posts, news articles, and editorial content. Google lists recommended Article properties, including headline, author, datePublished, and image, but no required properties. Include applicable, accurate values. Markup can help Google understand an article; it does not guarantee an enhanced result.
Product
For product pages, follow the current requirements for the intended Google feature, such as product snippets or merchant listings. Include genuine applicable values and eligible ratings only. aggregateRating is not universally required, and markup alone does not secure Shopping or organic placement.
FAQPage
For pages with a list of questions and answers. Each question requires name (the question text) and acceptedAnswer with text (the answer). FAQPage remains Schema.org vocabulary, but Google no longer displays FAQ rich results (removed in May 2026). See the official feature update.
HowTo
For instructional content with sequential steps. Each step needs name and text; optional image and url per step. HowTo remains Schema.org vocabulary, but Google discontinued HowTo rich results in 2023. Valid vocabulary does not imply current Google rich-result eligibility.
Organization & LocalBusiness
Organization schema establishes your brand identity — logo, social profiles, contact info. LocalBusiness extends Organization for physical locations with address, openingHours, geo coordinates, and telephone. Essential for local SEO and Knowledge Panel appearances.
BreadcrumbList
Defines the navigation path to a page. Google uses this to display breadcrumb trails in search results instead of raw URLs, which improves both appearance and click-through rates. Always implement this on sites with hierarchical navigation.
WebApplication
For web-based tools and apps. Include name, url, applicationCategory, operatingSystem, and offers. Useful for SaaS products and online tools to appear in app-related searches.
Rich Results Eligibility
Not all schema types trigger rich results. Google supports a specific subset and has strict requirements for each:
- Content must match. The structured data must accurately reflect the visible page content. Adding FAQ schema to a page without visible Q&A is a policy violation.
- Required properties must be present. Requirements depend on the Google search feature; not every type has required properties. A missing requirement affects the relevant item or feature, not automatically every rich-result possibility on the page.
- Page quality matters. Pages with thin content, excessive ads, or spam signals won't receive rich results regardless of schema quality.
- No guarantees. Even valid, high-quality schema doesn't guarantee display — Google's algorithms make the final decision based on query context, user intent, and device.
Testing & Validation
Always validate your structured data before and after deployment:
- Google Rich Results Test: Checks supported structured data and detected issues. Passing does not establish compliance with every quality policy or guarantee eligibility or display.
- Schema.org Validator — checks general schema.org compliance against the full vocabulary specification.
- Google Search Console — the Enhancements section shows structured data errors, warnings, and valid items detected across your entire site. Monitor this regularly.
- Structured Data Linter — a more technical tool for complex schemas with nested types.
Implementation Best Practices
- Organize related entities clearly. JSON-LD can use separate script blocks, an array or an
@graph. Separate blocks are optional, not a validity requirement. - Match visible content. Never add data to schema that isn't reflected on the page — Google considers this spammy structured data and may issue manual actions.
- Use absolute URLs. All URL properties (
url,image,mainEntityOfPage) should be full, absolute URLs starting withhttps://. - Keep it updated. Structured data with outdated prices, incorrect availability, or old dates erodes trust and can trigger rich result removal.
- Don't mark up hidden content. Schema must represent content visible to users. Hidden elements marked up with schema violate Google's guidelines.
- Start with high-impact types. Prioritize currently supported types such as Article, BreadcrumbList, and Product/LocalBusiness when applicable. Eligibility and display depend on Google's current policies; enhancements are not guaranteed.
Common Mistakes
- Missing required properties — check the requirements of the specific search feature and item. Article image is recommended, not required; Product requirements differ by feature and markup. One issue does not necessarily invalidate unrelated items.
- Self-referencing reviews — marking up reviews for your own organization on your own site violates Google's policy.
- Invalid JSON syntax — trailing commas, unescaped quotes, or missing brackets silently break the entire block. Always validate JSON syntax.
- Stacking too many types on irrelevant pages — adding Recipe schema to a non-recipe page hoping for rich results is a policy violation.
- Using Microdata and JSON-LD for the same entity — this can cause duplicate or conflicting signals. Pick one format and use it consistently.
Try It Yourself
Generate JSON-LD drafts for supported types, then supply accurate applicable values and validate against the intended feature. The tool does not pre-fill every required or recommended property.
Schema Generator →