# Schema markup generator

Pick what you're marking up, fill in the fields, and copy the JSON-LD. It checks what you've got against what Google asks for as you type.

This tool runs entirely in the browser at https://joncphillips.com/tools/schema-generator/. Nothing you type is sent anywhere.

Structured data is one of those things I always mean to add and then forget the exact property names for.

This writes the JSON-LD for you, and tells you as you go whether Google has what it needs to show a rich result.

## How to Use It

Pick a type, fill in what you know, and paste the result into your page's `<head>`. Required fields are flagged as you type, and recommended ones show up as notes. Once it's live, run the page through the [structured data validator](https://joncphillips.com/tools/structured-data-validator/) or Google's Rich Results Test to confirm Google sees it.

**Only mark up what's actually on the page.** Google ignores (and can penalize) structured data that describes things visitors can't see, like reviews that aren't shown.

## Frequently Asked Questions

### Why won't Google show my FAQ rich result?

Since 2023, Google only shows FAQ rich results for well-known government and health sites. The markup is still valid, and other search engines and AI tools can still read it.

### JSON-LD, microdata, or RDFa?

JSON-LD. It's what Google recommends, and it sits in one script block instead of being woven through your HTML.

### Does this save what I type?

It's kept in the page's address after the #, so you can bookmark it. Nothing is sent anywhere.

## Preflight.sh

Preflight checks your codebase for missing structured data and the rest of the launch checklist before you deploy. https://preflight.sh/

More free tools: https://joncphillips.com/tools/
