A search engine reading a web page is, in a sense, reading blind. It sees words and links, but it has to infer what those words mean — that "£12.99" is a price, that "4.8 stars" is a rating, that "7 March, 7pm" is when an event begins. Schema markup removes the guesswork. It is a way of labelling your content so explicitly that a machine cannot misunderstand it, and the payoff is listings that can look richer and clearer in search. This guide explains what schema markup is, how it works, and how to use it without tripping over the pitfalls.

What it is

Schema markup, also called structured data, is code added to a web page that labels its content using a shared vocabulary, so that search engines can understand exactly what each piece of information represents. Rather than leaving a search engine to deduce that a block of text is a recipe, you explicitly tag the ingredients, cooking time, calories and reviews as such.

That shared vocabulary is maintained at schema.org, a collaborative project backed by Google, Microsoft, Yahoo and Yandex. It defines hundreds of typesRecipe, Product, Event, Organization, FAQPage, LocalBusiness and many more — each with a set of properties. Because the major search engines agreed on it together, marking your content up once helps you across all of them. Schema sits within the broader technical side of search engine optimisation, alongside speed, crawlability and clean code.

How schema markup works

The idea is to translate human-readable content into machine-readable labels. Consider a page advertising a cookery workshop. A human instantly understands the date, location and price. A search engine, without help, sees only text. Schema markup lets you spell it out:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Event",
  "name": "Beginners Bread-Making Workshop",
  "startDate": "2024-03-07T19:00",
  "location": {
    "@type": "Place",
    "name": "Riverside Community Kitchen, Leeds"
  },
  "offers": {
    "@type": "Offer",
    "price": "35.00",
    "priceCurrency": "GBP"
  }
}
</script>

That block tells any compliant search engine, unambiguously, that this page describes an event, when it starts, where it is, and what it costs. The example above is written in JSON-LD (JavaScript Object Notation for Linked Data), the format Google recommends because it sits in one tidy block and does not tangle with your visible HTML. Two older formats, Microdata and RDFa, achieve the same thing by weaving attributes into the page's existing tags; they still work, but JSON-LD is now the standard choice.

Rich results: the visible payoff

The reason most people add schema markup is to become eligible for rich results (sometimes called rich snippets) — search listings enhanced with extra visual detail pulled straight from your structured data. You have seen them constantly, perhaps without naming them:

What Is Schema Markup?
Photo: Sandra Fauconnier / Wikimedia Commons (CC0)
  • Star ratings glowing yellow beneath a product or recipe.
  • FAQ accordions that expand questions directly in the results.
  • Recipe cards with a photo, cooking time and calorie count.
  • Event listings showing dates and venues.
  • Breadcrumb trails that replace a raw URL with a tidy site path.
  • Sitelinks search boxes for large, well-known sites.

These enhancements make a result physically bigger and more useful, which tends to draw the eye and lift the proportion of people who click. That is the practical value: not a higher position, but a more compelling listing in the position you already hold. It is worth being clear that schema markup is not a ranking factor — Google has said so directly. The benefit flows through click-through rate instead, and a more informative snippet can also set better expectations, helping reduce the instant exits that push up your bounce rate.

Structured data does not tell a search engine that your page is better. It tells the search engine what your page is — and that clarity is what unlocks the richer, more clickable listing.

Structured data is becoming more valuable, not less, as search evolves. Increasingly, search engines and AI tools do not just list pages — they read across them and assemble direct answers, summaries and overviews. To do that reliably, a machine has to be confident about what each fact means. Clearly labelled content is far easier for an answer engine to interpret, trust and reuse correctly than a wall of ambiguous text.

This is one reason structured data sits at the heart of newer disciplines such as answer engine and generative engine optimisation, explored in our guide to SEO, GEO and AEO. For a view of how this plays out in practice, the agency CM Beyer examines the way AI-generated overviews are reshaping search traffic, and the consistent lesson is that machine-readable, well-sourced content is what surfaces when an algorithm — rather than a person — is doing the reading. Marking your content up is, in effect, future-proofing it for that shift.

How to add schema markup sensibly

You do not need to be an engineer to get started, but you do need to be careful. A measured approach:

  1. Pick the right type. Match the schema type to your content — Product for shop pages, Recipe for recipes, FAQPage for genuine question-and-answer sections, LocalBusiness for a physical premises. Browse schema.org to find the best fit.
  2. Generate or write the code. Most content platforms and SEO plugins can produce structured data automatically. Free generators will also build JSON-LD from a simple form, and Google publishes templates in its documentation.
  3. Only mark up what is visible. This is the cardinal rule. Structured data must reflect content that actually appears on the page. Marking up reviews you do not display, or prices you do not show, breaches Google's guidelines and risks a manual penalty.
  4. Validate before you trust it. Run your page through Google's Rich Results Test and the Schema Markup Validator. They flag errors and warnings and show which rich results you qualify for. Broken markup can be worse than none.
  5. Monitor the outcome. Google Search Console reports on the structured data it has detected, including errors, so you can keep an eye on things over time.

A final caution: more is not always better. Mark up the things that genuinely benefit from it — products, reviews, events, recipes, organisation details, key FAQs — rather than tagging everything in sight. Quality and accuracy beat volume every time.

How it fits the wider strategy

Schema markup is a technical enhancement, not a strategy in its own right. It makes good content easier for machines to understand and more striking in search, but it cannot rescue a thin or unhelpful page. It works best layered on top of the fundamentals — useful content, a fast and crawlable site, clear titles and descriptions — and as one supporting piece of the journey that turns a searcher into a customer. Used honestly, it is one of the highest-leverage small jobs in technical SEO.

The bottom line

Schema markup is structured code that labels your content using the shared schema.org vocabulary, so search engines understand precisely what each part of a page means. It will not raise your ranking, but it can make your page eligible for rich results — stars, FAQs, recipe cards, event details — that stand out in search and earn more clicks, and it increasingly helps AI-driven answer engines interpret and reuse your information correctly. Use JSON-LD, pick the right schema type, mark up only content that genuinely appears on the page, follow Google's guidelines, and always validate before you publish. Done properly, it is a small technical investment that makes your best pages work harder.

Frequently asked questions

Does schema markup improve my Google ranking?

Not directly. Google has said structured data is not a ranking factor in the way that relevance or links are. Its benefit is that it makes pages eligible for rich results — enhanced listings with stars, prices, FAQs and more. Those richer, more eye-catching listings can lift your click-through rate, which brings more visitors, so the effect on traffic is real even though the effect on ranking position is not.

What is the difference between schema.org and JSON-LD?

Schema.org is the shared vocabulary — the agreed list of types and properties such as Recipe, Product, Event or FAQPage and their attributes. JSON-LD is one of the formats used to write that vocabulary into a page, and it is the format Google recommends. In short, schema.org is the language and JSON-LD is one way of speaking it. The alternatives, Microdata and RDFa, embed the same vocabulary directly in the HTML.

Do I need to know how to code to use schema markup?

It helps, but it is not essential. Many website platforms and SEO plugins can generate structured data for you, and there are free tools that build the code from a simple form. If you do edit it by hand, JSON-LD is fairly readable. Whatever method you use, always validate the result with a testing tool before publishing, because incorrect markup can do more harm than good.

Will adding schema markup guarantee rich results in search?

No. Valid markup makes a page eligible for rich results, but Google decides whether and when to show them. It weighs quality, relevance and whether the markup accurately reflects visible content. Marking up content that is not actually on the page, or that violates the guidelines, can lead to a manual penalty, so accuracy matters more than ambition.

Sources

  1. Schema.org — official documentation
  2. Google Search Central — Intro to structured data markup