JSON-LD Inspector

Extract and validate JSON-LD structured data from HTML.

The JSON-LD Inspector finds every JSON-LD block in a page's HTML, checks that each one is valid JSON, and warns about missing @context, missing @type and missing recommended fields for common schema.org types. Valid blocks are shown as an expandable tree so you can read the structure.

What is JSON-LD?

JSON-LD (JSON for Linking Data) is a way of embedding structured data in a web page using a script element with type application/ld+json. It describes the page's entities, such as an article, product, organization or event, using the shared schema.org vocabulary. Two keywords matter most: @context says which vocabulary the terms come from, usually https://schema.org, and @type names the kind of thing being described. A block can also use @graph to hold several connected entities. Search engines read this data to understand a page and may use it for rich results such as recipe cards, product ratings or FAQ lists. The JSON must be syntactically valid, and each type has required or recommended properties; for example an Article is expected to have a headline, an author and a datePublished.

How to use JSON-LD Inspector

  1. Paste the HTML Paste the page source into the Page HTML box, or click Sample for a basic page.
  2. Review each block Every JSON-LD script appears as its own card. Invalid ones show an Invalid JSON message with the parser error.
  3. Read the warnings For valid blocks a warning list names missing @context, missing @type or missing recommended fields.
  4. Explore the data Expand the tree under each valid block to inspect nested properties, then fix your markup and paste again.

Frequently asked questions

Does a warning mean my markup is wrong?

Not necessarily. Warnings flag fields that are commonly expected for the type. Some may be optional for your use case, and search engines have their own requirements that can be stricter or looser.

Does it support @graph?

Yes. If an object has @graph, each node in the array is checked separately for @type and the recommended fields. The top-level object still needs an @context.

Can @type be an array?

Yes. When @type is an array of strings, the recommended fields of every listed type that the tool knows are checked.

What about microdata or RDFa?

Only JSON-LD script blocks are read. Microdata and RDFa attributes are not inspected.

Is the HTML sent to a server?

No. The page is parsed in your browser and the input is not uploaded. The input limit is 2,000,000 characters.