Skip to content

Schema Markup Generator

Create structured data (schema.org JSON-LD) that helps Google show rich results — article, product, local business, organization or person. Fill in the fields, copy the script, and paste it into your page head.

What this means

Structured data labels your content for machines. Google reads JSON-LD to build rich results like star ratings, breadcrumbs and product prices directly in the search results page.

How we calculate it

Formula

A @context (https://schema.org) plus @type and matching properties, serialized as JSON-LD inside a <script type="application/ld+json"> tag.

Worked example

Add Product schema to get star ratings in Google.

  1. 1Choose the schema type.
  2. 2Fill in the common fields.
  3. 3Paste the JSON-LD into your page head.

Important assumptions

  • Rich results are not guaranteed; Google decides which enhancements it displays.

Frequently asked questions

JSON-LD vs microdata?

JSON-LD is a script block, separate from HTML, and is Google's recommended format. Microdata lives inside the HTML attributes.

How do I test my schema?

Use Google's Rich Results Test or the Schema Markup Validator by pasting your URL or the code itself.

Related tools