Resources / Structured data / Template

FAQPage JSON-LD Template

Describe visible publisher-written questions and answers without implying current rich-result eligibility.

What this describes

Use FAQPage when a page contains questions and answers supplied by the publisher and visitors cannot submit competing answers. Use QAPage for a page centered on one question with user-submitted answers. Choose the type because it accurately describes the page, not to create a FAQ section for a hoped-for search display.

Copyable template

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "@id": "https://www.example.com/help/example-topic/#faq",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is the first visible question?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The complete answer shown on the page."
      }
    },
    {
      "@type": "Question",
      "name": "What is the second visible question?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The complete second answer shown on the page."
      }
    }
  ]
}

Customize it

Validate it

Use the live-page JSON-LD validation tutorial and test it with Schema.org Validator. Compare every question and answer with the rendered page. Do not use rich-result appearance as the success criterion for this template; check a current consumer’s documentation only when that feature is part of the implementation goal.

Official reference

Completion check

  • Mark up only questions and answers visible on the page.
  • Use FAQPage only for publisher-authored answers without user alternatives.
  • Keep answer text current and complete.