1001Ferramentas
SEO

FAQ Rich Snippet Builder

Build a basic FAQPage JSON-LD schema with one Q&A pair.


  

FAQPage JSON-LD without memorizing syntax

The FAQ is already written on the page and you want search engines to recognize it as a question list. So you open the schema.org docs, copy an example, swap the text, and the Rich Results Test throws an error — usually a stray comma or a brace closed one level too early. Hand-writing JSON-LD is annoying less because of the structure and more because of the silly mistake that only surfaces at validation time.

Here you fill in two fields, Question and Answer, and the output is the whole FAQPage block, already wrapped in a script type=application/ld+json tag and indented two spaces. Both strings go through JSON.stringify before landing in the object, so quotes, backslashes and accented characters in the answer will not break the markup. The limit is stated plainly: one pair at a time. The mainEntity array ships with a single Question object, so a five-question FAQ means duplicating that object five times, comma separated.

Before you invest much here, know that since August 2023 Google has limited FAQ rich results to recognized government and health sites. The markup is still valid and other consumers can read it, but the accordion in the SERP probably will not show up. If you do publish it, make sure the question and answer in the JSON match word for word what the visitor sees on the page — marking up hidden content as FAQ is a guideline violation. Everything runs in your browser; nothing is uploaded.

Frequently asked questions

Can it output several questions at once?
No. It builds one pair at a time. For more questions, copy the Question object inside the mainEntity array and paste it as many times as you need, separated by commas.
Where do I paste this block?
Inside head or anywhere in body — Google accepts both. What matters is that it ships in the served HTML rather than being injected later by client-side JavaScript.
Do I still need the FAQ visible on the page?
Yes. Google requires the question and answer to be visible to users with the same wording as the markup. FAQ that exists only in JSON-LD can trigger a manual action.

Related Tools