How to Add FAQ Schema to a Page (and When It Is Worth It)

A practical guide to FAQPage structured data: how the JSON-LD is built, what Google still shows for it, the content rules, and how to add it to any site.

Updated September 29, 2026 6 min read

Use the free FAQ Schema GeneratorCreate FAQPage JSON-LD structured data from questions and answers

Frequently asked questions sections are everywhere: product pages, service pages, help centres and the bottom of blog posts. For several years, adding FAQ structured data to those sections could make a Google result grow with expandable questions underneath it, so many site owners added it to almost every page.

Things have changed since then, and a lot of advice online is out of date. This guide explains what FAQ schema is, what search engines do with it today, how the markup is structured, and how to create and install it without errors.

What FAQPage structured data is

Structured data is a machine-readable description of a page, written in the schema.org vocabulary. For questions and answers there is a type called FAQPage. Its mainEntity property holds a list of Question items, and each question has an acceptedAnswer of type Answer.

The most common format is JSON-LD, a block of JSON inside a script tag:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does standard shipping take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Standard orders arrive in 3-5 business days."
      }
    }
  ]
}
</script>

The script does not change what visitors see. It sits alongside your visible FAQ and tells machines which text is a question and which is its answer.

What Google does with FAQ markup now

In 2023 Google announced that FAQ rich results would be shown mainly for well-known, authoritative government and health websites. For most commercial sites, blogs and shops, adding FAQ schema no longer produces the expandable questions in Google results.

That does not make the markup useless or harmful:

  • It remains valid schema.org and is still read by Google and other search engines as a description of the page.
  • Other services that consume structured data can use it.
  • It costs little to maintain if your FAQ content is stable.

What it no longer does for most sites is guarantee extra space on the results page. Decide whether to use it on that basis, not on older promises of bigger listings.

The content rules that still apply

Google's guidelines for FAQ markup are worth following even if you are not eligible for the rich result, because breaking them can make structured data on your site look unreliable:

  • The questions and answers must be visible on the page. Markup for text that users cannot see is against the guidelines.
  • Use it for real FAQs written by you. Pages where users submit answers, such as forums, should use QAPage instead.
  • Do not use it for advertising. Answers should inform, not be a vehicle for promotional copy.
  • Avoid repeating the same FAQ across many pages. Mark it up on one page, not on every page where it appears.

Answers may contain a limited set of HTML tags. Google lists headings, line breaks, ordered and unordered lists, list items, links, paragraphs, and bold and italic tags as allowed. Anything else is ignored.

Create FAQ schema with our generator

The FAQ Schema Generator builds the JSON-LD as you type and checks it at the same time.

  1. Open the FAQ Schema Generator. Three sample questions are filled in; overwrite or remove them.
  2. Under Questions and answers, type the first Question and its Answer. Use the exact wording that appears on your page.
  3. Press Add question for each extra item. Use the arrow buttons to move a question up or down, and the bin icon to remove one.
  4. Watch the Checks panel. It counts complete questions, warns about rows with a missing question or answer (these are left out of the output), flags duplicate questions, and tells you if an answer contains HTML tags that Google ignores.
  5. Copy the full script block from the output panel, or press Download to save it as an HTML file. Copy JSON only gives you the raw object without the script tag.
  6. Use the Rich Results Test or Schema validator buttons to check the result with Google's and schema.org's own tools.

Installing the markup

Where you paste the script depends on your platform:

  • Hand-coded sites: paste the script into the <head> or anywhere in the <body> of the page. Both work.
  • WordPress and similar CMSs: use a custom HTML block at the end of the post, a header-scripts field in your theme, or an SEO plugin that supports custom schema. Check that the plugin is not already outputting its own FAQ markup, or you will have two.
  • Tag managers: injecting JSON-LD with a tag manager can work, but the markup is then added by JavaScript. Server-rendered markup is simpler to debug.

After publishing, run the live URL through the Rich Results Test and, later, check the Enhancements section of Search Console for errors.

Alternatives to writing it yourself

Your CMS or theme. Some FAQ blocks and page builders add schema automatically. This keeps visible content and markup in sync, which is the biggest advantage. If yours does, you may not need a generator at all.

Writing JSON by hand. For two or three questions this is fine. The risk is small syntax errors: a missing comma or an unescaped quotation mark breaks the whole block. A JSON Formatter will point out the exact line.

Microdata or RDFa. You can also mark up FAQs with attributes inside the HTML itself. It keeps markup next to content, but it is harder to read and edit. Google recommends JSON-LD where possible.

Common mistakes

The answer on the page and in the markup differ

It is easy to update the visible FAQ and forget the script. Keep them identical, or generate both from the same source.

Several FAQPage blocks on one page

One page should have one FAQPage with all its questions in mainEntity. If a theme and a plugin both output markup, remove one.

Quotation marks breaking the JSON

A generator escapes quotation marks for you. If you edit the output by hand, a stray " inside an answer will end the string early.

Marking up content that is not an FAQ

Step-by-step instructions belong in a different type (see the HowTo Schema Generator), and articles in Article markup from the Article Schema Generator.

Frequently asked questions

Does FAQ schema still produce rich results in Google?

For most websites, no. Since 2023 Google shows FAQ rich results mainly for well-known government and health sites. The markup is still valid and understood by search engines.

Is it harmful to keep FAQ schema on my pages?

No. Valid FAQ markup that matches visible content is not harmful. You can keep it, but it is not worth adding to every page in the hope of bigger listings.

How many questions should an FAQ schema contain?

There is no fixed minimum or maximum. Include the questions that genuinely appear on the page, and avoid padding the list with thin questions.

Yes. Google allows a limited set of HTML in answer text, including links, paragraphs, lists, line breaks, headings and bold or italic tags. Other tags are ignored.

Where should the JSON-LD script go?

Either in the head or the body of the page. Search engines read it in both places, so choose whichever your platform makes easiest.

Try it now: FAQ Schema Generator

Loading tool…