FAQ Schema Generator

Generate FAQPage JSON-LD structured data from your questions and answers. Valid schema.org markup, ready to paste.

Independently verified for accuracy

Calculator by Toolsloft ↗

Turn a list of questions and answers into FAQPage structured data that can qualify your page for FAQ rich results in search. Enter each pair, and the tool outputs valid JSON-LD ready to paste into a script tag in your page head. Blank rows are skipped automatically.

How this is calculated

The output follows the schema.org FAQPage vocabulary: a FAQPage with a mainEntity array of Question items, each holding an acceptedAnswer of type Answer. Text is trimmed and the JSON-LD is printed with two-space indentation so it is easy to read and drop into your markup.

How to use

  1. Type each question and its answer into a row.
  2. Add more rows for every FAQ you want to include.
  3. Copy the JSON-LD and paste it inside a script tag in your page head.

Examples

  • Two FAQs: two question and answer pairs produce a mainEntity array of two items
  • Skip blanks: a row with an empty question or answer is left out

FAQ

Where do I put the generated code?
Paste it inside a script tag with type application/ld+json in the head of the page the FAQs appear on. The visible content should match the markup.
Does this guarantee FAQ rich results?
No. It produces valid FAQPage markup, but whether search engines show a rich result depends on their own eligibility rules and current features.
Should the answers match my page text?
Yes. Search guidelines expect the FAQ content in the markup to be the same content a visitor can see on the page.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.