Short answer: schema markup is code that describes a page in a fixed vocabulary, published at schema.org, so machines can read the facts on it without guessing. It says, for example, "this page is a Product called Blue Linen Shirt, priced at 45.00 GBP, in stock". Shoppers never see it. Search engines use it to understand the page, and Google uses some types to make pages eligible for rich results such as price, stock and review stars. It is not a ranking factor and does not guarantee any rich result.
Schema markup in one paragraph
A web page is written for people. A search engine reading "£45, only 3 left, 4.6 stars" has to work out which number is the price, which is stock and which is a rating. Schema markup removes the guesswork by stating those facts in a shared vocabulary. Schema.org was started in 2011 by Google, Microsoft (Bing) and Yahoo, with Yandex joining later that year, so that one set of names, such as Product, Offer, Organization and BreadcrumbList, would mean the same thing to every search engine.
The terms get used loosely. Structured data is the general idea of machine-readable facts on a page. Schema markup is structured data written in the schema.org vocabulary. Rich snippets, which Google now calls rich results, are the enhanced search listings that structured data can make a page eligible for. On most sites the three are talked about as if they were the same thing.
What schema markup looks like
Schema markup can be written in three formats: JSON-LD, Microdata and RDFa. Google supports all three and recommends JSON-LD, which is what most Shopify themes and apps use. It is a block of data in a script tag that the browser does not display:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Blue Linen Shirt",
"image": "https://example.com/images/blue-linen-shirt.jpg",
"offers": {
"@type": "Offer",
"price": "45.00",
"priceCurrency": "GBP",
"availability": "https://schema.org/InStock"
}
}
</script>
@type says what the thing is, and the other keys are facts about it. A property can hold another typed object, like the Offer nested inside the Product here. Our guide to what JSON-LD is explains the format line by line.
What schema markup does, and what it does not
| It can | It cannot |
|---|---|
| Make a page eligible for rich results such as price, availability, review stars and breadcrumbs | Force Google to show a rich result. Google decides per search |
| Make product pages eligible for merchant listings in Google's shopping results | Improve rankings directly. Google has said structured data is not a ranking factor |
| State prices, stock, brand and identifiers in an unambiguous way | Fix a page that Google has not crawled or indexed |
| Give other tools, including AI assistants that read pages, the same clear facts | Guarantee a mention in any AI answer |
Google's own rules matter too. Its structured data policies say markup must describe content that is visible on the page. A price or rating that appears only in the markup goes against those policies. Our guide to the real benefits of schema markup for SEO covers this in more depth.
Schema markup on a Shopify store
Most Shopify stores already have some schema markup before the owner does anything. The theme usually outputs Product on product pages and often Organization and WebSite on the home page. Review, SEO and schema apps then add their own blocks, and older apps may have left code in the theme. The common problems are gaps (no BreadcrumbList, no brand or GTIN on the Product) and duplicates (two Product blocks on one page that disagree).
So the first step is to see what is there, not to add more. Run a product page through Google's Rich Results Test, or use Schema Clinic, which audits about 13 pages across your page types, shows the source of each block (theme, app or Schema Clinic) and flags errors, duplicates and missing types. Starter is $9.99/month; Pro ($19.99/month) also generates and deploys linked schema through an app embed, with no theme code edited. There is no free plan or trial. For the full picture of which types each Shopify page needs, read our Shopify schema markup guide.