Generate Schema.org

Generate Schema.org JSON-LD for a typed page, product, article, event, or organization.

freeworks offlinenothing uploaded
ToolSchema.org Generator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Selected types, properties, identifiers, and nested relationships become JSON-LD with schema.org context and property names. The output describes page content and does not validate the business facts supplied.

  • JSON-LD keeps markup separate from visible HTML.
  • Nested Offer, Person, and Organization objects remain explicit.

Worked example

Article structured data with author and date
Generate JSON-LD for a blog article with author, publish date, and image
Input
											Type: Article
Name: How to Build a REST API
Description: Step-by-step guide to building RESTful APIs
URL: https://example.com/blog/rest-api
Image: https://example.com/images/rest-api.jpg
Author: Jane Developer
Date published: 2025-01-15
Date modified: 
Extra fields: 
										
Output
												<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "name": "How to Build a REST API",
  "description": "Step-by-step guide to building RESTful APIs",
  "url": "https://example.com/blog/rest-api",
  "image": "https://example.com/images/rest-api.jpg",
  "author": {
    "@type": "Person",
    "name": "Jane Developer"
  },
  "datePublished": "2025-01-15",
  "headline": "How to Build a REST API"
}
</script>
											

When to use this

Product, article, and event templates generate structured data.

Edge cases

  • A field accepted by one vocabulary type may be rejected on another.
  • Dates without timezone can be interpreted differently.
  • Contradictory visible content can cause markup to be ignored.

References