FAQ Schema JSON-LD Explained

Understand the format, fields, and vocabulary behind FAQPage structured data

What Is JSON-LD?

JSON-LD (JavaScript Object Notation for Linked Data) is a structured data format that makes content machine-readable. It uses standard JSON syntax with special fields (@context and @type) that tell parsers what vocabulary to use.

Unlike older formats like microdata, JSON-LD is placed in a <script> tag inside the <head> โ€” it does not require any changes to your HTML structure or visible content.

FAQPage Schema Structure

A FAQPage JSON-LD has a simple three-layer structure:

{
  "@context": "https://schema.org",       โ† tells parsers to use schema.org vocabulary
  "@type": "FAQPage",                    โ† identifies this as FAQ content
  "mainEntity": [                        โ† array of Question objects
    {
      "@type": "Question",
      "name": "Your question here?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Your answer here."
      }
    }
  ]
}

Required Fields

FieldTypeRequiredDescription
@contextStringYesMust be https://schema.org
@typeStringYesMust be FAQPage
mainEntityArrayYesArray of Question objects (min 1)
mainEntity[].@typeStringYesMust be Question
mainEntity[].nameStringYesThe question text
mainEntity[].acceptedAnswer.@typeStringYesMust be Answer
mainEntity[].acceptedAnswer.textStringYesThe answer text (recommended 40+ chars)

Mini JSON-LD Formatter & Copy Widget

Paste any JSON-LD below to format and validate it:

JSON-LD Input

Why FAQPage JSON-LD Is Still Useful

Even though Google stopped showing FAQ rich results in 2026, FAQPage JSON-LD remains useful for:

FAQPage does not guarantee AI citations, ranking improvements, or featured snippets. It is one signal among many.

โš ๏ธ FAQ Rich Results Are Not Guaranteed. Google stopped displaying FAQ rich results in 2026. Adding FAQPage JSON-LD helps AI readability and content organization โ€” not Google search appearances.

Frequently Asked Questions

What is the difference between FAQPage and QAPage?

FAQPage is for pages where a website owner presents their own FAQ content. QAPage is for pages where community members submit questions and answers (like Stack Overflow). Most websites should use FAQPage.

Can I use HTML entities in FAQ answers?

Yes. JSON-LD supports standard HTML entities. However, avoid overusing special characters. Keep answers in plain, readable language without unnecessary HTML formatting.

What happens if my JSON-LD has a syntax error?

Invalid JSON will be ignored by parsers. Use the formatter widget above to validate your JSON-LD before adding it to your page. A missing comma or unquoted key will cause parsing to fail.

Is there a size limit for FAQPage JSON-LD?

There is no strict limit, but very large FAQPage schemas (hundreds of questions) may be ignored or truncated by some parsers. A typical FAQ section with 5โ€“15 questions is well within acceptable range.