FAQ Schema Generator
Add your questions and answers. Get valid FAQPage JSON-LD to paste into your page. Free, no signup, and nothing leaves your browser.
Questions and answers
Paste existing JSON-LD
This replaces the questions above.
Your FAQ schema
How it works
- Type or paste each question and its answer. Use the arrows to change the order.
- The code updates as you type. Warnings flag empty fields, repeated questions and long answers.
- Copy or download the code. Paste it into the page that shows the same questions.
- Check it in the Schema Markup Validator before you publish.
What each field means
- <script type="application/ld+json">
- The tag that holds the code. Visitors don't see it. Crawlers read it.
- @context
- Tells machines the terms come from schema.org. Always
https://schema.org. - @type
- What the object is. Here it is
FAQPage,QuestionorAnswer. - FAQPage
- A page with a list of questions, each with one answer written by the site.
- @id
- Optional. A unique ID for this FAQ, made from your page URL plus
#faq. Other schema on the page can point to it. - url
- Optional. The address of the page that shows the FAQ.
- mainEntity
- The list of questions on the page. Each item is a
Question. - Question
- One question and its answer.
- name
- The full text of the question.
- acceptedAnswer
- The answer to the question. One per question.
- Answer
- The type of the answer object.
- text
- The full answer. It can hold simple HTML such as links, lists and bold text.
Known limitations
- Google no longer shows FAQ rich results. The expandable questions under a result are gone for every site, including the government and health sites that were the last ones eligible.
- Valid schema guarantees nothing. It helps machines read the page. It doesn't decide rankings or what shows in results.
- AI search may still use the Q&A. AI tools read page content, and clear questions with direct answers are easy to quote. None of them promise a citation for having schema.
- The questions must be on the page. Mark up only questions and answers visitors can see. Hidden or invented Q&A breaks schema guidelines.
- One answer per question. If users can post answers, use
QAPageinstead. - It checks structure, not facts. The tool can't tell whether an answer is right or current.
- Simple HTML only. Answers keep headings, paragraphs, line breaks, lists, links, bold and italics. Other tags are removed and their text kept. Questions are always plain text.
- Saved in this browser only. Clearing your browser data removes your list.
FAQ schema questions
What is FAQ schema?
FAQ schema is structured data that labels a list of questions and answers on a page. It uses the schema.org FAQPage type, usually written as JSON-LD. Search engines and AI tools read it as clean question and answer pairs.
Does FAQ schema still work?
Not for Google rich results. Google no longer shows the expandable FAQ results for any site. The markup is still valid schema.org, it does no harm, and other search engines and AI tools can still read it. Add it when the page has a real, visible FAQ. Don't expect a visual change in Google.
Should I remove FAQ schema I already have?
There is no need. Google has said markup it does not use causes no problems. Keep it if it matches what is on the page. Stop adding it only to chase a Google result.
Where do I put the FAQ schema script?
In the HTML of the same page that shows the questions. The <head> or the end of the <body> both work. On WordPress, use your SEO plugin's schema settings, a custom HTML block or a header and footer code plugin. On Shopify or Webflow, add it to the page's custom code.
What is the difference between JSON-LD and microdata?
Both describe the same thing. JSON-LD sits in one script block, separate from your visible HTML, so it is easier to add, edit and remove. Microdata adds attributes to the visible HTML itself. Google recommends JSON-LD, and this tool outputs JSON-LD.
How many questions should I add?
There is no fixed limit. Mark up the questions that are on the page, no more. Most pages need between 3 and 10. Each one needs the full question and the full answer.
How do I test FAQ schema?
Paste the code or the page URL into the Schema Markup Validator. It checks the structure against schema.org. Google's Rich Results Test no longer checks FAQ markup, because the rich result is gone. Use URL Inspection in Search Console to confirm Google can crawl the page.
Can answers include links and HTML?
Yes. Keep it simple: paragraphs, line breaks, lists, links, bold and italics. With Keep simple HTML selected, the tool removes any other tags and keeps their text. With Plain text, it strips all tags.
Does FAQ schema help with AI search?
It can help a little. Google AI Overviews, AI Mode, ChatGPT, Perplexity, Gemini and Copilot pull answers from page content. Clear question and answer sections are easy for them to quote, with or without schema. Schema adds a clean, machine-readable copy. Treat it as a small extra, not the reason a page gets cited.
Can I have more than one FAQPage on a page?
Use one FAQPage per page and put every question in its mainEntity. If you import code that holds several, the tool loads all their questions into one list.
What is the difference between FAQPage and QAPage?
FAQPage is for questions the site writes, each with one answer. QAPage is for a single question where users post answers, like a forum thread or community Q&A.
Can I edit FAQ schema I already have?
Yes. Open Paste existing JSON-LD, paste the code or the full script tag, and select Load questions. The tool finds the FAQPage, even inside an @graph, and loads each question for editing.
Is my data stored or sent anywhere?
No data is sent. The tool runs in your browser. Your questions are saved in this browser's local storage so they are still there when you come back. Select Clear all to remove them.