Schema Markup Generator (JSON-LD)

Create structured data for your site without coding: organisation, local business, article, product or FAQ. Fill the fields, copy the ready JSON-LD and test it in Google's tool.

Create the code now
example.com › product{ JSON-LD }@type: ProductRich results

Generator

Your code

How the tool works

Simple steps, all in your browser with no sign-up.

Pick a type

Organisation, local business, article, product or FAQ.

Fill the fields

The code updates live.

Test it

In Google's Rich Results Test.

What is structured data?

Hidden code that describes page content in a language Google, search engines and AI tools understand: this is a product at this price, this article was written by this person, this company is at this address. Some types may show as rich results with ratings or prices; Google decides that, and it is not guaranteed.

TypeWhereWhat it describes
OrganisationHome pageName, logo and social profiles in the knowledge panel
Local businessContact or home pageAddress, phone and hours
ArticleEach postHeadline, image, author and date
ProductProduct pagePrice and availability in results
FAQA page with visible Q&AClearer understanding of the Q&A

Important rules

  • Only mark up what visitors can see on the same page, or it may be treated as spam.
  • Do not output the same type from two plugins; if Rank Math or Yoast adds it, edit it there.
  • Test the code in the Rich Results Test, then watch Enhancements in Search Console.
  • For AI too: add an llms.txt file.

Example: a product with price and stock

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Red rose bouquet",
  "image": "https://example.com/rose.jpg",
  "offers": {
    "@type": "Offer",
    "price": "149",
    "priceCurrency": "SAR",
    "availability": "https://schema.org/InStock"
  }
}

Common mistakes

MistakeFix
A required field missing, such as image or nameFill what Google's test flags
Price in code differs from the pageKeep them identical
Date in the wrong formatUse 2026-01-31
The same type output by two pluginsKeep one source

Key terms

Short definitions of what you meet along the way.

Schema.org
A shared vocabulary search engines use to describe things: products, articles, organisations, events.
JSON-LD
Google's recommended way to write structured data, in a script tag separate from page content.
Rich results
Search results with extras such as price, rating or Q&A, built from structured data.

Frequently asked questions

Did not find your answer? Ask us on WhatsApp

Do I need this with Rank Math?

Rank Math adds many types automatically. Use the generator for missing types or for sites without an SEO plugin.

Where do I put the code?

In the page head or before the end of the content. In WordPress, an HTML block in the page works.

Why no stars in my results?

Google decides when to show rich results and requires ratings to be real and visible on the page.

Does the generator store my data?

No. Everything is created in your browser.

Want a site ready for SEO from day one?

We build fast sites with correct structured data.

Contact us on WhatsApp