FAQ Schema Generator
Type your questions and answers and get valid FAQPage structured data as JSON-LD, ready to paste into your page. You also get matching HTML for the visible FAQ, because the two must say the same thing. Nothing you type is uploaded.
FAQPage JSON-LD
Matching page HTML
How to create FAQ schema in four steps
- Add each question and answer. Use the same wording that visitors see on your page.
- Copy the JSON-LD. Keep the script tag option ticked if you are pasting into HTML.
- Paste it into the page. Put it in the head or the body of the page that shows those questions.
- Test it. Run the live page through a structured data testing tool and fix anything it flags.
What FAQ schema is
FAQ schema is a small block of code that labels the questions and answers on a page so software can read them as questions and answers. It uses the FAQPage type from Schema.org and is usually written as JSON-LD, a format that sits in a script tag and does not change how the page looks.
Be realistic about Google rich results
FAQ schema does not earn most sites a special search listing. Since 2023 Google has shown FAQ rich results only for well-known, authoritative government and health websites. For other sites the markup is still valid and can still help search engines and other software understand the page, but you should not expect expandable questions under your Google result, and it is not a ranking shortcut. Google changes these rules from time to time, so check its current structured data documentation.
Rules worth following
- Match the visible page. Every question and answer in the code must appear on the page for visitors. Marking up hidden or different text breaks the guidelines of the major search engines.
- Use it for real FAQs. The page should answer the questions itself. Pages where users submit their own answers need a different type.
- One answer per question. Do not repeat the same question, on the page or across the site, with different answers.
- No advertising in the markup. Keep answers factual and useful.
- Put it on the right page. The code belongs on the page that shows those questions, not on every page of the site.
Where to paste the code
| Your site | Where it goes |
|---|---|
| Hand-built HTML | Paste the script tag anywhere in the head or body of the page. |
| WordPress | Use a Custom HTML block on the page, or your SEO plugin's schema field if it has one. Do not add FAQ schema twice. |
| Site builders | Look for a custom code or header code setting for that single page. |
Check the code after you add it
Paste your code into the JSON-LD syntax checker to catch a missing bracket or quote. Then test the live page with the Schema.org validator or Google's Rich Results Test to confirm it is read as a FAQPage.
Marking up a local business as well? Use the local business schema generator.
Questions about FAQ schema
What is FAQ schema?
FAQ schema is structured data that labels the questions and answers on a page using the FAQPage type from Schema.org. It is usually added as JSON-LD inside a script tag and does not change how the page looks.
Will FAQ schema give my page a rich result in Google?
Probably not. Since 2023 Google has shown FAQ rich results only for well-known government and health websites. The markup is still valid and can help software understand your page, but most sites should not expect expandable questions in Google results.
Does FAQ schema improve rankings?
There is no evidence that adding it lifts rankings by itself. Clear, useful answers on the page matter far more. Treat the markup as a tidy label for content that is already good.
Where do I put the FAQ schema code?
Paste the script tag into the head or body of the page that shows those questions. In WordPress you can use a Custom HTML block. Add it once per page and only to the page that contains the questions.
Do the questions have to be visible on the page?
Yes. Every question and answer in the code must appear on the page for visitors, with the same meaning. The tool gives you matching HTML so the two stay in step.
Is anything I type saved or sent anywhere?
No. The code is built in your browser. Your questions and answers are not sent to Cordell Digital and they clear when you close or refresh the page.
Need a website that brings in customers?
Cordell Digital builds simple, fast websites and handles local search for small businesses. Tell us what you need and we will reply with a plain answer.
More website tools: the local business schema generator, the JSON-LD syntax checker, the meta tag generator, or browse all free tools.
Last reviewed November 2026. Search engine features change, so check the current official documentation before relying on any one result.