Free JSON-LD generator

Schema validator and schema markup generator

Validate the schema markup on any page, or generate JSON-LD for 13 schema.org types, from Organization and Product to Event, JobPosting and Recipe. A free schema validator and structured data testing tool.

JSON-LD{"@type": "Product","name": "Yirgacheffe 340 g","offers": {"price": "18.50","priceCurrency": "USD"},"aggregateRating": {"ratingValue": "4.8"}}example.com › coffeeYirgacheffe 340 g4.8 (214)$18.50In stockLight roast whole bean coffee

Schema types

The schema generator’s 13 types and what Google needs

The properties Google lists as required for each rich result, taken from Google Search Central. Add the recommended ones too: the generator flags the most useful.

TypeUse it onGoogle requires
OrganizationHome page or about pageNothing required. Name, URL and logo are recommended
LocalBusinessA shop, clinic, office or restaurant pagename, address
ArticleBlog posts and news storiesNothing required. Headline, image, author and dates are recommended
ProductA product pagename, plus one of offers, review or aggregateRating
FAQPageQuestions and answers shown on the pageNo longer shown as a rich result in Google since May 2026
BreadcrumbListAny page inside a sectionitemListElement with a name and URL for each level
PersonAn author or team member pageNo rich result of its own. Use it inside Article author
WebSiteThe home pagename and url, used for the site name shown in results
EventA single event pagename, startDate, location with an address
JobPostingA single job adtitle, description, datePosted, hiringOrganization, jobLocation
RecipeA single recipename, image
VideoObjectA page with a video on itname, thumbnailUrl, uploadDate
SoftwareApplicationAn app or software pagename, offers.price, plus aggregateRating or review

Placement

Where to paste the code

PlatformWhere the JSON-LD goes
WordPressSEO plugins such as Yoast and Rank Math add Organization, Article and breadcrumb markup for you. For other types, use the plugin’s schema setting or a header code plugin on that page.
ShopifyMost themes already output Product markup. For other types, edit the theme code and add the block to theme.liquid or to the template for that page type.
WebflowPage settings, Custom code, Inside head tag. On CMS templates you can insert CMS fields into the code.
SquarespacePage settings, Advanced, Page header code injection.
WixThe page’s SEO settings, Advanced SEO, Structured data markup.
Next.js and ReactRender a script tag with type application/ld+json in the page component, filled from the same data the page shows.

Changes

Rich results Google has retired

Markup for these types is still valid schema.org, but Google no longer shows a special result for it.

FeatureRetired
How-toSeptember 2023
Course info, estimated salary, learning video, special announcement, vehicle listing2025
Practice problemJanuary 2026
FAQMay 7, 2026

Google lists every change on its Search Central documentation updates page.

Checks

Before you publish

It matches the page. Every fact in the markup should be visible on the page itself. Markup for reviews, prices or questions the visitor cannot see goes against Google’s structured data guidelines.

It validates. Run the code through the Validator tab, then test the published page in Google’s Rich Results Test, which reports the rich results a page qualifies for, and the Schema.org validator, which checks the vocabulary itself.

It stays current. Prices, opening hours and dates go stale. Generate markup from the same data the page shows where you can, so the two never disagree. Google’s introduction to structured data explains the rest.

For AI assistants

SchemaWright for Claude

SchemaWright is our free Claude skill. It reads a page, writes the JSON-LD and checks it against the page content.

FAQ

Schema markup generator, answered

Anything we have not answered here, ask us directly. A senior engineer replies.

What is schema markup?

Schema markup is structured data, written in the schema.org vocabulary, that describes what a page is about in a form search engines read directly: a business with an address and opening hours, a product with a price, an event with a date and a venue. It sits in the page code and visitors do not see it.

Does schema markup help SEO?

Google uses structured data to understand a page and to decide whether it can show a rich result, such as product prices, recipe cards or event listings. Markup makes a page eligible for those features but does not guarantee them, and it has to describe what is actually on the page.

Does FAQ schema still work?

Google stopped showing FAQ rich results on May 7, 2026, and removed its FAQ documentation in June 2026. FAQPage markup is still valid schema.org and does no harm, so the generator still builds it, but it no longer changes how a page looks in Google Search.

How do I validate schema markup?

Open the Validator tab of this schema markup validator and paste either the JSON-LD or the full HTML source of the page. The validator finds every JSON-LD block, reports syntax errors with the line and column, and lists missing or empty properties for each item. Then confirm with Google’s Rich Results Test on the live page.

Is this a replacement for Google’s Structured Data Testing Tool?

Google retired its Structured Data Testing Tool and now points to two tools: the Rich Results Test for Google features, and the Schema Markup Validator for schema.org syntax. This validator checks pasted code or page source in your browser, and the generator writes new markup. Use the Rich Results Test as the final check on a live page.

Why JSON-LD rather than microdata?

JSON-LD is one block of code that sits apart from your HTML, so it is easy to add, generate and maintain. Google accepts JSON-LD, microdata and RDFa, and recommends JSON-LD where you can use it.

Where do I put the generated code?

Paste the whole script block into the page it describes, in the head or anywhere in the body. The table on this page shows where that is in WordPress, Shopify, Webflow, Squarespace, Wix and Next.js.

Which schema type should I use?

Use the type that matches the main content of the page: Organization on the home or about page, LocalBusiness for a business with a physical location, Article or BlogPosting for posts, Product for a product page, Event for an event page, and BreadcrumbList on pages inside a hierarchy. A page can carry more than one.

Is anything I type sent anywhere?

No. The generator and the validator run entirely in your browser. Nothing you type or paste is sent to Dude Lemon or stored.

Dude Lemon

Contact Dude Lemon

Dude Lemon is a software development company. We build web apps, mobile apps and AI software for businesses.