FAQ schema example (FAQPage JSON-LD)

FAQ schema is a block of JSON-LD that labels each question on a page and the answer that belongs to it, using the schema.org type FAQPage. Below is a working example you can paste into a page, the rules that keep it valid, and two ways to combine it with WebPage schema. One thing to know first: Google stopped showing FAQ rich results on 7 May 2026, so this markup no longer changes how your Google listing looks.

A FAQPage example you can copy

Paste this into the HTML of the page that shows the questions, in the head or the body. Swap the two sample questions for your own, and keep the wording identical to what a visitor reads on the page.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you offer same-day service?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Jobs booked before 10am on a weekday are attended the same day across the Sydney metro area."
      }
    },
    {
      "@type": "Question",
      "name": "Is there a call-out fee?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The call-out fee is $90 and is deducted from the invoice if you go ahead with the work."
      }
    }
  ]
}
</script>

What each part means

Five pieces do all the work:

  • @context tells the parser the vocabulary is schema.org.
  • @type: FAQPage says this page presents questions with their answers.
  • mainEntity is the list of questions. Add one object per question.
  • Question.name is the question, word for word as it appears on the page.
  • acceptedAnswer.text is the full answer. Plain text is the safest choice. Put the whole answer here, not a teaser that ends in 'read more'.

How to implement FAQ schema on your site

The markup is the same on every platform. Only the place you paste it changes.

  • WordPress: SEO plugins such as Yoast SEO and Rank Math have an FAQ block that writes this markup for you from the questions you type. If you paste the code by hand as well, you will end up with two copies, so use one or the other.
  • Shopify: add the script to the page or product template in your theme code, or to a custom code section on that page.
  • Webflow, Squarespace, Wix: use the page-level custom code or code embed option and paste the script there.
  • Custom-built sites: put the script in the HTML the server sends. Markup that only appears after JavaScript runs is missed by crawlers that do not run JavaScript.

How to combine FAQ and WebPage schema

In schema.org, FAQPage is already a kind of WebPage. So if the page exists to answer questions, you do not need a second WebPage block. Put the WebPage details (name, url, description) straight onto the FAQPage object.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "@id": "https://www.example.com/faq#webpage",
  "url": "https://www.example.com/faq",
  "name": "Frequently asked questions",
  "description": "Answers about bookings, fees and service areas.",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you offer same-day service?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Jobs booked before 10am on a weekday are attended the same day across the Sydney metro area."
      }
    }
  ]
}
</script>

When the page is mainly something else

A service page or a guide with four questions at the bottom is not an FAQ page first. Keep one page object and give it both types. The page stays a WebPage for everything that references it, and the questions are still labelled.

If your site already outputs a WebPage block, edit that block rather than adding a second one. Two blocks describing the same URL in different ways is the most common mistake with this markup.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": ["WebPage", "FAQPage"],
  "@id": "https://www.example.com/hot-water-repairs#webpage",
  "url": "https://www.example.com/hot-water-repairs",
  "name": "Hot water repairs",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Is there a call-out fee?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The call-out fee is $90 and is deducted from the invoice if you go ahead with the work."
      }
    }
  ]
}
</script>

Rules that keep it valid

  • Every question and answer in the markup must be visible on the page. An answer inside an expandable section a visitor can open counts as visible.
  • One FAQ block per page. If a plugin already adds one, do not paste another.
  • Give each question one home. Repeating the same ten questions on forty pages helps nobody.
  • Use questions people really ask you: from sales calls, support emails and search queries.
  • Check the result at validator.schema.org, the Schema Markup Validator. Paste the page URL or the code and fix anything it flags.

What FAQ schema does now the rich result is gone

Google's Search Central changelog records it in two steps. On 8 May 2026 Google added a deprecation notice saying the FAQ rich result would no longer appear in Search from 7 May 2026. In June 2026 it removed the documentation for the feature. Before that, since 2023, the rich result had been limited to well-known government and health sites.

So do not add FAQ schema expecting expandable questions under your Google listing. That feature has ended for everyone.

Does it help with ChatGPT, Perplexity or Gemini? We have not measured a lift from the markup on its own, and we would not promise one. What we can say is narrower. A question heading followed by a complete answer stays together when a page is split into passages, which is how retrieval systems handle text. The visible question and answer do that job. The markup is a low-cost label on top, and it is still valid schema.org.

If you already have valid FAQ markup that matches your page, there is no reason to rip it out. If you have none, write the visible questions and answers first. Add the markup after, if it takes you five minutes.

Check what a crawler receives from your page

Markup you can see in your editor is not always in the HTML your server sends. The free ThoughtForge check fetches your page without a browser and reports on nine things, including whether business structured data is present, whether the page has question-style headings with answers, and whether your published robots.txt blocks the main AI crawlers.

It needs no signup. It does not test firewall rules, and a pass does not mean an AI engine will quote you.

Frequently asked questions

Is FAQ schema still worth adding in 2026?

Not for your Google listing: Google stopped showing FAQ rich results on 7 May 2026. It is optional as a label for question-and-answer content. Write clear visible questions and answers first, then add the markup if it is quick to do.

Can I use FAQPage and WebPage schema on the same page?

Yes. FAQPage is a subtype of WebPage in schema.org, so an FAQPage object can carry WebPage properties such as name, url and description. For a page that is mainly something else, give one object both types: ["WebPage", "FAQPage"].

Where do I put the FAQ JSON-LD?

Inside a script tag with type application/ld+json, in the head or the body of the page that shows the questions. Make sure it is in the HTML the server sends, not added later by JavaScript.

Should I remove FAQ schema I already have?

No, as long as it matches what is visible on the page. Google has said unused structured data does not cause problems for Search. Remove it only if it describes questions that are no longer on the page.

Related guides

  • FAQ schema in 2026 — Google ended FAQ rich results in May 2026. What FAQPage markup is still good for, how to write the questions, and when to skip it.
  • Answer-first content structure — The answer-first structure that gets pages lifted into AI answers and featured snippets, with the exact block pattern to use.
  • Entity clarity and schema — How to make an AI model certain about what your brand is, using Organization and Person schema, sameAs links and consistent naming.

All guides · Blog · Case studies