Schema Markup: The Complete Guide to Structured Data
Implement schema markup to get rich snippets in Google search results. Covers JSON-LD formats for articles, products, FAQs, and local businesses.
· 2 min read
In this article9 sections
What Is Schema Markup?
Schema markup is structured data you add to your HTML that helps search engines understand your content. It uses a standardized vocabulary from Schema.org to describe things like products, articles, events, recipes, and businesses in a machine-readable format.
When Google understands your content better, it can display rich snippets in search results: star ratings, price ranges, FAQ dropdowns, recipe cards, event dates, and more. These rich results get significantly higher click-through rates than plain blue links.
JSON-LD: The Recommended Format
Google recommends JSON-LD for structured data. It is a JavaScript notation added in a script tag in your HTML head, completely separate from your visible content. This makes it easy to implement and maintain without touching your templates.
Article Schema
For blog posts and articles, implement the Article or BlogPosting schema type. Include headline, author, datePublished, dateModified, image, and description. Google uses this to understand your content and may display it in rich results or Google News.
Product Schema
For e-commerce product pages, use the Product schema with name, description, image, offers (including price and currency), and aggregateRating. This enables rich snippets showing price, availability, and star ratings directly in search results.
FAQ Schema
The FAQPage schema lets you add expandable FAQ sections directly in Google search results. Each question and answer pair appears as a dropdown. This can double the visual space your listing occupies in search results and dramatically increase click-through rates.
Local Business Schema
For businesses with physical locations, implement the LocalBusiness schema with name, address, phone number, opening hours, and geo coordinates. This reinforces your Google Business Profile data and helps you appear in local search results.
How-To Schema
The HowTo schema is perfect for tutorial content. Define each step with text and optional images. Google may display your how-to steps directly in search results as a visual guide, attracting users who are looking for practical instructions.
Testing and Validation
Use Google's Rich Results Test to validate your markup. It shows you exactly how Google interprets your structured data and whether your page is eligible for rich results. Fix any errors or warnings before deploying.
Also monitor the Enhancements section in Google Search Console, which shows structured data errors across your entire site grouped by type.
Common Mistakes
- Using schema types that do not match your actual content
- Adding schema for content that is not visible on the page
- Missing required properties for a schema type
- Using incorrect data types (string instead of number for prices)
- Not updating dateModified when content changes
- Schema
- SEO
- Structured Data

Written by Pontus Henriksson
Co-founder and CEO of Walldy in Sundsvall. I have built for the web since I was fourteen, tested games for studios like Netflix and Bungie since 2021, and write about what I use in real projects.
Liked this? Get the next one.
New Claude skills, kits and what I learn building AI for small businesses. Not often, only when it is worth sending. Unsubscribe with one click.