Skip to content

FAQ schema generator

Turn questions and answers into FAQPage structured data.

Free, no signup, and it runs entirely in your browser.

Question 1
Output
Add a question and answer.

Put this in a <script type="application/ld+json"> tag. The questions and answers must also be visible on the page — marking up content a visitor cannot see is what gets structured data penalised.

About this tool

FAQ structured data tells a search engine that a block of your page is a set of questions and answers. Google narrowed the rich result to health and government sites in 2023, so the expanding accordion is largely gone — but the markup still helps machines understand the page, and it is what AI assistants read when extracting an answer to cite.

  • The questions and answers must be visible on the page. Marking up content a visitor cannot see is a structured-data violation, and it is enforced.
  • Answers may contain basic HTML — links, bold, lists. Keep them full sentences: an answer that only makes sense next to the question does not survive being extracted.
  • One FAQPage block per page. Several compete and validators flag it.
  • Output goes in a script tag with type application/ld+json, anywhere in the head or body.

Questions

Does FAQ schema still show rich results?
Rarely. Since 2023 Google shows the FAQ rich result mainly for well-known health and government sites. The markup is still worth adding for machine readability and for AI answers that cite sources.
Do the questions have to be on the page?
Yes. Marking up content that is not visible to a visitor violates the structured data guidelines and can cost you rich results across the whole site.
Can I have more than one FAQ block?
One FAQPage per page. Put every question in the single block rather than emitting several.

Related tools