# Schema generator

_Source: https://seomatrix.ai/tools/schema-generator/_

---

## What it does

A schema markup generator produces valid Schema.org JSON-LD — the structured-data code that tells search engines and AI assistants exactly what a page is, such as an FAQ or an article. Correct FAQPage or Article markup makes your content eligible for rich results and easier for ChatGPT, Perplexity and Google's AI Overviews to parse, attribute and quote. Because the code runs in your browser, nothing is uploaded and the output is ready to paste straight into your page head.

## What it checks

- **FAQPage schema** — The Schema.org type that wraps a list of question-and-answer pairs. Google now limits FAQ rich results to authoritative government and health sites, but the markup still helps AI assistants and other engines extract and cite individual answers.
- **Article JSON-LD** — Markup that identifies a page as a news, blog or how-to article and carries its headline, author and publish date, helping engines attribute authorship and judge freshness.
- **@context and @type** — The two mandatory keys in every block — @context points to schema.org and @type names the entity — without them a parser cannot recognise the data.
- **Question / acceptedAnswer pairs** — Each FAQ entry is a Question node holding an acceptedAnswer text node; that pairing is what search and AI engines read to surface the answer.
- **Required Article properties** — Article markup needs at least a headline, and ideally author, datePublished and image; omitting the essentials makes the block ineligible for rich results.
- **JSON-LD script tag** — Google's preferred structured-data format: a standalone <script type=application/ld+json> block that lives in your HTML without touching the visible layout.

## How to use it

1. Choose FAQPage or Article, then fill in the fields — questions and answers, or headline, author and dates.
2. Copy the generated JSON-LD block from the output.
3. Paste it into your page's <head>, then confirm it with Google's Rich Results Test or the Schema.org Markup Validator.

## FAQ

### What's the difference between FAQPage and Article schema?

FAQPage schema marks up a set of question-and-answer pairs, while Article schema describes a single piece of editorial content with a headline, author and dates. Use FAQPage for Q&A sections and Article for blog posts, news or guides.

### Does FAQ schema still earn rich results in Google?

Since 2023 Google shows FAQ rich results only for well-known, authoritative government and health sites, so most pages no longer get the expandable snippet. The markup is still worth adding — AI assistants and other engines read it to extract and cite your answers.

### Where do I put the JSON-LD code?

Paste the <script type=application/ld+json> block into the <head> of your page; placing it in the <body> also works. One block per schema type per page is the clean approach.

### Does the schema have to match my visible content?

Yes — Google requires that FAQ and Article markup reflect content actually shown on the page, and mismatched or hidden markup can trigger a manual penalty. Generate the JSON-LD from the same questions and text your visitors see.

