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:
- Star ratings under product or recipe listings
- FAQ dropdowns that expand directly in search results
- Recipe cards with cooking time, calories, and images
- Event details with dates, locations, and ticket prices
- Business info panels with hours, phone, and address
- How-to steps with images for each step
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.
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
- Choose the right schema type for your page (Article, Product, FAQ, etc.)
- Generate the JSON-LD code using our schema generator or by hand
- Add the code inside a <script type="application/ld+json"> tag in your page's <head> section
- Test with Google's Rich Results Test at search.google.com/test/rich-results
- Monitor in Google Search Console under the "Enhancements" section
Common Schema Mistakes
- Marking up invisible content: Schema should describe content that's actually on the page. Adding FAQ schema for questions that aren't visible to users violates Google's guidelines.
- Wrong schema type: Using Product schema for a service page, or Article schema for a homepage. Use the type that accurately describes your content.
- Missing required properties: Each schema type has required and recommended fields. Missing required ones means your markup won't generate rich results.
- Not testing: Always validate your markup with Google's testing tool before deploying. Syntax errors are common and invisible without testing.
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.