FAQ Schema Generator
Generate FAQPage JSON-LD for Google rich results from your Q&A list.
Paste this inside the <head> of your page (or just before </body>).
What is zeroserver.tools?▼
Are these tools free to use?▼
Do you store the data I enter?▼
Illustrative only — Google's actual display varies. Verify with Google's Rich Results Test.
About FAQ Schema Generator
Google's FAQ rich results display a list of expandable questions and answers directly in search results, increasing your listing's visibility and click-through rate. This tool builds the required FAQPage JSON-LD markup from your questions and answers. Add up to 20Q&As (Google's recommended limit), then paste the generated <script type="application/ld+json"> block into your page's <head>. Validate the result with Google's Rich Results Test before deploying.
Built and maintained by Meet Shah · Last updated
What this tool is used for
- Adding FAQPage markup to a page whose questions are visible to readers.
- Producing the question and answer structure the specification expects.
- Marking up an existing FAQ block that has no structured data.
- Producing consistent markup across several FAQ pages.
- Checking the marked-up questions still match the ones the page renders.
Frequently Asked Questions
- What does FAQPage markup do?
- It describes a page's question-and-answer pairs to search engines in JSON-LD, so they can be understood as structured content rather than inferred from headings.
- Will it get me rich results?
- Rarely now. Google restricted FAQ rich results in 2023 to well-known authoritative government and health sites. The markup is still valid and still helps machines understand the page — the visual snippet is what went away.
- Does the content have to be visible?
- Yes. Marking up answers hidden from users is a structured-data policy violation, and the penalty applies site-wide rather than to one page. Every question in the markup must appear on the page itself.
- Where should the script tag go?
- Anywhere in the document — head or body both work for JSON-LD, which is why it is preferred over microdata. Keeping it in the head is conventional and makes it easier to find.
- Can answers contain HTML?
- A limited set — links, lists and basic formatting are permitted inside the answer text. The markup must be escaped correctly for JSON, which is what generating rather than hand-writing the block avoids getting wrong.
- Should every page have FAQ markup?
- Only pages with genuine FAQ content. Inventing questions to attach markup to is exactly the thin-content pattern that prompted the restrictions, and it makes the page worse for the readers it is supposedly for.
Common errors and gotchas
- Marking up questions the page does not display, which is a guidelines violation rather than an optimisation.
- Using FAQ markup on a page that is not an FAQ, such as a product page with one question.
- Including answers users can submit or edit, which the guidelines exclude.
- Marking up the same question in several blocks, which makes the page's structured data contradictory.
- Expecting a rich result, since eligibility for FAQ results has been narrowed substantially.