Generate valid JSON-LD schema markup for Articles, Products, Local Business and more.
This generator builds a single block of JSON-LD for one of six schema.org types: Article, LocalBusiness, Product, Organization, Person or WebPage. You fill in plain text fields, and it returns the markup already wrapped in a <script type="application/ld+json"> tag, ready to paste into your page. Empty fields are left out. A few properties get nested for you: an Article author becomes a Person object and a publisher an Organization, a Product brand becomes a Brand object, and price, currency and availability move into an Offer. Everything runs in your browser and nothing is sent to a server.
For Article, type your organization's name into Publisher; if you leave it blank, the output has no publisher at all. For Product, type availability in schema.org's own capitalization, such as InStock or OutOfStock: the tool adds the https://schema.org/ prefix and removes spaces, but it does not fix lowercase. Enter the price as a bare number and the currency as a three letter code like USD.
For LocalBusiness, the address goes out as one text string, while Google's local business documentation describes a PostalAddress with separate street, city and postal code parts. Google also suggests the most specific business subtype (Restaurant, Dentist) over the generic type. The tool does no validation, so a typo in a URL or date passes straight through.