Oh So SEO
Technical SEO7 min read

Schema Markup: What It Is and How to Add It to Your Website

Schema markup is the language search engines use to understand your content. Here's what it is and why it matters for your rankings.

By Oh So SEO·

What Is Schema Markup?

Schema markup (also called structured data) is a type of code you add to your web pages to help search engines understand what your content is about. Without schema, Google reads your page and tries to work out what it means from context. With schema, you're explicitly telling Google: "this is a product, it costs £49, it has 47 reviews, and it's currently in stock."

Why Schema Markup Matters

Schema markup doesn't directly improve your ranking. But it can dramatically improve how your result appears in search — which improves your click-through rate — which can indirectly improve your ranking. Rich results enabled by schema include:
  • Star ratings and review counts on product pages
  • FAQ dropdowns that expand in search results
  • Recipe cards with cooking time and ratings
  • Event listings with dates and locations
  • HowTo steps shown directly in search

The Most Useful Schema Types for Small Businesses

LocalBusiness schema — tells Google your business name, address, phone, hours, and type. Essential for local SEO. Product schema — includes price, availability, and review data for product pages. Can enable star ratings in search results. FAQ schema — marks up question-and-answer content. Can show as expandable FAQs directly in Google results. Article/BlogPosting schema — marks up blog content with author, publish date, and headline information. HowTo schema — marks up step-by-step instructions. Can appear as rich results in search.

How to Add Schema Markup

Option 1: Use a Plugin or App

WordPress: Install Rank Math or Yoast SEO. Both handle basic schema automatically for posts and pages. Shopify: Most modern themes include Product schema. Apps like Schema Plus add more comprehensive coverage.

Option 2: Use Google's Structured Data Markup Helper

  • Go to Google's Structured Data Markup Helper
  • Select the type of content (article, product, local business, etc.)
  • Paste your URL or HTML
  • Highlight elements and tag them
  • Download the generated code and add it to your page
  • Option 3: Write It Manually

    JSON-LD format is the recommended approach. It goes in the of your HTML and doesn't affect the visible content of your page.

    Testing Your Schema

    After adding schema, use Google's Rich Results Test to check:
    • Is the schema valid?
    • Which rich results could it enable?
    • Are there any errors or warnings?

    FAQ

    Does schema markup guarantee rich results? No. Schema is required to be eligible, but Google decides whether to show rich results. Quality content and a strong site help. How much of a difference does schema make? For product pages with review schema, click-through rate improvements of 20–30% are commonly reported. FAQ schema can dramatically increase the real estate your result takes up in search. Do I need schema on every page? No. Prioritise: homepage (LocalBusiness), product pages (Product), blog posts (Article), FAQ pages (FAQ).
    Tags
    schema markupstructured datarich results
    Put this into practice — free.
    Audit your site, track keywords and generate SEO copy with Oh So SEO. Built for small businesses. No agency required.
    Start free trial →

    Related posts

    7 min read
    Page Speed and SEO: Why Your Slow Website Is Costing You Rankings
    Read →
    7 min read
    What Is Technical SEO? A Plain-English Explanation
    Read →
    5 min read
    Robots.txt: What It Is and How It Affects Your SEO
    Read →