Skip to content
Plaintools

JSON-LD generator

This is the JSON-LD-focused entry for the same schema types as the markup generator. Fill the fields, copy the object, and paste it into a script of type application/ld+json. Review it in Google’s testers before you ship.

Same schema types as the schema markup generator. Output is JSON-LD you can paste into a script tag.

Question 1
Question 2

Example

FAQ about return shipping

Same example as the schema markup generator: two questions on returns produce an FAQPage graph you can copy or download.

Related: Schema markup generator, Schema checker

FAQ

How is this different from the schema markup generator?
It is not a second engine. Both pages share the same types and builder. Use this URL when you want a JSON-LD-named tool; use schema markup when that is the phrase you search for.
Do I wrap the output in a script tag?
The download is the JSON object only. In HTML you still wrap it: a script of type application/ld+json, then the object. Do not nest a second script.
Which types can I emit?
FAQPage, HowTo, Article, Product, LocalBusiness, BreadcrumbList, and Organization — the same set as the schema markup generator.
Is the JSON sent to a crawler from here?
No. Preview is local. Search engines only see markup after you publish it on a page they can fetch.
How do I emit the same JSON-LD without this form?
Use this page or the schema markup generator — they share buildSchemaJsonLd. There is no API. Compact empty strings/arrays. FAQPage needs both question and answer. HowToStep position starts at 1. Product Offer only if price or url is set (currency defaults to USD). Organization sameAs is newline-split. Serialize with JSON.stringify(..., null, 2) and a trailing newline.