Json ld schema generator cropped

Paste the block into the <head> of the page it describes. Structured data must accurately represent the visible content of that page — only enter facts that are actually on it. This tool never invents ratings, reviews or author information, and generating schema does not guarantee rich results: search engines decide whether to show them.

What Is the JSON-LD Schema Generator?

A JSON-LD Schema Generator builds structured data — the machine-readable description of a page that search engines use to understand what the page is about. You pick a type (an article, a product, an event, a recipe, an organisation and more), fill in the facts, and the tool produces a <script type="application/ld+json"> block to paste into your page. It is free, needs no sign-up, and runs entirely in your browser, so nothing leaves your device.

Structured data is a label on your page in a language search engines understand. A human reads your article and knows it is an article, written by a person, published on a date. A search engine cannot tell that from the text alone — it needs the facts stated plainly, in a format it can parse. That is what JSON-LD does. With it, a search engine can show your page as a rich result: an article with its author and date, a product with its price, a recipe with its cooking time. Without it, the search engine has to guess, and it often guesses wrong.

This tool builds that block for you across eleven schema types, and it does it honestly: only the fields you fill in produce properties, and nothing is invented. It never adds ratings, reviews or author information you did not enter — because structured data that does not match the visible page is worse than none at all.

How to Use the JSON-LD Schema Generator

  1. Pick the “Schema type”. The dropdown holds eleven types: Article, BlogPosting, Organization, Person, WebSite, WebPage, BreadcrumbList, Product, Event, Recipe and SoftwareApplication. Choose the one that matches the page. The fields below change to the ones that type uses, so you only ever see the fields that apply.
  2. Fill in the fields. Each field has a label and a hint telling you what it is for. For an Article, the fields are the headline, description, image URL, page URL, author name and author type (Person or Organization), publisher name and publisher logo URL, and the dates published and modified. Only fill in facts that are actually on the page.
  3. Check the output. The generated JSON-LD appears on the right as you type, inside its <script type="application/ld+json"> wrapper, ready to paste. Empty fields are left out of the block entirely — the tool never fills a gap with a guess.
  4. Copy or download. Click Copy to put the block on your clipboard or Download to save it as a file. Paste it into the <head> of the page it describes, before the closing </head> tag. Clear empties the fields, and Reset loads the example again.

Worked example

The tool loads with an Article example already filled in: the headline “Learn HTML From Zero to Hero”, the description “Learn HTML from zero to hero with clear tutorials, examples and practical exercises for beginners.”, the site logo as the image, the page URL https://allabouthtml.com/, the author “All About HTML” (an Organization), the publisher “All About HTML” with its logo, and the dates published and modified both set to 2026-11-11. The generated block looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Learn HTML From Zero to Hero",
  "description": "Learn HTML from zero to hero with clear tutorials, examples and practical exercises for beginners.",
  "image": "https://allabouthtml.com/wp-content/uploads/2023/01/allabouthtml-logo.png",
  "url": "https://allabouthtml.com/",
  "author": {
    "@type": "Organization",
    "name": "All About HTML"
  },
  "publisher": {
    "@type": "Organization",
    "name": "All About HTML",
    "logo": {
      "@type": "ImageObject",
      "url": "https://allabouthtml.com/wp-content/uploads/2023/01/allabouthtml-logo.png"
    }
  },
  "datePublished": "2026-11-11",
  "dateModified": "2026-11-11"
}
</script>

Change the “Schema type” to Recipe and the fields switch to the ones a recipe needs — name, description, image, URL, author, dates, preparation time, cooking time, total time, yield, ingredients and instructions. Fill those in with the real recipe, and the block describes it instead.

Where Structured Data Actually Helps

Articles and blog posts. An Article or BlogPosting block tells the search engine the headline, the author, the publisher and the dates, which lets it show the article properly in results. It is the most common type.

Products and recipes. A Product block carries the name, brand, SKU, price, currency and availability — the facts behind the price and stock information that can appear in a shopping result. A Recipe block carries the preparation and cooking times, the yield, the ingredients and the instructions, which is what powers the recipe cards in search results.

Organisations, people and navigation. An Organization block states a site’s name, logo and social profiles. A Person block does the same for an author. A BreadcrumbList block describes the trail of pages above the current one — Home, then a category, then the page — so search engines can show it instead of a bare URL.

Tips for Structured Data That Works

  • Only enter facts that are actually on the page. Structured data must accurately represent the visible content of the page it describes. If the page does not show a rating, do not add one. If it does not name an author, do not invent one. Search engines check, and markup that contradicts the page can get the whole block ignored — or the site penalised.
  • Pick the closest type, not the fanciest one. An article is an Article, even if it is also a tutorial. A blog post is a BlogPosting. Choosing the type that matches the page matters far more than adding extra properties; a correct, simple block beats an ambitious, wrong one every time.
  • Fill in the dates, and keep them current. The published and modified dates tell search engines whether the page is fresh. When you update an article, update the modified date to match — it is a small thing, and it is one of the few signals in the block that changes over time.
  • Validate the block before you publish it. Copy the output into Google’s Rich Results Test and check that it parses with no errors. The tool builds valid JSON-LD, but a paste can go wrong — a missing bracket, a stray character — and the test catches it.
  • Remember that schema does not guarantee rich results. Generating structured data makes your page eligible for rich results; it does not promise them. Search engines decide whether to show them, and they consider the quality of the page as well as the markup.

Frequently Asked Questions

What is JSON-LD?

It is a way of writing structured data — facts about a page, in a format search engines can read — as a block of JSON inside a <script type="application/ld+json"> tag in the page’s <head>. The @context is always https://schema.org, the vocabulary the facts come from, and @type says what kind of thing the page is: an Article, a Product, a Recipe, and so on. The rest of the block is the facts themselves.

Which schema type should I choose?

The one that matches the page. An article is an Article, a blog post is a BlogPosting, a company homepage is an Organization, an author page is a Person, a shop product is a Product, a dated occasion is an Event, a cooking page is a Recipe, and an app page is a SoftwareApplication. When two types could fit, pick the more specific one.

Does adding schema guarantee rich results in search?

No. Generating schema makes a page eligible for rich results — the enhanced listings with prices, ratings, dates or images — but search engines decide whether to show them. They look at the quality and relevance of the page as well as the markup. Think of structured data as making your page understandable, not as a switch that turns rich results on.

Why are some fields missing from the output?

Because you left them empty. Only the fields you fill in produce properties; the tool never invents a value. That is deliberate: a rating, a review or an author that does not exist on the page would be false information, and false structured data can get the markup ignored or the site penalised. Fill in what is true and leave the rest blank.

Where do I paste the generated block?

Into the <head> of the page it describes, before the closing </head> tag. One block per page, describing that page only — do not paste an Article block onto a product page, or a Recipe block onto a homepage. After publishing, check the page in Google’s Rich Results Test to confirm the block parses and is eligible.

Conclusion

Structured data is how you tell a search engine, in its own language, what a page actually is — and this JSON-LD Schema Generator writes that description for you across eleven types, from articles to recipes, with nothing invented and nothing left to guess at. Try it above with the Article example, and when the structured data is in place, the HTML Meta Tag Generator is the matching tool for the title, description and social tags that sit beside it in the head.

Related Tools