Q&A Page schema generator
A page with one question and the answers users posted to it, as on a forum or support community.
Rich result availableQAPage · Q&A
Guide
What Google does with QAPage markup
Google can show the question with its top answers. Only for pages where users ask and answer one question; a page of questions the site wrote itself is an FAQ page instead.
Fields Google looks for
| Property | Status | In the form |
|---|---|---|
| question | Required | Question |
| acceptedAnswer | Recommended | Accepted answer |
| suggestedAnswer | Recommended | Other answers |
Example output
This is what the builder produces from the example data. Paste it into the page's HTML, in the <head> or the body.
{
"@context": "https://schema.org",
"@type": "QAPage",
"mainEntity": {
"@type": "Question",
"name": "How do I add a line break in a chat message?",
"text": "Enter sends the message. How do I start a new line instead?",
"datePublished": "2026-03-01T09:30",
"author": {
"@type": "Person",
"name": "Alex"
},
"answerCount": 2,
"acceptedAnswer": {
"@type": "Answer",
"text": "Press Shift + Enter.",
"url": "https://forum.example/q/42#answer-1",
"upvoteCount": 12,
"datePublished": "2026-03-01T09:42",
"author": {
"@type": "Person",
"name": "Sam"
}
},
"suggestedAnswer": [
{
"@type": "Answer",
"text": "On mobile, the return key adds a new line; tap the arrow to send.",
"url": "https://forum.example/q/42#answer-2",
"upvoteCount": 3,
"author": {
"@type": "Person",
"name": "Kim"
}
}
]
}
}