Schema Markup: Beginner's Guide to Structured Data

What it is, why it matters, and how to add it to your site

What Is Schema Markup?

Schema markup (also called structured data) is code you add to your website that helps search engines understand your content at a deeper level. Without it, Google sees your page as text. With it, Google understands that the text represents a recipe, a product with a price, a business with an address, or an article with an author and publish date.

Schema markup uses a vocabulary defined at Schema.org, a collaboration between Google, Bing, Yahoo, and Yandex. You add it in a specific format (JSON-LD is recommended) in your HTML.

Why Schema Matters for SEO

Schema markup can earn you rich results (also called rich snippets) in Google search:

Rich results take up more space in search results and have significantly higher click-through rates than standard listings. Pages with rich results can see 20–40% more clicks than the same ranking position without them.

JSON-LD: The Recommended Format

Google recommends JSON-LD (JavaScript Object Notation for Linked Data) as the preferred format for schema markup. It goes in a <script> tag in your HTML <head> and doesn't interfere with your visible page content.

<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Schema Markup Guide", "author": { "@type": "Person", "name": "Jane Smith" }, "datePublished": "2025-01-15" } </script>

Generate JSON-LD schema markup for any page type.

Open Schema Generator →

The Most Common Schema Types

LocalBusiness

For any physical business with a location. Enables the business info panel in Google with hours, phone, address, and ratings. Essential for local SEO.

Required properties: name, address, telephone. Recommended: geo coordinates, opening hours, image, priceRange.

Article / BlogPosting

For news articles, blog posts, and editorial content. Helps Google understand your content for Google News and Discover. Useful properties: headline, author, datePublished, dateModified, image.

FAQPage

For pages with frequently asked questions. Can trigger FAQ rich results — expandable question/answer dropdowns directly in search results. This is one of the easiest ways to take up extra SERP real estate.

Product

For e-commerce product pages. Enables price, availability, and star rating in search results. Required: name, offers (with price and availability). Recommended: brand, aggregateRating, review.

HowTo

For step-by-step instructions. Can trigger rich results showing each step with images. Useful for tutorials, recipes, and DIY content.

How to Add Schema to Your Site

  1. Choose the right schema type for your page (Article, Product, FAQ, etc.)
  2. Generate the JSON-LD code using our schema generator or by hand
  3. Add the code inside a <script type="application/ld+json"> tag in your page's <head> section
  4. Test with Google's Rich Results Test at search.google.com/test/rich-results
  5. Monitor in Google Search Console under the "Enhancements" section

Common Schema Mistakes

Schema markup is a competitive advantage because most websites still don't use it. Adding structured data to a well-optimized page is often the easiest way to stand out in search results.

Frequently Asked Questions

Does schema markup directly improve rankings?
Google says schema is not a direct ranking factor. However, rich results increase CTR, and CTR is a ranking signal. Pages with schema also tend to be better organized, which helps Google understand and rank them. The indirect benefits are significant.
Can I have multiple schema types on one page?
Yes. A product page might have Product schema, BreadcrumbList schema, and Organization schema. Just use separate script tags or an array in a single tag. Each type should accurately describe content on the page.
How long until rich results appear?
After adding schema, Google needs to recrawl your page and process the markup. This can take days to weeks. Rich results aren't guaranteed even with valid markup — Google decides whether to display them based on various factors.