Skip to content
Free tool

FAQ Schema Generator (FAQPage JSON-LD)

Turn a list of questions and answers into FAQPage JSON-LD, wrapped in a script tag and ready to paste into the page. Built in your browser; nothing is sent to a server.

FAQ schema is the markup that tells a search engine or an AI assistant that this block of the page is a question and that block is its answer. Writing it by hand is fiddly: nested objects, escaped quotes, one missing comma and the whole thing is silently ignored. Most CMS plugins that generate it add properties you don't want, miss the ones you do, and put their own name in the output.

This one is a form. Add a row per question, paste the answer, give it the page's URL if you have one, and it builds the FAQPage JSON-LD and wraps it in a script tag you can copy with one click. It runs as JavaScript in your browser — nothing you type leaves the page and nothing is stored anywhere. Before you copy, it checks for the mistakes that get markup rejected: an empty row, HTML pasted into an answer.

Used for the @id so the block is tied to the page.
  • Add at least one question with an answer.
Paste this inside <head> or at the end of <body>.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": []
}
</script>

This ran in your browser on what you typed. The product runs on your actual calls, chats and emails.

Generate the answers, not just the markup — start free
How to read it

What each input means

  1. 01

    Questions and answers

    One row per pair; add as many as the page has. Write the question the way someone would type it, in full. Keep the answer plain text — the tool flags HTML so that what you copy reads the same to every engine and assistant that parses it.

  2. 02

    Page URL (optional)

    The full address of the page the FAQ lives on. It becomes the @id of the FAQPage node, which ties the markup to one URL. Leave it blank if the page isn't published yet; the output is still valid without it.

  3. 03

    Copy the script tag

    The output is a script tag with type application/ld+json. Paste it once, anywhere in the page's HTML, head or body. The note above it lists anything to fix first: an empty row, or HTML in an answer. Fix those before you copy, or a validator will flag them later.

FAQ

Questions about this tool

Probably not, and it isn't the reason to add it. As a rule of thumb, Google now shows FAQ rich results only for a limited set of site types — government and health sites — so most commercial pages won't get the expanded listing. The markup still tells AI assistants and other search engines exactly which text on the page is a question and which is its answer, and that is worth having.