Generate FAQ schema (FAQPage JSON-LD) for your website
A FAQ schema generator is a free online tool that turns your questions and answers into FAQPage JSON-LD, the structured data that can make your FAQ eligible for rich results in Google and help AI assistants read your page. Add as many questions and answers as you like, choose extended or minified output, and copy clean code ready to paste into any website or WordPress. You can test it in Google’s Rich Results Test right from the tool. Everything runs in your browser, free and with no registration.
How to generate FAQ schema
- Type each question and its answer in the fields. Click Add question to add more, and drag the handle to reorder them.
- Choose Extended for readable code, or Minified for the smallest file size.
- Pick HTML for any site, or WordPress to target a specific page or post ID.
- Click Copy, then paste the code into your page. Use Test with Google to validate it.
Where to add the FAQ schema code
- Any website: paste the JSON-LD script anywhere in the HTML of the page that shows the same questions and answers.
- WordPress: add it to the page or post, or output it from your theme for the matching page ID.
- Only mark up FAQs that are actually visible on the page. Google can penalize schema that does not match the page content.