JSON-LD Generator

Generate JSON-LD from a form or check existing markup for missing required fields. 17 Schema.org types from Article to VideoObject, in your browser.

Output

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article"
}
</script>

The JSON-LD Generator builds copy-paste Schema.org markup without you having to know the syntax by heart. Two tabs: Generate takes a form and gives you finished JSON-LD, Check takes existing markup and tells you which required field is missing. Like the other eleven free tools, both run entirely in your browser and nothing goes to a server.

It's meant for anyone who maintains structured data themselves. WordPress without an SEO plugin, a home-built CMS, or simply the case where a plugin doesn't cover a field you need.

How it works

In the Generate tab you pick one of 17 types, from Article through Product to VideoObject. The form adapts to the type. FAQPage and HowTo get dynamic rows for question and answer or for individual steps, and BreadcrumbList gets the same for each crumb in the path. All other types show fixed fields, with required fields marked by an asterisk.

Whatever you leave empty doesn't show up in the result at all. The tool strips empty fields from the JSON before it outputs it, so you never ship an "image": "". It builds nested structures automatically.

If you give a Product a rating, it turns into a proper AggregateRating object. An Event gets its venue wrapped in a Place, a Person with an employer gets an embedded Organization. At the end you copy the result with or without the <script type="application/ld+json"> wrapper, using the toggle at the top right of the output panel.

The Check tab goes the other way. You paste raw JSON-LD, a script tag or the full source of a page. If the input looks like HTML, the tool pulls out every ld+json block and checks each one on its own. That also applies when a block sits inside a @graph array, where a lot of SEO plugins hide their markup.

It checks against the same 17 types plus the entities that usually sit inside them: Offer, AggregateRating, Rating, ListItem, ItemList. If a Product's Offer is missing the currency, the tool reports it, even when the Product itself looks complete. Common subtypes get resolved automatically.

A BlogPosting gets checked like an Article, a Restaurant like a LocalBusiness. If the tool doesn't know a type, it only runs a syntax check and tells you plainly that nothing more was checked.

When you need it

  • You want FAQ or article markup on a page without typing JSON by hand.
  • You want to know what your SEO plugin actually outputs. Copy the page source in and see which entities are in there.
  • A rich result suddenly disappeared and you're looking for the reason. A missing required field is usually the answer.

What structured data actually does

Structured data doesn't change how a page ranks. It changes what Google can do with a page that already ranks well enough to show up in the results. FAQPage markup turns a blue link into an expandable snippet with the questions right in the search result.

A Product with Offer and AggregateRating can show price and stars next to the title. BreadcrumbList replaces the bare URL with a readable path. Those are extra things to click on, not a ranking factor in the classic sense.

What matters is the difference between valid and eligible. Valid means the JSON parses, the required fields are there, Google can read the entity. Eligible for a rich result also means Google considers the page suitable for that display. Google decides that by its own quality guidelines, regardless of whether your markup is technically clean.

Those are two separate checks. This tool, and the Google documentation the Check tab's rules are based on, only cover the first one. Valid markup gets you a ticket in, but there's no guarantee the show actually goes on.

Google also doesn't read every field equally strictly. For Article, headline and an author object are enough for the basics, while image and datePublished are recommended but not strictly required.

JobPosting, on the other hand, is unusually strict. If title, description, hiringOrganization, datePosted or jobLocation is missing, the job disappears from Google for Jobs entirely. If you don't know the rules per type by heart, the Check tab gives them to you as a concrete error message instead of a PDF to dig through.

AI search engines parse JSON-LD just like Google does, because it's the cleanest machine-readable statement of who you are and what a page claims. I wouldn't expect ranking miracles from it, but broken markup leaves information on the table that costs nothing to fix. Whether it ends up as measurable traffic is something you'll see in your Search Console numbers sooner than in the rich result itself.

JSON-LD instead of Microdata: why the format matters

There are three ways to get Schema.org data into a page: JSON-LD, Microdata and RDFa. Google recommends JSON-LD, and in practice that's the one that won, for a simple reason. Microdata needs itemscope and itemprop attributes in the middle of the visible HTML, woven into the layout.

If the template changes or someone cleans up the CSS classes, the structure breaks along with it, and nothing on the front end looks any different. JSON-LD sits in its own script block, usually in the <head>, completely separate from the visible markup. You can change the data without touching the design, and the other way round.

That's also why practically every SEO plugin outputs JSON-LD instead of Microdata. The data comes from the database, and the script block gets assembled fresh on every request. The template never notices.

So the Check tab expects a script tag or a full page source, not individual HTML attributes. That's where the data actually lives today.

What it can't do

The Check tab judges structure, not truth. If you enter a five-star rating on a Review, the tool only checks whether the field is there and in the right format. It doesn't check whether the rating is real. That's on purpose: Google decides about spam and manipulation with its own independent signals, which this tool neither knows nor tries to replace.

It also doesn't fetch any page itself. You paste HTML or JSON manually, nothing gets crawled. Outside the 17 generator types, their most common subtypes and the five nested entities (Offer, AggregateRating, Rating, ListItem, ItemList), you only get a syntax check with a note. No real field validation happens there.

For the final, binding check before going live, Google's own Rich Results Test is still the authority. You can run the Meta Checker or the AI Phrase Checker over the rest of the page right after.

FAQ

Does JSON-LD improve my ranking?
No. Structured data doesn't change how a page ranks. It changes what Google can do with a page that already shows up in the results. FAQPage turns the blue link into an expandable snippet, Product with Offer and AggregateRating shows price and stars, BreadcrumbList replaces the bare URL with a readable path. Those are extra things to click on, not a ranking factor.
My markup is valid but the rich result still doesn't show. Why?
Because valid and eligible are two different checks. Valid means the JSON parses, the required fields are there, Google can read the entity. Eligible also means Google considers the page suitable for that display, and Google decides that by its own quality guidelines. This tool only covers the first half.
Can I paste the full source of a page?
Yes. If the input looks like HTML, the Check tab pulls out every ld+json block and checks each one separately, even when it sits inside a @graph array, which is where a lot of SEO plugins put their markup. That way you see what your plugin actually outputs, not what it promises.
Which types does the Check tab validate?
The same 17 types as the generator, plus the entities that usually sit inside them: Offer, AggregateRating, Rating, ListItem and ItemList. It resolves common subtypes, so a BlogPosting gets checked like an Article and a Restaurant like a LocalBusiness. If it doesn't know a type, it only checks the syntax, and the result says so.
Why JSON-LD instead of Microdata?
Microdata needs itemscope and itemprop attributes in the middle of the visible HTML, woven into the layout. If someone changes the template or cleans up the CSS classes, the structure breaks with it, and nothing looks different on the front end. JSON-LD sits in its own script block, usually in the head, separate from the markup, and you can change it without touching the design. That's why Google recommends it and why practically every SEO plugin outputs it.