SEO ToolsA little help for every day

Search by name or task, such as JSON or percentage.

SEO Tools

FAQ Schema Generator

Turn questions and answers into FAQPage JSON-LD or matching on-page FAQ HTML. Accepts question|answer lines or Q:/A: blocks and flags duplicates and bad tags.

View all tools
ResultUpdates as you type
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Is this tool free?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, it is free to use and needs no account."
      }
    },
    {
      "@type": "Question",
      "name": "Is my text uploaded?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "No, everything is processed in your browser."
      }
    },
    {
      "@type": "Question",
      "name": "Which input formats work?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Write “question|answer” on one line,<br>or use Q: and A: like this, with answers over several lines."
      }
    }
  ]
}
</script>

3 questions generated.

The questions and answers must also be visible on the page. Since August 2023 Google only shows FAQ rich results for well-known government and health sites; the markup stays valid elsewhere but usually won't display as a rich result.

How to use FAQ Schema Generator

Type or paste your questions and answers as question|answer lines, Q: and A: blocks, or blank-line separated paragraphs. Choose JSON-LD with or without a script tag, or visible HTML. The output updates as you type.

  1. Paste your questionsUse question|answer per line, Q: and A: blocks, or blocks whose first line is the question.
  2. Check the warningsFix questions without answers, remove duplicates and replace tags Google does not read in answers.
  3. Copy both outputsAdd the visible FAQ HTML to the page, then copy the JSON-LD for the same questions.

Three ways to write questions and answers

The quickest format is one pair per line, split at the first vertical bar: Do you deliver to Ireland?|Yes, in 3–5 working days. For longer answers, start a line with Q: and the next with A:; the following lines belong to the answer until the next Q:. Without markers, separate pairs with a blank line and put the question on the first line of each block. You can mix the formats. With line breaks kept, a multi-line answer is joined with br tags; untick the option to merge it into one paragraph. Questions missing an answer are skipped and reported by line number.

FAQ rich results since August 2023

Since August 2023 Google has shown FAQ rich results only for well-known government and health websites. On other sites FAQPage markup is still valid structured data but usually won't appear as expandable questions in results. Either way, the questions and answers in the markup must be visible on the page and say the same thing, which is why the generator can also output an FAQ block built from details and summary elements. In answers Google reads only h1–h6, br, ol, ul, li, a, p, div, b, strong, i and em; any other tag triggers a warning.

Accuracy and data handling

Generated tags and rules must match the real page content and the site's deployment environment. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

Is FAQ schema still worth adding?

For most sites it no longer produces expandable FAQ results in Google, but it remains valid markup describing the page's questions and answers. Well-known government and health sites may still get the rich result.

What is the difference between FAQPage and QAPage?

FAQPage is for questions and answers written by the site itself, with one answer each. QAPage is for forum-style pages where users ask and several people answer. This generator outputs FAQPage.

Can answers contain links or lists?

Yes. HTML in answers such as a, ul, li and strong is kept as written. Tags outside Google's supported list, such as span, are reported so you can remove them.

Are duplicate questions removed?

No. Duplicates stay in the output but are listed in a warning so you can decide which one to delete. Comparison ignores case and a trailing question mark.

More SEO Tools

Related tools