JSON-LD Generator

Create valid JSON-LD structured data for articles, products, businesses, events and more — without writing JSON by hand.

● Everything runs in your browser. Your content and URLs are never sent to our servers.

How to generate JSON-LD

  1. Choose a schema type: Article / BlogPosting, Product, Organization, Local business, Person, Event, Recipe, WebSite, Software application or Video.
  2. Fill in the fields. The JSON-LD updates as you type; empty fields are left out.
  3. Click Copy and paste the block into the <head> (or the <body>) of your page.
  4. Test the page with Google's Rich Results Test, then request indexing in Search Console.

What is JSON-LD?

JSON-LD is a way to describe the content of a page to search engines with schema.org vocabulary, in a <script type="application/ld+json"> tag. It's Google's recommended format for structured data, because it stays separate from your HTML. Example for an organization:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Studio",
  "url": "https://www.example.com",
  "logo": "https://www.example.com/logo.png"
}
</script>

Which schema type for which page?

PageSchema typeCan show in Google
Blog post, news articleArticle / BlogPostingHeadline, image and date in Top stories and Discover
Product pageProduct + Offer + AggregateRatingPrice, availability, star rating
Home or About pageOrganizationLogo and details in the knowledge panel
Shop, restaurant, officeLocalBusinessAddress, hours, phone
Concert, webinar, classEventDate, place and tickets
RecipeRecipeImage, cooking time, rating
App or softwareSoftwareApplicationPrice, rating, operating system
Video pageVideoObjectThumbnail, duration, key moments

Rules Google enforces

FAQ

Where do I put JSON-LD in WordPress?

Many SEO plugins add schema automatically. For a custom block, use a plugin that inserts code in the header, or a Custom HTML block in the page.

Can I have several JSON-LD blocks on one page?

Yes. For example an Article plus a BreadcrumbList. Generate breadcrumbs with the Breadcrumb Schema Generator and FAQs with the FAQ Schema Generator.

JSON-LD, Microdata or RDFa?

All three are supported, but JSON-LD is easier to write and maintain, and Google recommends it.

Is my content sent anywhere?

No. The JSON-LD is generated in your browser.