JSON-LD generator

FAQ Schema Generator (JSON-LD)

Enter the questions and answers exactly as they appear on the page. The JSON-LD updates as you work and stays in this browser.

01

Enter the details

Questions and answers

Enter each question and answer exactly as they appear on the page.

QuestionsAdd one row for each question on the page.
What each engine usesReview the documented search feature requirements that apply to this business type.
Display restrictionGoogle: FAQ rich result

Google says FAQ rich results stopped appearing on May 7, 2026, and removed the feature documentation in June 2026.

Documentation checked 2026-11-12
Jump to the generated code
02

Live JSON-LD output

This code still contains example values. Replace them with details that appear on your page.
Google says FAQ rich results stopped appearing on May 7, 2026. FAQPage is still valid schema.org, and other search engines and AI systems can read it.

Most plugins and code fields want the version with the script tag. Use JSON-LD only when a field asks for the JSON by itself.

schema-faq
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does delivery take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Orders in this fictional example arrive in three to five business days."
      }
    },
    {
      "@type": "Question",
      "name": "Can an order be returned?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This fictional example accepts returns within 30 days of delivery."
      }
    }
  ]
}
</script>

How to add this code to WordPress, Shopify, Wix and other sites

Add the code to your site

Copying the code is half the job. Choose where your site is built to see where the code goes, which version to copy and what to check so you do not end up with two blocks describing the same thing.

Before you paste, on any platform

  1. Open the live page, view its source and search for application/ld+json. Many themes, plugins and site builders already add markup.
  2. If a block already describes the same thing, correct that block or turn it off instead of adding a second one.
  3. Make sure every value in the code is also visible on the page.
  4. After you publish, test the live URL with the Schema checker and Google's Rich Results Test.

Choose your platform. Use the arrow keys to move between platforms.

WordPress block editor

Copy the "With script tag" version.

  1. Open the page or post in the block editor.
  2. Add a Custom HTML block, paste the code and update the page.
  3. View the published page source to confirm the script element is there.
  4. For markup that belongs on every page, such as Organization, use a child theme or a site-specific plugin instead of a block on each page.

WordPress removes script elements from the Custom HTML block for users without the unfiltered_html capability. On a single site, Administrators and Editors have it; on a multisite network, only Super Admins do.

Read the WordPress schema guide

03

How to use this generator

  1. Replace the example questions with the questions shown on the page.
  2. Copy each answer as plain text that matches the page.
  3. Run Check this code and correct any errors.
  4. Paste the script-tag version into the page that shows these questions.

Where this code goes

Paste the script-tag version into the HTML of the page it describes, in the head or the body. Most site builders have a custom code or header field for this.

04

What this generator does

The form builds one FAQPage node with a Question and an Answer for each row. The check reads JSON syntax and schema.org names and reports what Google has said about its FAQ feature. It cannot confirm indexing or promise a displayed search result.