Sketchweb

JSON-LD Generator

Build a custom Schema.org entity or clean up existing JSON-LD. Paste a JSON object or an existing script tag and choose the output you need.

Build or check JSON-LD

For a new entity, supply a JSON object with the properties. To format existing markup, paste the JSON or the full JSON-LD script tag.

How to use it

  1. Choose whether to build an entity or format existing markup.
  2. Paste your JSON and generate the output.
  3. 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.

Related tools and guides