Schema Markup Generator
Create FAQPage and Product structured data without writing JSON by hand. Fill in the form, fix anything flagged, and paste the script tag into your page.
How to use the Schema Markup Generator
- 1Choose FAQ page or Product.
- 2Fill in the questions and answers, or the product's details, price and rating.
- 3Fix any errors listed under the form; notes are worth reading too.
- 4Copy the script tag into your page's HTML, then confirm it with Google's Rich Results Test.
How it works
Structured data is a block of JSON-LD in a page that describes its content in schema.org's vocabulary, so search engines do not have to infer it. An FAQPage lists Question items, each with an accepted Answer; a Product carries its name, images and identifiers, an Offer with price, currency and availability, and optionally an AggregateRating.
The checks follow Google's documentation. A product needs a name and at least one of an offer, a rating or a review before it can show product details in results. Prices must be plain numbers with a three-letter ISO 4217 currency code, availability and condition use schema.org's values, and a GTIN must have 8, 12, 13 or 14 digits with a correct check digit — the tool calculates it, because a mistyped barcode number is a common error.
Two rules decide whether markup helps. It must describe what visitors can actually see on the page — the same questions and answers, the same price. And ratings must come from genuine customer reviews shown on the page; marking up ratings you wrote yourself is against Google's guidelines.
Since August 2023 Google has shown FAQ rich results only for well-known, authoritative government and health websites. On other sites FAQPage markup is still valid and still read, but it will not produce expandable questions in search results. The code is escaped so that text such as </script> inside an answer cannot break your page.