Build or check JSON-LD
How to use it
- Choose whether to build an entity or format existing markup.
- Paste your JSON and generate the output.
- Validate the markup against Schema.org.
The syntax check reads your JSON locally. A schema validator checks whether the terms and structure match the vocabulary.
Reading the results
Build a custom entity or format an existing one
Use Build when you already know the Schema.org type and the properties you need. For a software listing, begin with SoftwareApplication and supply properties such as the name and operating system. Use Check and format when you have existing JSON-LD. You can paste the script block as it appears in HTML or paste the JSON alone.
Treat syntax and schema validation as separate checks
The JSON-LD formatter can find syntax problems such as an extra comma or a missing quote and return a readable version of valid JSON. Semantic validation is a separate step. Use the Schema Markup Validator to check types, properties, and how entities relate. Review the resulting markup against the information people can read on the page.
Common questions
Do I need to write a JSON object?
For Build, enter a JSON object containing the entity properties. For an article or product with regular form fields, use the Schema Markup Generator.
Can I paste the whole script tag?
Yes. The formatting mode accepts an existing JSON-LD script or plain JSON.