Skip to content

Free tool

Free FAQ schema generator: info for Google and AI

Type the questions customers ask and your answers. Copy the code onto your page so Google and AI tools can quote you.

Question 1

Question 2

Your code

Paste it into the page that shows these questions (in WordPress: a "Custom HTML" block). Visitors won't see it; Google and AI will.

Fill in at least one question and answer to see your code here.
Questions

How it works

What is this code?
It's a small hidden note on your page that lists your questions and answers in a format Google and AI tools read easily. Visitors don't see it.
Where do I paste it?
On the same page that shows these questions and answers. In WordPress, add a "Custom HTML" block and paste it there.
Does it cost anything?
No. The tool is free and runs in your browser. We don't save what you type.

How to use the FAQ code maker

  1. Pick one page, such as your services or pricing page, and list the questions customers really ask about it.
  2. Type each question and a short, direct answer. You can add up to 30 questions, each question can be up to 300 characters and each answer up to 2,000 characters.
  3. Show the same questions and answers as visible text on that page. The code must match what visitors can read.
  4. Copy the code and paste it into that page, for example in a WordPress "Custom HTML" block.
  5. Test the page with Google's Rich Results Test or the Schema Markup Validator to confirm the code reads correctly.

FAQ schema checker: test the FAQ code on your page

Open the Check my FAQ code tab and paste the code from your page, either the JSON on its own or the whole script block. It runs in your browser and checks that the code is valid JSON, uses schema.org, has an FAQPage (also inside @graph), and that every question has a name and an answer with text. It also flags empty or repeated questions and script tags inside answers, and tells you how to fix each one.

FAQ schema example

This is what correct FAQ code looks like for a page with two questions. Swap in your own questions and answers, keeping them the same as the text visitors see.

Example: FAQPage code with 2 questions
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you deliver on Sundays?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. We deliver every day from 9 am to 8 pm across Pune, including Sundays and public holidays."
      }
    },
    {
      "@type": "Question",
      "name": "How much does delivery cost?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Delivery is free on orders over ₹500. Smaller orders pay a flat ₹40."
      }
    }
  ]
}
</script>

Get one easy tip a week

We'll email you one simple fix each week to help Google and AI find your business. No spam. Leave any time.

Questions

FAQ code: what it does and does not do

Will FAQ code give me the drop-down answers in Google?

Probably not on its own. Since August 2023, Google shows FAQ rich results mainly for well-known government and health websites. The code is still worth adding, because it tells Google and AI assistants exactly which text on your page is a question and which is its answer.

What makes a good FAQ answer?

Answer the question in the first sentence, then add one or two helpful details such as a price, a time or a place. Aim for about 40 to 60 words. Write it the way you would say it to a customer, and keep it identical to the visible answer on the page.

How do I check that my FAQ code works?

Paste your page address into a structured data testing tool and look for an FAQPage item with no errors. Our free website check also reports whether your pages carry FAQ code, alongside your other scores, each from 0 to 100.