FAQ schema for AI answers: FAQPage JSON-LD example

What is FAQ schema, and does it help with AI answers? FAQ schema is FAQPage structured data in JSON-LD that labels the questions and answers already visible on a page. It tells machines exactly which text is a question and which is its answer. It does not guarantee a rich result or an AI citation, but it makes a page’s question-and-answer content unambiguous.

This article shows a working example, the rules that keep it valid, and the mistakes to avoid. It follows the schema.org definition and Google’s published structured data guidance. Check Google’s documentation for what it currently displays, because eligibility for FAQ rich results has been narrowed over time.

What FAQPage markup does and does not do

What it does:

  • Marks each question and its accepted answer, so a parser does not have to guess from layout.
  • Keeps your question text and answer text paired in one machine-readable block.

What it does not do:

  • It does not make a search engine or AI assistant cite you.
  • It does not replace good on-page content. The visible text is what matters most.
  • It is not a place for text that visitors cannot see.

Treat it as tidy labelling of good content, not as a trick.

A copy-ready FAQPage JSON-LD example

Place this in a <script> tag in the page, usually in the <head>. Replace the text with your own, and keep it identical to the visible FAQ.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How much does the Starter plan cost?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The Starter plan costs $95 per month."
      }
    },
    {
      "@type": "Question",
      "name": "Can I cancel at any time?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. You can cancel from your account settings and keep access until the end of the billing period."
      }
    }
  ]
}
</script>

Answers may include simple HTML such as links, lists and line breaks. Keep them short and factual.

Rules that keep it valid and honest

  1. Match the visible page. Every question and answer in the JSON-LD must appear on the page, with the same wording. Hidden or different text can be treated as misleading markup.
  2. One FAQ block per page. Do not repeat the same FAQ across many pages just to carry markup.
  3. Use it for real questions with one clear answer. It is not meant for forums where many people answer, which use a different type (QAPage).
  4. Do not use it for advertising. Answers that are purely promotional are a poor fit.
  5. Keep it current. If prices or policies change, update the visible text and the JSON-LD together.

How to write the questions

Good FAQ questions come from real sources: sales calls, support tickets, search queries, the “People also ask” box and the questions you ask AI assistants yourself.

  • Phrase them the way a customer would.
  • Lead each answer with the answer, in one or two sentences.
  • Cover price, how it works, who it is for, limits and alternatives.

For a worked approach to planning content around questions, see the key to prompt tracking.

Add it without touching every page by hand

If your site is built from templates, generate the JSON-LD from the same data that renders the FAQ, so the two cannot drift apart. That is the safest pattern: one source of truth, two outputs.

Doing it by hand across many pages is where errors creep in. SuperRank’s automatic fixes can write FAQ content and matching schema in your site’s own components and open it as a pull request on GitHub that you review before it goes live. Use the free page fix checker to see whether a page already has valid FAQ markup.

Test your markup

  1. Open the page and view source to confirm the script is present.
  2. Paste the page URL or code into Google’s Rich Results Test and the Schema Markup Validator.
  3. Fix any errors, then re-test.
  4. Check Search Console’s enhancement reports after Google recrawls.

Using HTML inside answers

Answers may contain a limited set of HTML tags: headings, line breaks, lists, links and basic emphasis. This lets one answer carry steps or a link to a deeper page, as long as the visible FAQ shows the same content.

{
  "@type": "Question",
  "name": "How do I add a site to SuperRank?",
  "acceptedAnswer": {
    "@type": "Answer",
    "text": "<p>Add your website address, connect Google, then connect your repository.</p><p>Read the <a href=\"/docs\">documentation</a> for details.</p>"
  }
}

Keep answers under a few sentences. Long essays inside a schema field are hard to read and are not what the format is for.

FAQ

Will FAQ schema get me into AI Overviews or ChatGPT answers?

There is no evidence that markup alone does that. It clarifies your content, and clear content is easier for any system to use. Do not expect it to produce citations by itself.

Does Google still show FAQ rich results?

Google has limited FAQ rich results to certain kinds of sites. Check its current documentation. The markup can still be useful for clarity even where no rich result appears.

Should every page have FAQ schema?

No. Add it where a page genuinely has a visible set of questions and answers. Adding it everywhere dilutes its meaning.

Next step

Pick one page with a real FAQ, add the markup above, and validate it. Then see the AI search visibility checklist for what to do next.