Skip to content
Utilboxes

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.

Runs entirely in your browser

How to use the Schema Markup Generator

  1. 1Choose FAQ page or Product.
  2. 2Fill in the questions and answers, or the product's details, price and rating.
  3. 3Fix any errors listed under the form; notes are worth reading too.
  4. 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.

Frequently asked questions

Where do I put the JSON-LD script?
Anywhere in the page's HTML — the head or the body; search engines read it either way. If your site builder has a custom code or header scripts setting for the page, paste it there.
Will FAQ schema give my site rich results?
Only if it is a well-known, authoritative government or health website. Google restricted FAQ rich results to those sites in August 2023. The markup remains valid elsewhere, but it will not change how the page appears in results.
Can a page have more than one schema block?
Yes. A page can contain several script tags, for example one for a Product and one for a BreadcrumbList. Describe each thing on the page only once.
Why is my price rejected?
Structured data needs a plain number such as 1299.99. Leave out currency symbols and thousands separators, and put the currency code in its own field.