Generate valid JSON-LD Product structured data for an e-commerce page — fill in the product name, description, image, brand, SKU, price, availability, and rating, then copy the schema code straight into your site to unlock rich results.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Your Product Name"
}
</script>Search engines treat product pages differently from ordinary content pages, and Product schema is the mechanism that signals a page is specifically about a purchasable item rather than an article or a general listing. This structured data is a foundational input for Google's Shopping-related rich results — star ratings, price, and availability shown directly beneath a search result — and for Merchant Center feeds more broadly, since many of the same properties (price, availability, brand) overlap with what a shopping feed requires.
The output follows the JSON-LD format recommended by schema.org and Google's structured data guidelines: a top-level Product object with flat properties (name, description, image, sku) alongside two nested objects for data that genuinely has its own sub-structure — an Offer object (holding price, currency, and availability) and an AggregateRating object (holding rating value and review count). Any field left empty in the form is omitted from the output entirely rather than included as an empty or placeholder value, which keeps the schema clean and avoids the kind of incomplete or fabricated data that can trigger a structured data guideline violation.
Schema.org groups price, currency, and availability into a single nested Offer object because together they describe one specific purchasing condition for a product — this tool only generates that Offer block at all if you've entered a price, since availability and currency without an actual price wouldn't represent a meaningful, standalone offer. The availability values (InStock, OutOfStock, PreOrder, Discontinued) are automatically formatted as full schema.org URLs (like https://schema.org/InStock) in the output, matching the exact format Google's rich results system expects rather than a plain text label.
The aggregateRating property is one of the most heavily scrutinized parts of Google's structured data guidelines, precisely because star ratings are highly visible and influential in search results — Google requires that any rating shown via schema actually be visible to a human visitor on the same page, sourced from genuine customer reviews rather than a third-party aggregate or a self-assigned score. This tool includes the property only when you provide both a rating value and a review count, but the responsibility for ensuring that data reflects real reviews on the page rests with you as the page's publisher.
After adding the generated code to your live product page, run the page through Google's Rich Results Test to confirm the Product markup is eligible for rich results and to catch any warnings specific to missing recommended fields (Google recommends, though doesn't strictly require, including image, offers, and aggregateRating for full rich-result eligibility). The test will show exactly which properties were parsed successfully and flag anything that needs attention before the change goes live broadly.
Product Schema pairs naturally with these SEO tools for structured data and technical SEO.