Developer tool

JSON-LD Schema Generator

Choose a schema type and enter only factual details you can verify.

Runs in your browser. No upload.

Values are processed locally in this browser.

Result

—

About this tool

JSON-LD Schema Generator made simple.

Structured data does not guarantee rich results. Never add ratings, reviews, prices or facts that are not visible and true on the page.

Guide

Using JSON-LD Schema Generator

The JSON-LD Schema Generator drafts a short block of structured data for an Organization, a WebSite or an Article. You pick the type, enter a name or headline and the page address, and add a description, logo or date where they apply. It prints plain JSON that uses the schema.org vocabulary, ready for you to review and paste into a page. It does not promise rich results or any search position, and it does not validate the markup.

How to use it

  1. Choose Organization, WebSite or Article from the Schema type menu.
  2. Enter the name or headline (up to 200 characters) and the full page address, starting with http:// or https://. For an Organization or WebSite the address is saved as url. For an Article it is saved as mainEntityOfPage.
  3. Fill only the optional boxes that apply: a logo address for an Organization, or a description and a publication date for an Article. The other types ignore them.
  4. Press Calculate, check the JSON, press Copy result, and place it in a script tag of type application/ld+json on the page it describes.

Worked examples

A business as an Organization

You enter
Kind
Organization
Name
Acme Bakery
Url
https://www.example.com/
Logo
https://www.example.com/logo.png
You get
@context
https://schema.org
@type
Organization
Name
Acme Bakery
Url
https://www.example.com/
Logo
https://www.example.com/logo.png

The tool writes the type, the name, the page address and, because a logo address was given, the logo. A description typed here would be ignored for this type.

Run through the tool’s own code.

A blog post as an Article

You enter
Kind
Article
Name
How we bake rye
Url
https://www.example.com/blog/rye
Description
A short guide
Date
2025-03-05
You get
@context
https://schema.org
@type
Article
Headline
How we bake rye
Main entity of page
https://www.example.com/blog/rye
Description
A short guide
Date published
2025-03-05

For an Article the name becomes the headline, and the address becomes mainEntityOfPage. The description is cut at 500 characters, and the date is written as year-month-day.

Run through the tool’s own code.

An address without the https:// part

You enter
Kind
Organization
Name
Acme Bakery
Url
example.com
You get
Message
Canonical page must be a complete URL.

Addresses must be complete and start with http or https. No JSON is produced until the address is fixed. Addresses that include a username or password are also refused.

Run through the tool’s own code.

When it helps

  • Draft starter markup for a small business website's home page.
  • Mark up a blog post with its headline, link and date.
  • Learn how a JSON-LD block is laid out by changing the type and watching the output.
  • Produce a clean snippet to hand to a developer for review.

Limits to keep in mind

  • Only three types are offered, and the output holds few fields. An Article has no author, image or modified date, and an Organization has no contact details or social profile links, so add those by hand if they are true and visible.
  • Each optional box applies to one type. The description is used only for an Article, the logo only for an Organization, and the date only for an Article.
  • The tool does not check your markup against any search engine's rules, does not test eligibility for rich results, and cannot tell whether your text matches what is visible on the page.
  • Addresses must be full http or https links. A relative link such as /about is refused, and a date it cannot read gives an error.

Tips

  • Mark up only what visitors can see on the page. Google's guidelines say not to mark up content that is hidden from readers or misleading.
  • After you publish the page, test it with a checking tool such as Google's Rich Results Test, and fix anything it flags.
  • Use the same address as the page's canonical link, and use the name as it appears on the site, so the data and the page agree.

Sources

Common questions

About JSON-LD Schema Generator.

What is JSON-LD?

It is a JSON-based format for linked data, set out in a W3C specification. On a web page it lets you describe the page in a structured way that programs can read, by using shared vocabularies such as schema.org.

Where do I put the output on my page?

Wrap it in a script element with the type application/ld+json and place it in the page's HTML. Google's examples put it in the head, and the markup must describe the page it sits on.

Will this get me rich results or a better ranking?

No promise can be made. Google's guidelines page says that even correct markup does not mean a rich result will be shown. This tool makes no claim about rankings or traffic either. Treat the output as a clear label for your content, not as a shortcut.

Which fields does each type output?

Organization gives name, url and an optional logo. WebSite gives name and url. Article gives headline, mainEntityOfPage and, if filled in, description and datePublished. Every block also gets the @context and @type lines.

Why is my page address rejected?

It must be a complete address starting with http:// or https://, with no username or password in it. Entries such as example.com, /about or javascript: links are refused with a message, and no JSON appears.

Can I add ratings, reviews or prices here?

No, the tool has no fields for them. Do not add them by hand unless they are real and shown on the page. Google's guidelines warn against fake reviews and against marking up content that readers cannot see.

Is what I type uploaded?

No. The JSON is built in your browser, and the page says your input is not uploaded to a server.

How do I use JSON-LD generator?

Choose a schema type and enter only factual details you can verify.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.