Marketing · November 7, 2023 · Harper Quinn · 6 min
Schema markup is structured code you add to a web page to help search engines understand its content. This guide explains how it works, the rich results it can unlock, and how to add it sensibly.
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.
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 types — Recipe, 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.
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.
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:
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.
You do not need to be an engineer to get started, but you do need to be careful. A measured approach:
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.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.
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.
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.