Schema markup is code you add to your website that tells search engines what your content means, not just what it says. The easiest way to use it is a WordPress plugin like Rank Math or Yoast, which adds the JSON-LD code for you, and it can help Google show rich results like star ratings and FAQ dropdowns.
You’ve seen those fancy search results — the ones with little gold stars, a price tag, or a dropdown of questions right inside the listing. That’s schema markup doing its job. It won’t magically put you at position one, but it makes your listing stand out on the page, and that extra visibility is worth real clicks. This guide walks you through what schema markup is, which types matter, and how to add it even if you’ve never touched a line of code.
In This Article
- What Does Schema Markup Actually Do?
- What Are the Most Useful Types of Schema?
- What Is JSON-LD and Why Does Google Prefer It?
- How Do You Add Schema Markup to Your Website?
- How Do You Test That Your Schema Works?
- What Mistakes Should You Avoid With Schema Markup?
- Frequently Asked Questions
- Does schema markup directly improve Google rankings?
- I’m not a developer. Can I still add schema markup?
- How long does it take for rich results to appear?
- Should I add schema markup to every page on my site?
- What’s the difference between JSON-LD, Microdata, and RDFa?
What Does Schema Markup Actually Do?
Here’s the problem schema solves: Google reads your words, but words can be vague. If your page mentions “Avatar,” is that the movie or a profile picture? If it lists “$49,” is that a price, a fee, or part of a story? Schema markup is a shared vocabulary (maintained at schema.org by Google, Bing, Yahoo, and Yandex) that labels your content so there’s no guessing.
When you label things clearly, two good things happen:
- Your listing can earn rich results. That’s the official name for those enhanced listings — star ratings, FAQ dropdowns, event dates, product prices, breadcrumbs, and more. They take up more space on the results page and tend to get clicked more. Your title and meta description still do heavy lifting alongside rich results — see how to write meta descriptions that get clicks.
- Search engines understand your pages better. That helps with things like voice search answers and knowledge panels, where Google pulls a direct answer from a page it fully understands.
One honest note: schema isn’t a direct ranking factor — Google has said so plainly. But higher click-through rates from rich results mean more traffic from the rankings you already have.
What Are the Most Useful Types of Schema?
There are hundreds of schema types, but most sites only need a handful:
- Article / BlogPosting — for blog posts and news articles. Tells Google who wrote it, when it was published, and what the headline image is.
- FAQPage — for pages with a question-and-answer section. This is the one that can earn those expandable FAQ dropdowns in search results.
- HowTo — for step-by-step guides. Can show steps and images directly in results.
- Product — for product pages: price, availability, and review info. Note that Google has tightened the rules here — review stars on product results generally need reviews collected on your own site.
- LocalBusiness — for local companies: address, phone number, hours, and location. A must-have for local SEO.
- Organization — for your company as a whole: name, logo, contact info, and social profiles.
- BreadcrumbList — for your breadcrumb trail, so Google can show clean navigation links instead of a messy URL.
- Event — for events: dates, location, and ticket info.
- VideoObject — for pages built around a video: duration, thumbnail, and upload date.
- Recipe — for recipes: cook time, ingredients, calories, and ratings.
- JobPosting — for job listings, which can appear in Google’s job search box.
The golden rule: only use a schema type that matches what’s actually on the page. A recipe schema on a page with no recipe isn’t clever — it’s spam, and Google treats it that way.
What Is JSON-LD and Why Does Google Prefer It?
Schema markup comes in three formats: JSON-LD, Microdata, and RDFa. Google recommends JSON-LD, and it’s the one you should learn.
JSON-LD (JavaScript Object Notation for Linked Data) is a small block of code you drop into your page’s <head> section. It sits apart from your visible content, so it’s easy to edit without touching your layout — unlike Microdata and RDFa, which get woven into your HTML tags.
Here are three copy-paste examples. Swap in your own details and they’re ready to use.
FAQ schema — paste this on any page with a Q&A section:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long does shipping take?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Orders usually arrive within 3 to 5 business days."
}
},
{
"@type": "Question",
"name": "Do you offer refunds?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. You can request a full refund within 30 days of purchase."
}
}
]
}
Article schema — for blog posts:
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "Your Article Title Here",
"author": {
"@type": "Person",
"name": "Your Name"
},
"datePublished": "2026-10-04",
"image": "https://yoursite.com/image.jpg"
}
Local business schema — for a business with a physical location or service area:
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Your Business Name",
"telephone": "+1-555-123-4567",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Street",
"addressLocality": "Austin",
"addressRegion": "TX",
"postalCode": "78701"
},
"openingHours": "Mo-Fr 09:00-17:00",
"url": "https://yoursite.com"
}
Keep a text file of snippets like these. Once you’ve got templates, adding schema to a new page takes about two minutes.
How Do You Add Schema Markup to Your Website?
You have three main options, depending on how comfortable you are with code:
- Use an SEO plugin (easiest). On WordPress, Rank Math, Yoast SEO, and SEOPress all have schema modules built in. You pick a schema type for each post or page, fill in a few fields, and the plugin generates the JSON-LD for you. Rank Math’s free version covers many common schema types — check the current plan page for what is included.
- Add it manually with a code snippet plugin. Tools like WPCode let you paste a JSON-LD block into your site’s header and choose which pages it appears on. This gives you full control and works with any schema type.
- Use Google Tag Manager. You can inject JSON-LD through a custom HTML tag. Handy if you don’t want to touch your theme files and already use Tag Manager.
If you’re going the manual route, here’s the process:
- Write your JSON-LD snippet using one of the templates above.
- Validate it before it goes live (see the next section).
- Add it to the
<head>of the right pages — not sitewide unless the schema truly applies everywhere (Organization schema on the homepage is a common sitewide exception). - Re-test after publishing to confirm it rendered correctly.
For Shopify or other platforms, there are dedicated schema apps, or your theme may already include basic product and article markup — check before adding duplicates.
How Do You Test That Your Schema Works?
Never publish schema without testing it. Google gives you free tools for this:
- Rich Results Test (search for it on Google) — paste your URL or your code snippet directly. It tells you which rich results your page qualifies for and flags errors.
- Schema.org validator at validator.schema.org — checks your markup against the official vocabulary, even for types Google doesn’t use for rich results.
- Google Search Console — after your pages are live, the Enhancements section shows how many pages have valid markup and flags problems over time. For a broader site health check, run through a technical SEO audit checklist alongside these tools.
The most common issue you’ll see is a missing required field — for example, a Product schema without a price, or an Event schema without a date. Errors block rich results; warnings are suggestions you can usually fix quickly by adding the optional fields.
What Mistakes Should You Avoid With Schema Markup?
- Marking up content that isn’t on the page. This is the big one. If your schema says there are 200 five-star reviews but the page shows none, that’s deceptive markup — and it can earn you a manual penalty.
- Using review schema the wrong way. Google’s rules say review stars should reflect reviews collected on your own site, not copied from somewhere else.
- Stacking every schema type on every page. Only mark up what’s actually there. A page doesn’t need six schema types to rank.
- Running two plugins that both output schema. This creates duplicate or conflicting markup. Pick one source of truth and turn the other one off.
- Letting data go stale. Prices change, events pass, business hours shift. Outdated schema is worse than none because it actively misleads people. A periodic local SEO audit catches stale hours, prices, and markup before they mislead anyone.
- Expecting instant rich results. Even perfect markup doesn’t guarantee Google will show a rich result. It can take days or weeks, and Google makes the final call on every listing.
Frequently Asked Questions
Does schema markup directly improve Google rankings?
No, Google has confirmed schema isn’t a direct ranking factor. But rich results earn more clicks from the same ranking position, and better-organized content is easier for Google to understand. Think of it as a visibility upgrade, not a ranking trick.
I’m not a developer. Can I still add schema markup?
Absolutely. WordPress SEO plugins like Rank Math and Yoast generate schema for you through simple dropdowns and form fields. You only need to touch code if you want a schema type your plugin doesn’t support, and even then it’s mostly copy-paste.
How long does it take for rich results to appear?
Usually days to a few weeks after Google recrawls the page. You can speed up discovery by requesting indexing in Search Console. But there’s no guarantee — Google decides which pages get rich results, and some never do despite valid markup.
Should I add schema markup to every page on my site?
Only where it fits. Your blog posts should carry Article schema, your contact page can carry LocalBusiness or Organization schema, and FAQ sections deserve FAQPage schema. But don’t force types onto pages where the content doesn’t match — mismatched markup can get your rich results removed. Schema is one part of on-page work — our on-page SEO checklist covers the rest.
What’s the difference between JSON-LD, Microdata, and RDFa?
They’re three ways to write the same schema vocabulary. JSON-LD is a standalone script block Google recommends; Microdata and RDFa are attributes woven into your HTML. JSON-LD is cleaner to manage, which is why it’s the standard choice for new implementations.
Schema markup is one of those rare SEO tasks with real payoff for little effort. And if the code side isn’t how you want to spend your afternoons, take a look at our digital marketing services — technical SEO, schema included, is part of what we handle for clients.
