Free tool

FAQ schema (JSON-LD) generator

Turn a list of questions and answers into FAQPage structured data you can paste into any page, so search engines and AI assistants can quote your answers.

Question 1

Plain text. Keep it to the answer, two to four sentences.

Question 2

Plain text. Keep it to the answer, two to four sentences.

faq-schema.html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does shipping take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Orders ship within 1 business day and arrive in 2 to 5 days in the US."
      }
    },
    {
      "@type": "Question",
      "name": "Can I return a sale item?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Sale items can be exchanged or returned for store credit within 14 days of delivery."
      }
    }
  ]
}
</script>

Paste it into the page that shows the same questions and answers; Google only honours FAQ markup that matches visible content, and since 2023 shows FAQ rich results mainly for government and health sites. The markup still helps AI assistants quote your answers accurately. 2 of 2 questions are complete.

How this tool works

The output is a FAQPage object from schema.org with one Question per pair and the answer as plain text. Paste the script tag anywhere in the page that shows the same questions and answers; the markup must match visible content.

Since August 2023 Google shows FAQ rich results mainly for authoritative government and health sites, so do not expect dropdowns in search. The markup still gives AI assistants a clean copy of your answers, which How to write an FAQ page that Google and ChatGPT can use explains. The same pairs make good Q&A entries in a knowledge base.

Put an agent on your site that does the work

PepoChat answers from your own content, checks orders and subscriptions, books meetings and hands off to your team. Every feature is on the free plan.

More free tools