Structured data tool

FAQ Schema Generator

Enter your questions and answers and get FAQPage JSON-LD markup instantly, ready to paste into your page. Nothing is sent to a server; the code is built in your browser.

Note: only mark up questions and answers that are visible on the page. Use a single FAQPage block per page. Since 2023 Google shows FAQ rich results only for well-known government and health sites.
QUESTION 1
JSON-LD code

In short: FAQ schema is structured data that labels the questions and answers on a page using the schema.org FAQPage type, usually written as JSON-LD. This FAQ schema generator turns your Q&A pairs into that code. Paste it into the page that shows the same questions, then validate it with Google's Rich Results Test.

What FAQPage markup does after Google's 2023 change

Until 2023, FAQ markup was one of the easiest ways to take up more space in Google: a result could show two or three expandable questions under the snippet. On August 8, 2023 Google announced that FAQ rich results would only be shown for "well-known, authoritative government and health websites". For everyone else, the markup stopped producing a visible change in Google search.

That does not make FAQPage markup invalid or harmful. It remains part of schema.org, Google's Rich Results Test still parses it, and Bing and other consumers of structured data can read it. More practically, it gives machines an unambiguous list of question and answer pairs. Search engines and AI systems that summarize pages can use that structure to understand which sentence answers which question, as long as the same text is visible on the page. Expect clarity, not extra pixels in the results.

FAQPage JSON-LD example

Here is a minimal, valid block with two questions. Each item in mainEntity is a Question with a name and an acceptedAnswer that holds the answer text:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does shipping take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Orders ship within 1 business day and arrive in 3 to 5 days in the US."
      }
    },
    {
      "@type": "Question",
      "name": "Can I return worn shoes?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, within 60 days if they were only worn indoors."
      }
    }
  ]
}
</script>

The generator escapes quotes, line breaks and other special characters for you, which is where hand-written JSON-LD most often breaks. A single stray quote makes the whole block invalid, and the Rich Results Test will report a parsing error rather than a missing field.

Rules your FAQ structured data must follow

  • Visible content only. Every question and answer in the markup must appear on the page, in substance and wording.
  • Written by the site. FAQPage is for questions you answer yourself. Forum threads or product Q&A where users post answers use QAPage.
  • No advertising. Answers that exist only to promote a product or contain offensive content violate Google's guidelines.
  • Limited HTML is allowed. Answer text may contain basic tags such as <a>, <p>, <ul>, <li>, <br> and <strong>. Plain text is safest.
  • One instance per question. If a question repeats across your site, mark it up on one page only.
Page typeSchema typeWho writes the answers
Help center article, product page FAQ, service FAQFAQPageThe site owner, one answer per question
Forum thread, community question, product Q&AQAPageUsers, often several competing answers

Adding the markup and testing it

JSON-LD can go in the <head> or anywhere in the <body>; Google reads both, and JSON-LD is the format it recommends because it stays separate from your HTML. On WordPress you can add it with a custom HTML block next to the FAQ section, but check first whether your SEO plugin already outputs FAQ schema from its FAQ block, or you will end up with two. Then test the live URL in Google's Rich Results Test and in the Schema Markup Validator at validator.schema.org. A "valid" result confirms the syntax; it does not mean the FAQ will be displayed in search.

Frequently asked questions

Is FAQ schema still worth adding in 2026?

For most sites it no longer earns an expandable FAQ result in Google, because since August 2023 Google shows those only for well-known, authoritative government and health websites. It is still worth adding when the page has a genuine FAQ section: it costs a few lines of code, it is valid schema.org markup that other search engines and tools can read, and it states your questions and answers in a form machines parse without guessing.

Does FAQ schema help with AI Overviews or ChatGPT answers?

There is no guarantee. Google says no special markup is required to appear in AI Overviews, and AI assistants mostly read the visible page text. FAQPage markup can make question and answer pairs easier to extract, but only if the same text is clearly written on the page. Treat it as a clarity aid, not a ranking trick.

Can a page have more than one FAQPage block?

Use one FAQPage per page and put all questions into its mainEntity array. Several separate FAQPage blocks on one URL can be reported as duplicate items. If the same question appears on many pages of your site, mark it up on only one of them.

Related tools: Meta Tag Generator · JSON Formatter · SERP Snippet Preview