What FAQ schema is
FAQ schema is a small block of structured data that describes the questions and answers on a page. It uses the schema.org FAQPage type and is usually written as JSON-LD: a JSON object inside a <script type="application/ld+json"> tag. The visitor never sees it. Search engines, AI crawlers and other parsers read it to understand, without guessing, which text is a question and which text answers it.
The structure is simple:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long is the free trial?",
"acceptedAnswer": {
"@type": "Answer",
"text": "7 days, and you don't need a credit card."
}
}
]
}One FAQPage, a mainEntity list, and one Question with an acceptedAnswer for each pair. The generator above writes exactly this, escapes characters that could break the script tag, and leaves out any row where the question or the answer is empty.
How to use the generator
- Write each question the way a customer would ask it, in full sentences.
- Write the answer as plain text. Lead with the direct answer, then add one or two sentences of detail.
- Add as many pairs as the page shows. Remove empty rows or fill them in; the tool flags incomplete ones.
- Copy the output and paste it into the page that displays the same questions and answers.
- Test the page with Google's Rich Results Test or the Schema Markup Validator at validator.schema.org to confirm the markup parses.
What changed with FAQ rich results
For years, FAQ schema was an easy way to get expandable questions under a search result. In August 2023 Google limited FAQ rich results to well-known, authoritative government and health websites. For almost everyone else, adding FAQ schema no longer changes how the result looks in Google.
That does not make the markup useless. It is still valid structured data, Google still documents it, and it still states your answers in a format any machine can read without parsing your layout. It just should not be the reason you write an FAQ. The reason to write one is that buyers ask these questions, in search boxes and increasingly in AI assistants.
FAQ content and AI answers
When a buyer asks ChatGPT, Perplexity, Claude or Google's AI features a question like “Is there a free trial for X?” or “Which tool works for teams under 10 people?”, the engine looks for text that answers it directly. A page with a clear question as a heading and a short, factual answer underneath is easy to quote. A pricing page where the trial length is buried in a footnote is not.
No AI engine has said that it ranks pages higher because they carry FAQ schema, so be wary of anyone who promises that. The value is in the content. The schema is a cheap way to make that content unambiguous.
How to write FAQ answers that get used
Start with the answer
“Yes, 7 days, no credit card.” beats “We believe in letting our customers experience the value of...”. Put the fact in the first sentence. Detail can follow.
Use the buyer's words
Pull questions from sales calls, support tickets, chat logs and Reddit threads in your category. If customers say “cost”, do not title the question “investment”.
Be specific and current
Name numbers, limits, plans, regions and integrations. Vague answers give an AI engine nothing to repeat. Update the answers when your pricing or product changes, and update the schema at the same time so the two never disagree.
One question, one answer
Do not stack three questions into one heading. Split them. Each pair should make sense on its own, because it may be read on its own.
Answer comparison questions honestly
“How is X different from Y?” is one of the most common buyer questions. A fair answer that says who each option suits is more likely to be useful to readers and to the engines than a one-sided pitch.
Rules to follow
- Match the visible page. Every question and answer in the schema must appear on the page. Google treats hidden FAQ markup as a guidelines issue.
- One FAQPage per page. If a page has several FAQ blocks, combine them into one
mainEntitylist. - No ads in answers. FAQ markup is for questions and answers, not promotional copy.
- Not for user forums. Pages where users submit their own answers should use QAPage markup instead.
- Keep HTML light. Plain text answers are safest. Google allows a small set of HTML tags in answers, but plain text is easiest for every parser.
Which pages should carry FAQ content
An FAQ works best close to the decision it supports. Rather than one long FAQ page that nobody reads, put a short block of relevant questions on the pages where buyers have them:
- Pricing page: trial length, card requirements, what happens at the end of the trial, cancellation, discounts, what each plan limit means.
- Product or feature pages: what it works with, what it does not do, setup time, data handling.
- Comparison and alternatives pages: how you differ from the named competitor, who should pick which, how to switch.
- Service and location pages: areas served, response times, licensing, how quotes and payment work.
- A help center or general FAQ: still useful as a catch-all, as long as each answer is specific.
Example: FAQ for a pricing page
Here is what a compact, useful set of pricing questions might look like for a fictional product:
- Is there a free trial? Yes. 14 days on any plan, no credit card needed.
- What happens when the trial ends? Your account pauses until you pick a plan. Nothing is deleted for 30 days.
- Can I change plans later? Yes, at any time. Upgrades apply right away; downgrades apply at the next billing date.
- Do you offer annual billing? Yes. Annual plans cost less per month than monthly billing.
Every answer starts with the fact, is short enough to quote, and could be read on its own. Paste pairs like these into the generator above and you have both the visible content and the markup.
Mistakes the generator cannot catch
The tool checks that every question has an answer and that the JSON is valid. It cannot judge the content. Watch for these:
- Schema that drifts from the page. Someone edits the visible answer and forgets the JSON-LD. Generate both from the same source if your CMS allows it.
- Marketing questions nobody asks. “Why is our product the best?” is not an FAQ. Use real questions from customers.
- The same FAQ on every page. Repeating one block site-wide adds noise. Keep questions relevant to the page they sit on.
- Answers that point elsewhere. “See our pricing page” answers nothing. Give the answer, then link if needed.
- Stale facts. An old price or trial length in your FAQ can be repeated by AI assistants long after you changed it. Review FAQs when anything in them changes.
Where to paste the code
- Plain HTML: paste the script tag before
</head>or anywhere in the body. - WordPress: use your SEO plugin's schema feature or a header scripts plugin, scoped to the page.
- Next.js / React: render
<script type="application/ld+json">with the JSON as its content. Untick the wrapper option above to copy only the JSON. - Tag managers: they can inject JSON-LD, but server-rendered markup is more reliable for crawlers that do not run JavaScript.
How to check that it works
After you publish the page, run three quick checks:
- Parse check. Paste the live URL into the Schema Markup Validator (validator.schema.org) or Google's Rich Results Test. Both show whether the FAQPage and each Question were found. The Rich Results Test may also tell you the page is not eligible for FAQ rich results; that is expected for most sites and does not mean the markup is broken.
- Source check. View the page source (not the browser's inspector) and search for
FAQPage. If it only appears after JavaScript runs, crawlers that do not render JavaScript will miss it. - Content check. Read the visible questions and the JSON side by side. They should match word for word, or close to it.
If your site is built with a CMS that already outputs structured data, check that you do not end up with two separate FAQPage blocks on the same page. Merge them into one.
Next steps
FAQ markup is one piece. To make sure AI engines can find and describe you:
- Check that AI bots can reach the page with the AI crawler checker.
- Find the questions buyers ask in your category with the AI prompt generator. Many of them make good FAQ entries.
- Add an
llms.txtwith the llms.txt generator and check it with the validator. - Measure how often you are named against competitors with the AI share of voice calculator.
The free AI visibility check shows whether ChatGPT and Perplexity name your brand for 5 buyer prompts. On paid plans, TrendlyAI tracks ChatGPT, Perplexity, Claude and Google AI Overviews weekly and drafts fixes for each gap, including FAQ pages with schema.
Frequently asked questions
What is FAQ schema?
FAQ schema is structured data, written in JSON-LD using the schema.org FAQPage type, that marks up a list of questions and answers on a page. It tells search engines and other machines exactly which text is a question and which text is its answer.
Will FAQ schema give me FAQ rich results in Google?
Probably not. Since August 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites. The markup is still valid and still read by machines, but most sites should not expect the expandable FAQ snippet in search results.
Does FAQ schema help with AI search?
No AI engine has published that it ranks pages higher because of FAQ schema. What helps is the content itself: clear, direct answers to the questions buyers ask. The schema makes that content unambiguous to any system that parses it, which is a cheap, low-risk addition.
Where do I paste the generated code?
Paste the script tag into the HTML of the page that shows the same questions and answers, either in the head or the body. In WordPress, use a header and footer scripts plugin or your SEO plugin. In Next.js or React, render it in a script tag with type application/ld+json.
Do the questions have to be visible on the page?
Yes. Google requires that FAQ markup matches content users can see on the page. Do not add questions to the schema that are not on the page.
Is my content sent anywhere?
No. The JSON-LD is built in your browser. Nothing you type is sent to our servers or to an AI model.
See what AI engines say about your brand
Run the free check: 5 buyer prompts on ChatGPT and Perplexity, your AI visibility score in about 30 seconds, no signup. TrendlyAI then tracks ChatGPT, Perplexity, Claude and Google AI Overviews every week, finds the prompts where a competitor is named and you are not, and drafts the fix.
Run the free checkPlans from $19/mo. See pricing: 7 days free, no card.
More free tools
- Free AI visibility checkSee whether ChatGPT and Perplexity name your brand for 5 buyer prompts. About 30 seconds, no signup.
- AI crawler checkerRead your robots.txt and see which AI bots (GPTBot, ClaudeBot, PerplexityBot and more) are allowed or blocked.
- llms.txt generatorBuild an llms.txt file in the llmstxt.org format from your site name, summary and key pages.
- llms.txt validatorFetch or paste an llms.txt file and check it against the proposal: H1, summary, sections and links.
- AI share of voice calculatorEnter how often AI answers mention you and your competitors. Get share of voice and mention rate.
- AI prompt generatorGet 20 to 30 realistic buyer prompts for your category, grouped by intent, ready to test in AI engines.