Structured data is extra code on a web page that labels what the content is, in a format machines can read without guessing. Without it, a search engine has to work out from the text which number on a recipe page is the cooking time and which is the calorie count, or which figure on a product page is the price. With it, each value carries a label that says so.
The code sits in the page's HTML, usually as a small block of JSON, and people never see it. Search engines read it to understand the page and, for some kinds of content, to show a richer listing in the results.
What structured data does for you
The visible payoff is rich results: search listings with extra details such as star ratings, prices, event dates, recipe images or breadcrumb trails. These can make a listing stand out and help searchers pick the right result. In one case study Google publishes, Rotten Tomatoes added structured data to 100,000 pages and measured a 25% higher click-through rate on those pages. Treat that as one site's result, not a promise. Google Search Central
Google also uses structured data to understand the page and to learn about the people, companies and things it mentions. Organization markup, for example, can feed your logo and contact details into knowledge panels.
Three limits are worth knowing before you start:
- No guarantee. Valid markup makes a page eligible for a rich result. Google decides case by case whether to show one.
- Not every type gets a rich result. Google supports a specific list of features, and the list changes. FAQ rich results, for example, stopped appearing in Google Search on May 7, 2026. Check the current list in Google's search gallery before you invest in a type.
- Not a ranking shortcut. Markup helps Google read the page; it doesn't make thin content rank. Spammy markup can earn a manual action, which removes the page's rich results but, per Google, doesn't affect how it ranks.
The vocabulary and the formats
Structured data has two parts: a vocabulary that names things, and a format that writes them into the page.
The vocabulary is almost always Schema.org, a shared set of types (Recipe, Product, Event, Organization) and their properties (name, price, startDate). Schema.org defines far more than Google uses, so Google's own documentation is the reference for what Google Search reads.
Google supports three formats and treats them as equally good when the markup is valid:
| Format | How it works | When it fits |
|---|---|---|
| JSON-LD | A separate script block in the <head> or <body> |
Most sites; Google recommends it as the easiest to maintain |
| Microdata | Attributes on the visible HTML elements | Templates that already wrap each value in its own tag |
| RDFa | Attributes on HTML elements, from the linked data world | Sites that already use RDFa |
A small JSON-LD example for a product:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Trail running shoe",
"image": "https://example.com/photos/trail-shoe.jpg",
"offers": {
"@type": "Offer",
"price": "89.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
}
}
</script>
Google can also read JSON-LD that JavaScript adds to the page after it loads.
How to add structured data
- Pick the feature. Find your content type in Google's search gallery and open its guide. Each guide lists the required and recommended properties.
- Mark up what's on the page. The markup must describe content visitors can see on that same page. Don't mark up hidden text, invent reviews or describe things the page doesn't show.
- Fill in the required properties, accurately. Missing a required property makes the page ineligible. Google says a few complete and accurate recommended properties are better than many sloppy ones.
- Use your CMS if you can. WordPress, Shopify, Wix and other systems often add structured data through settings or a plugin, so you may not need to edit code.
- Test before you publish. Google's Rich Results Test shows whether a page is eligible and flags errors.
- Monitor after launch. The rich result reports in Google Search Console catch markup that breaks later, for example after a template change.
How to tell whether it worked
Google suggests a simple before-and-after test. Take a few steady, regularly visited pages without structured data that have several months of data in Search Console. Add the markup, confirm with the URL Inspection tool that Google found it, then compare their clicks and click-through rate in the Performance report over the next few months.
Structured data is also called schema markup, after the vocabulary most of it uses.