FAQ Schema Generator

Write each question on one line with its answer below it, and leave a blank line between pairs. The tool writes FAQPage structured data you can add to the page.

Use the tool

Loading the tool…

About FAQ Schema Generator

Build FAQ structured data (JSON-LD) from a list of questions and answers. Choose whether to wrap the output in a script tag, ready to paste into a page.

Worked example

Enter a question and its answer. The tool outputs the matching structured data.

Limits

The questions and answers in the markup must also appear on the page. Search engines can ignore or limit FAQ results, so test the result with a structured data testing tool.

How to use FAQ Schema Generator

  1. Type each question on its own line and the answer on the lines below.
  2. Leave a blank line between one pair and the next.
  3. Copy the structured data and add it to the page that shows the same questions and answers.

Good to know

  • The text in the data should match what visitors can see on the page.
  • Rich results are never guaranteed. Search engines decide whether to show them, and they have limited this feature in the past, so check their current guidance.
  • The tool does not test the data against any search engine. Use the search engine's own testing tool.
  • A leading Q: or A: label is removed for you. The less-than sign is written in a safe form so the data cannot end the script tag early.

Frequently asked questions

Can answers have several lines?

Yes. The lines below a question are joined into one answer with single spaces.

Can I use HTML in an answer?

The text is written as plain text. Any angle brackets are kept as typed but written in a safe form.

Is anything I type saved or sent?

No. The work happens in your browser on this page, and nothing is stored or sent to us.