Free tool · AI search & SEO

FAQ schema generator

Write your questions and answers and get valid FAQPage JSON-LD you can paste into any page. The output updates as you type, with checks for empty, duplicate and thin answers.

Free, no signupValid schema.org JSON-LDNothing stored

Free faq schema generator · runs in your browser

1Question 1

  • Empty, so it's left out of the markup.

2Question 2

  • Empty, so it's left out of the markup.

FAQPage JSON-LD

0 questions in the markup

Paste into your page HTML
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": []
}
</script>

Add a question and its answer. Only pairs with both filled in are included.

About rich results

Since August 2023, Google shows FAQ rich results only for well-known, authoritative government and health websites. For other sites the markup is still valid and still helps search engines and AI tools read your questions and answers as clear pairs.

Paste it into the page that shows these questions, and keep the text identical to what visitors see.

Validate it with the Schema Markup Validator
How it works

How do you use the faq schema generator?

  1. 1

    Add your questions

    Type each question and its answer exactly as they appear on your page. Add as many as you need.

  2. 2

    Fix what's flagged

    Empty pairs, duplicate questions and very short answers are flagged next to each item as you type.

  3. 3

    Copy and paste

    Copy the script tag into your page, or the JSON only for a CMS field, then validate the live page.

What you get

FAQ markup that's valid the first time

The generator builds the JSON for you, escapes it safely, and only includes questions that are complete.

  • Valid FAQPage structure

    FAQPage with a Question for each pair and an acceptedAnswer of type Answer, as schema.org defines it.

  • Safe escaping

    Quotes and line breaks are JSON-escaped, and any </ sequence is written as <\/ so an answer can't close the script tag early.

  • Checks per question

    Missing questions or answers, repeated questions and answers too short to stand on their own are flagged inline.

  • Two output formats

    Copy a ready <script type="application/ld+json"> tag, or just the JSON for CMS and plugin fields.

  • Incomplete pairs left out

    A question without an answer, or an answer without a question, is never written into the markup.

  • Honest about rich results

    A clear note on when Google shows FAQ rich results, so you know what the markup will and won't do.

Guide

How to add FAQ schema that helps

FAQ schema is structured data that labels the questions and answers on a page. Written as JSON-LD, the format Google recommends, it sits in a <script type="application/ld+json"> tag and tells machines exactly which text is a question and which is its answer, without them having to infer it from your layout.

What the markup looks like

A FAQPage has a mainEntity list. Each item is a Question with a name (the question) and an acceptedAnswer of type Answer whose text is the answer. That's all a valid FAQ block needs, and it's exactly what this tool writes.

What changed in 2023

In August 2023 Google limited FAQ rich results, the expandable questions under a search result, to well-known, authoritative government and health websites. For almost every other site, adding FAQ schema will no longer produce that snippet. The markup is still valid schema.org, Google still reads it, and it remains a clear, structured statement of your answers for search engines and AI tools that parse structured data. Treat it as a way to be understood precisely, not as a ranking trick.

Rules worth following

  • Match the visible page. Every question and answer in the markup should appear on the page, word for word. Don't mark up content visitors can't see.
  • Use it for your own answers. FAQPage is for questions you wrote and answered. A page where users submit answers to one question is a QAPage.
  • No advertising. Answers should answer the question, not promote something unrelated.
  • Mark up one copy. If the same FAQ appears on several pages, mark it up on one of them.

Write answers that stand alone

An answer is often read without the page around it, in a search snippet or an AI assistant's reply. "Yes." tells a reader nothing on its own. "Yes, the free plan includes up to 3 projects and never expires." does. Lead with the direct answer, add the one detail that matters, and keep each answer focused on its question. That's why the tool flags very short answers.

Add it to your page

  1. Copy the output with the script tag and paste it into the page's HTML, in the <head> or <body>. If your CMS or SEO plugin has a structured-data field, switch to JSON only and paste it there.
  2. Publish, then check the live URL with the Schema Markup Validator or Google's Rich Results Test.
  3. Keep the markup in sync whenever you edit the visible FAQ.

Building a page for AI search? Check it with the AI crawler checker and give crawlers a map with an llms.txt.

FAQ

FAQ schema generator: questions and answers

01

What is FAQ schema?

FAQPage structured data: a JSON-LD block that marks up the questions and answers on a page, so search engines and AI tools can read them as clear question-and-answer pairs.

02

Will FAQ schema give me rich results in Google?

Probably not. Since 2023 Google shows FAQ rich results mainly for well-known, authoritative government and health websites. The markup is still valid and still helps machines understand your Q&A, but don't expect the expandable FAQ snippet for most sites.

03

Where do I put the code?

Paste the script tag into the HTML of the page that shows the same questions and answers, in the head or body. The text in the markup should match what visitors see.

04

How do I test it?

Use Google's Rich Results Test or the Schema.org validator on the page after adding it.

05

What's the difference between FAQPage and QAPage?

FAQPage is for a page where you wrote both the questions and the answers, like a pricing FAQ. QAPage is for a page where one question gets answers from users, like a forum thread. Use FAQPage for your own FAQ sections.

06

Should I use the script tag or the JSON only?

Use the version with the script tag when you paste into your page's HTML. Use JSON only when your CMS or SEO plugin has a structured-data field that adds the script tag for you, so it isn't wrapped twice.

07

Can I put the same FAQ on several pages?

You can show it, but Google's guidelines say that when the same FAQ appears on multiple pages, you should mark up only one instance of it.

Can't find your answer? Read the Atlis docs.

Answer questions before users have to ask.

Atlis tracks what each new user does after signup and sends the right lifecycle email automatically, from onboarding nudges to re-engagement and churn recovery. Free plan, about 10 minutes to set up.

14 days of Growth free, then free forever up to 250 users · No credit card