Schema Markup Generator (JSON-LD)

Pick a type, fill in the fields and copy the JSON-LD script into your page. Structured data helps search engines understand your content and can make a page eligible for rich results.

Only mark up content that is visible on the page. Test the result with Google's Rich Results Test before publishing.

How to use this tool

  1. Choose the schema type that matches your page.
  2. Fill in the fields. Leave out anything you do not have.
  3. Copy the code and paste it into the head or body of the page.
  4. Test it with the Rich Results Test and the Schema Markup Validator.

A note on FAQ rich results

Google now shows FAQ rich results only for a small set of well-known government and health sites. FAQ markup is still valid and can help other systems read your page, but do not expect a visual change in Google results.

Want to go deeper? Read our guide: Schema Markup for Beginners: Structured Data Explained.

Frequently asked questions

Does schema improve rankings?

Structured data is not a direct ranking factor. It helps search engines understand a page and can enable rich results, which may improve how the result looks.

JSON-LD or microdata?

Google recommends JSON-LD because it is easy to add and maintain without changing your visible HTML.