Free tool · No sign-up · Runs in your browser
FAQ schema generator
Type your questions and answers. Copy the JSON-LD and paste it into the page that shows the same questions.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long does delivery take?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Orders placed before 2pm ship the same day and arrive in two to three working days."
}
}
]
}
</script>Paste it into the HTML of the page that shows these questions. Rows with an empty question or answer are left out.
Before you add it: what FAQ schema still does
In August 2023 Google cut back FAQ rich results to well-known government and health sites. For everyone else, the expandable questions under a search result are gone, and adding this markup will not bring them back.
So why bother? The markup still tells any machine reading the page exactly which text is a question and which is its answer, with no guessing from the layout. That is cheap to provide and harmless. We add it to every article we publish that has a questions section, for that reason, and we would not promise you a result from it.
Rules that keep it valid
The questions and answers in the markup must be visible on the page, word for word or close to it. Markup for content the visitor cannot see is against Google's structured data guidelines. Use it for questions with one answer written by you; a page where visitors submit answers is a different type (QAPage).
Where to paste it
Anywhere in the page's HTML, in the head or the body. On WordPress, a block that accepts custom HTML works. If your SEO plugin already adds FAQ markup from an FAQ block, do not add a second copy.
Questions
- How many questions should I include?
- As many as the page really answers. There is no minimum. Three good ones beat ten that restate your headings.
- How do I check the markup is valid?
- Paste the page address into Google's Rich Results Test or the Schema.org validator. Both read the live page.
Read next
Updated 14 November 2026.