Schema / JSON-LD Generator
Generate Schema.org structured data (JSON-LD) for Organization, LocalBusiness, Article, Product, Person, FAQ and WebSite, and check it against the required and recommended properties.
How to Use
- Pick the type that matches the page: Organization, Local Business, Article, Product, Person, FAQ or Website.
- Fill in the fields that apply. Empty fields are left out, and nested objects (address, author, offers, rating) are built for you.
- For an FAQ page, add as many question-and-answer pairs as you need.
- Read the checklist: a red cross is a required property that is missing, and each warning names the field to fix, such as a price written with a currency symbol.
- Press Copy and paste the
<script type="application/ld+json">block into the page’s<head>or body.
Worked Example
A product page sells the Acme Travel Mug for 24.99 USD, rated 4.6 from 213 reviews. Choose Product and fill in name, description, image, brand, price, currency, rating and review count. The brand becomes a nested Brand, price and currency become an Offer, and the rating and count become an AggregateRating:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Acme Travel Mug",
"description": "16 oz stainless steel travel mug with a leak-proof lid.",
"image": "https://example.com/mug.jpg",
"brand": {
"@type": "Brand",
"name": "Acme"
},
"offers": {
"@type": "Offer",
"price": "24.99",
"priceCurrency": "USD"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.6",
"reviewCount": "213"
}
}
</script>
The checklist shows 6 properties, the required name and offers present, all three recommended properties (image, description, brand) present, 0 missing and 0 warnings.
The common mistake: typing the price the way the page shows it, "price": "$24.99". The dollar sign makes the price unreadable, so the offer is ignored even though the JSON itself is valid. The currency belongs in priceCurrency and the price must be the plain number 24.99. Try the “Mistake: $ in price” preset: the output is still produced, but the checklist raises a warning on the price and lists image, description and brand as missing recommended properties.
Show Work
JSON-LD Syntax Rules
From Rich Snippets to JSON-LD
Google announced rich snippets in May 2009, reading star ratings and prices from microformats and RDFa written into a page’s HTML. Each search engine had its own preferred markup until June 2011, when Google, Microsoft’s Bing and Yahoo launched Schema.org as one shared vocabulary; Yandex joined that November. The vocabulary now defines hundreds of types, from Product and Event to MedicalCondition.
Schema.org launched with Microdata, and RDFa Lite followed: both are attributes woven through the visible HTML, so any redesign could break them. JSON-LD (JSON for Linked Data) became a W3C Recommendation in January 2014, and version 1.1 followed in July 2020. It keeps the data in one separate script block, which is why Google now recommends it. In August 2023 Google limited FAQ rich results to well-known government and health sites and dropped HowTo rich results soon after, a reminder that eligibility rules change while the markup itself stays valid.
About This Tool
This generator writes Schema.org JSON-LD for the seven types most sites need: Organization, LocalBusiness, Article, Product, Person, FAQPage and WebSite. Empty fields are left out, nested objects are built for you, and the result is a complete script block ready to paste.
Unlike a plain form, it checks what it writes. The checklist compares the block with the properties Google documents as required and recommended for that type, and flags values that would make it unreadable: a currency symbol in the price, a relative URL, a date that is not ISO 8601, a rating off the 1–5 scale or opening hours in the wrong pattern. Show Work lists every property, where it was placed and why. Everything runs in your browser; nothing you type is uploaded.
It is meant for site owners, developers and SEO work where the markup has to be right first time. Check the live page with Google’s Rich Results Test afterwards.
Related tools: Meta Tag Generator, robots.txt Generator, and JSON Validator.
Frequently Asked Questions
What is JSON-LD structured data?
A small block of JSON inside a <script type="application/ld+json"> tag that states the facts of a page in the shared Schema.org vocabulary: this is a product, its price is 24.99 USD, it is rated 4.6 from 213 reviews. Visitors never see it. Search engines read it and can show rich results such as stars, prices and opening hours. Google recommends JSON-LD over the older Microdata and RDFa formats.
Will this guarantee rich results in Google?
No tool can. Valid markup makes a page eligible; Google decides whether to show the rich result. Some types are also restricted: since August 2023 FAQ rich results appear only for well-known government and health websites. Mark up only what visitors can see on the page, because hidden or misleading markup can earn a manual action.
Which properties are required?
It depends on the type. A Product needs a name plus at least one of offers, aggregateRating or review. A LocalBusiness needs name and address. A WebSite needs name and url for Google’s site name. An FAQPage needs mainEntity, with each Question having a name and an acceptedAnswer text. Google lists no required properties for Article and Organization, only recommended ones.
Why must the price be a plain number?
Because the currency has its own property. Write "price": "24.99" with "priceCurrency": "USD", not "$24.99": a currency symbol or a thousands separator such as 1,299.00 makes the price unreadable to the parser. Use a dot for decimals even where commas are normal.
How do I check the markup after adding it?
Paste the page URL or the code into Google’s Rich Results Test, which shows the rich result types it qualifies for, and into the Schema Markup Validator at validator.schema.org, which checks it against the whole vocabulary. After the page is live, the Enhancements reports in Google Search Console list errors across the site.
How do I use the Schema / JSON-LD Generator?
Just pick your options. The answer shows up right away — there is no button to press. Change anything and it updates by itself.
Does it cost anything or need an account?
No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.
Is anything I type uploaded?
No. The tool works entirely on your device, so the values you enter never leave your browser.
Common Use Cases
Product snippets
Give a product page its price and rating: 24.99 USD and 4.6 stars from 213 reviews can appear under the result.
Local business details
Describe a shop’s address, phone (+1-555-0100) and hours (Mo-Fr 07:00-18:00) in one block for local search.
Article dates and authors
Mark up a blog post’s headline, author, image and its published and modified dates so the right date is shown.
Site name in results
Tell Google what to call your site above each result with a WebSite block holding name and url on the home page.
Brand knowledge panel
Point an Organization’s name and logo at its official social profiles through sameAs.
Last updated: