331+ free tools. No sign-up. No hidden fees. Explore the toolkit

JSON-LD Schema Generator

JSON-LD schema is the structured-data format Google recommends for helping search engines understand your pages. Add it to a page and you become eligible for rich results — FAQ dropdowns, HowTo steps, product prices and business details shown right in the search results.

Pick a schema type, fill in the fields, and copy clean, valid JSON-LD — no coding needed. Switch to Validator mode to check markup you already have.

Your JSON-LD

Save to Pinterest

How It Works

JSON-LD (JavaScript Object Notation for Linked Data) is a block of structured data you add to a page inside a script tag of type application/ld+json. It tells search engines what the page is about in a format they can read directly — a list of questions and answers, a product's price, a business's address — instead of making them guess from the visible text. Other head tags serve other jobs — hreflang tags tell Google which language version of a page to show each visitor.

Every block starts with @context (always https://schema.org) and @type (what the thing is: FAQPage, Product, HowTo and so on). Google uses this data to decide whether a page qualifies for rich results — the FAQ dropdowns, step lists and product details you see in search. The markup itself is invisible to visitors; only the rich results it enables are visible.

Worked Example

One FAQ question — "How long does delivery take?" with the answer "Orders placed before 2pm ship the same day and arrive within 2–3 working days." — produces exactly this JSON-LD:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does delivery take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Orders placed before 2pm ship the same day and arrive within 2–3 working days."
      }
    }
  ]
}

How to Use This Tool

Choose a schema type, fill in the fields, and click Generate JSON-LD. Copy the output and paste it into your page.

  1. Choose a schema type. FAQ for question-and-answer pages, HowTo for instructions, Article for blog posts, Product for items for sale, LocalBusiness for a shop or office, BreadcrumbList for navigation trails, Organization for a company or brand.
  2. Fill in the fields. Fields marked * are required — the generator will tell you if one is missing. Optional fields are left out of the output when blank, so the JSON stays clean.
  3. Generate and copy. Click Generate JSON-LD, then Copy. The output is wrapped in script tags by default, ready to paste.
  4. Paste it into your page. Put the block in the page's head section or just before the closing body tag — either works.
  5. Validate before publishing. Switch to Validator mode and paste the block back in, or check it with Google's Rich Results Test, to catch mistakes before the page goes live.

Tips and Practical Advice

Frequently Asked Questions

What is JSON-LD schema?

JSON-LD (JavaScript Object Notation for Linked Data) is a way of adding structured data to a web page. It is a block of JSON inside a script tag of type "application/ld+json" that describes the page's content — a list of questions and answers, a product's price, a business's address — in a format search engines can read directly. Google recommends JSON-LD over the older microdata and RDFa formats.

Where do I paste the generated JSON-LD?

Paste it into the HTML of the page it describes, inside the <head> section or just before the closing </body> tag. The generator wraps the output in the script tags for you (uncheck the box if your CMS adds them itself). Each page should only carry schema that describes that page's own content.

Does JSON-LD improve my Google rankings?

Not directly — structured data is not a ranking factor. What it can do is make a page eligible for rich results, such as FAQ dropdowns or product prices in the search results, and those richer listings can earn more clicks. The markup must match the visible content of the page, or Google may ignore it. To tell which clicks came from which campaign, tag your links with a UTM campaign URL builder.

What does the validator check?

It checks that the markup parses as valid JSON, that @context points to schema.org, that every node has an @type, and that the required fields for that type are present — for example, a FAQPage needs mainEntity with Questions that each have a name and an acceptedAnswer, and a Product needs a name. Problems are listed one by one so you can fix them.

Can I use more than one schema type on a page?

Yes. You can add several separate script blocks to one page, or combine types in a single block using an @graph array. For example, an article page might carry Article schema plus a BreadcrumbList. This generator builds one type at a time — generate each block and paste them all into the same page.

Last updated: