Skip to content
PxlPeak LogoSerpNap
SEO

How to Add Schema Markup to Your Website (2026 Guide)

Learn how to implement JSON-LD structured data to earn rich snippets in Google. Step-by-step instructions for Organization, LocalBusiness, FAQ, HowTo, and Article schemas — with a free generator.

SerpNap Team
March 5, 2026
12 min read

Schema markup tells search engines exactly what your content means — not just what it says. Pages with schema markup are eligible for rich results (star ratings, FAQ dropdowns, recipe cards, how-to steps), which can increase click-through rates by 20-35%.

Despite its impact, fewer than 33% of websites use structured data. This guide shows you exactly how to add schema markup using JSON-LD — Google's recommended format — with copy-paste examples for every common schema type.

What Is Schema Markup?

Schema markup is code (in JSON-LD format) that you add to your web pages to provide explicit information about your content to search engines. It uses a shared vocabulary from Schema.org — created collaboratively by Google, Bing, Yahoo, and Yandex.

Without schema: Google guesses what your page is about based on content analysis.

With schema: You tell Google explicitly: "This page describes a LocalBusiness with this address, these hours, and this phone number."

Why Schema Markup Matters in 2026

  • Rich results — Earn enhanced search listings with star ratings, FAQs, prices, and more
  • Higher CTR — Rich results see 20-35% higher click-through rates than standard listings
  • Voice search — Schema helps voice assistants understand and cite your content
  • AI search — AI-powered search engines (ChatGPT, Perplexity, Google AI Overviews) use structured data to understand entity relationships
  • Knowledge panels — Organization schema helps Google build Knowledge Panels for your brand
Pro Tip: Schema markup is increasingly important for GEO (Generative Engine Optimization). AI search engines rely heavily on structured data to understand entity authority and relationships. Run the Neural Audit to check how AI engines perceive your brand.

JSON-LD: Google's Recommended Format

Google recommends JSON-LD (JavaScript Object Notation for Linked Data) over Microdata or RDFa. JSON-LD is added as a <script> tag in your page's <head> section — it doesn't modify your HTML content at all, making it easy to implement and maintain.

Essential Schema Types (With Examples)

1. Organization Schema

Every website should have Organization schema on the homepage. It establishes your brand identity for Google's Knowledge Panel and entity recognition.

Key properties: name, url, logo, description, sameAs (social profiles), contactPoint.

2. LocalBusiness Schema

Critical for any business with a physical location. Helps you appear in local search results, Google Maps, and the local pack.

Key properties: name, address, telephone, openingHours, geo (latitude/longitude), priceRange.

3. FAQPage Schema

One of the easiest schemas to implement with the highest visual impact. FAQ rich results show expandable question-answer pairs directly in search results.

Requirements: questions must be visible on the page (not hidden), answers should be comprehensive, and the content must be genuinely helpful.

4. HowTo Schema

Perfect for tutorial and guide content. HowTo rich results can show numbered steps, time estimates, and images directly in search results.

Key properties: name, step (with text and optional image), totalTime, estimatedCost.

5. Article / BlogPosting Schema

Helps Google understand your content as a news article or blog post. Important properties include headline, datePublished, dateModified, author, and publisher.

Improves how your page's navigation path appears in search results. Instead of showing a raw URL, Google displays a breadcrumb trail (Home > Blog > SEO > Article).

How to Implement Schema Markup

Step 1: Generate Your Schema

Use the SerpNap Schema Generator to create valid JSON-LD markup. Select your schema type, fill in your details, and copy the generated code. The tool validates your markup in real-time so you don't have to worry about syntax errors.

Step 2: Add to Your Page

Paste the JSON-LD script tag into your page's <head> section. If you're using a CMS:

  • WordPress — Use the Yoast SEO or Rank Math plugin, or add via a custom header plugin
  • Shopify — Add to your theme's theme.liquid file or use an app like JSON-LD for SEO
  • Next.js — Add to your page's metadata or use a <script type="application/ld+json"> tag
  • Static HTML — Paste directly into the <head> section

Step 3: Validate Your Markup

After adding schema to your live page, validate it using:

  • Google's Rich Results Test — Check if your markup qualifies for rich results
  • Schema.org Validator — Verify your JSON-LD syntax is correct
  • The SerpNap SEO Checker — Audits structured data as part of 50+ SEO checks

Step 4: Monitor in Search Console

Google Search Console's Enhancements section shows which rich results your site is eligible for, any errors in your markup, and how many pages have valid structured data.

Multiple schemas per page

You can (and should) use multiple schema types on a single page. For example, a blog post might have Article + FAQPage + BreadcrumbList schemas. Combine them using separate <script> tags or a single tag with @graph.

Common Schema Markup Mistakes

  • Marking up invisible content — Google requires FAQ and HowTo content to be visible on the page
  • Incorrect nesting — Make sure @type, @context, and property names match Schema.org specifications exactly
  • Outdated schema — Schema.org evolves; check for deprecated properties
  • Missing required properties — Each schema type has required and recommended properties
  • Misleading markup — Schema that doesn't match page content violates Google's guidelines

Generate Your Schema Now (Free)

The Schema Generator creates valid, copy-paste JSON-LD for LocalBusiness, FAQPage, and more — no signup required. Generate your markup in 30 seconds, add it to your page, and start earning rich results.

Ready?

Put AI to Work for You.

Book a free 30-minute assessment. We'll map exactly which AI tools will save you time and money — with a clear timeline and pricing.

Free assessmentNo commitmentResults in 2 weeks