Product structured data validator
Does your product data give Google a name, image, price, stock and rating?
- Checks your page
- Reads:HTML
- 4 rules
- Last updated
What we keep
The result appears here
Enter your page’s address and press “Check the page”. This is what the tool runs on it:
- Product offer without a valid price or currency (JSON-LD)not started
- Product markup lacks a name, an image or an offernot started
- Product rating in markup is invalidnot started
- Product availability in markup is not a Schema.org valuenot started
What it checks
- That the product has a
name, animage, and anoffers,revieworaggregateRatingto show beside them. - That each offer has a
pricewritten with digits 0–9 and a full stop (not١٢٫٥٠٠), and apriceCurrencythat is an ISO 4217 code such asSAR, not «ر.س». - That
availabilityis a Schema.org value likehttps://schema.org/InStock, not «متوفر» or “in stock”. - That an
aggregateRatinghas a numericratingValueinside its scale and a review count of at least one, in digits 0–9.
Example
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Product", "name": "عطر العود الملكي", "offers": { "@type": "Offer", "price": "١٢٠٫٠٠", "priceCurrency": "ر.س", "availability": "متوفر" }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "٤٫٥" } } </script>
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Product", "name": "عطر العود الملكي", "image": "https://www.example.com/royal-oud.jpg", "offers": { "@type": "Offer", "price": "120.00", "priceCurrency": "SAR", "availability": "https://schema.org/InStock" }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.5", "reviewCount": "128" } } </script>
How to fix
The markup is written by the theme or an SEO app, from the product's stored fields. Fix it where it is made:
- Price: print the stored number (
120.00), not the formatted text on the page. Eastern Arabic digits and the riyal sign belong to the page, not to the data. - Currency: the three-letter code of the store's currency:
SAR,AED,OMR,KWD,BHD,QAR,EGP. - Availability: map the store's statuses to
https://schema.org/InStock,OutOfStock,PreOrderorBackOrder. - Rating: print
ratingValueandreviewCountfrom the stored numbers, and remove the block while a product has no reviews. - Name and image: make sure the product has a main image; the theme takes the markup's image from it.
On Salla, Zid and Shopify, update the theme to its current version first and check the product's fields; a custom theme's template may need the change by hand. On WordPress, the SEO plugin writes it.
For example:
"price": "120.00",
"priceCurrency": "SAR",
"availability": "https://schema.org/InStock"FAQ
Google reads the price on the page too, but it checks the markup against the page. A price it cannot read in the markup is not used, and a mismatch between them can make the rich result ineligible. Write both, and keep them the same.
price is a number for machines; the currency goes in priceCurrency as its ISO code. The riyal sign (the Saudi riyal's new symbol) or «ر.س» is how the page shows it to people. Schema.org asks for the number alone, with digits 0–9 and a full stop.
No. It reads the markup in the HTML as the server sends it. A theme that adds the markup with JavaScript after the page loads is not seen here; Google may read it, but it is safer in the HTML.
Products named inside a list (a carousel or a category's items) are not judged for a name or an image, because they are the product pages' products. Their offers are still checked for a price and a currency.
What this tool runs
- Product offer without a valid price or currency (JSON-LD)moderate
product-offer-invalid - Product markup lacks a name, an image or an offermoderate
product-required-missing - Product rating in markup is invalidmoderate
product-rating-invalid - Product availability in markup is not a Schema.org valuemoderate
product-availability-invalid
How we measure
We read the JSON-LD blocks in the page's HTML, find the Product objects at the top of a block or in its @graph, and read their offers and ratings, following @id references. The rules are Google's product structured data documentation and Schema.org's definitions: ISO 4217 for currencies, Schema.org's ItemAvailability for availability, digits 0–9 for numbers. See each rule's page for the details.