FAQ Schema Hands-On Tutorial: Get Google to Show Your Q&A Cards

What Is FAQ Schema?

FAQ Schema is a structured data type supported by Google. By embedding JSON-LD code in a page's HTML, it tells Google that the page contains question-and-answer content. When configured correctly, Google search results display an expandable Q&A card (a rich result).

Real-world impact:

Standard FAQ Schema Code Template

Place the following JSON-LD code in the page's head or at the bottom of the body:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "问题文本?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "答案文本。"
    }
  }]
}

Step-by-Step Guide

Step 1: Confirm the page has genuine FAQ content

FAQ Schema cannot be added out of thin air—the page's HTML must contain actual, visible Q&A content. Google checks that the code is consistent with the page content.

Step 2: Write high-quality FAQs

Step 3: Add the JSON-LD code

Place the code before the body tag, or inject it via Google Tag Manager.

Step 4: Validate with the Google Rich Results Test tool

Go to the Google Rich Result Test, paste in the page URL, and confirm that the FAQPage type is detected with no errors.

Common Mistakes and Fixes

Mistake Cause How to Fix
Page content doesn't match the Schema The FAQ answers differ from the visible page content Keep the two perfectly consistent
Answers too short (under 50 words) Google considers the answer quality insufficient Expand the answer content
Multiple FAQPages on a single page A page can only have one FAQPage Merge them into a single mainEntity array

The GEO Boost from FAQ Schema

Beyond Google rich results, FAQ Schema can also significantly improve GEO performance. Use our Schema generator to visually generate FAQ Schema code—no need to hand-write JSON.