Skip to content
Codoryn Search tools

JSON-LD / Schema Markup Validator & Formatter

Check structured data in your browser: JSON syntax, JSON-LD structure and schema.org vocabulary, reported separately. Nothing is uploaded and no context URL is fetched.

Three questions, answered separately

Most structured-data checkers give you one verdict, which means a note about a spelling reads exactly like a broken document. This tool reports three lines instead, because they are three different claims:

  • JSON — does it parse at all, and are any keys duplicated?
  • JSON-LD structure — is @type a string, is @id an IRI, is that value object legal? These are decidable without knowing any vocabulary, and they are the ones that break consumption.
  • Vocabulary — advisory only. Whether your types and properties appear in this tool's snapshot of schema.org 30.0, released 2026-03-19.

A vocabulary finding is never an error and never makes a document invalid. schema.org is large, versioned and extended over time; a local snapshot can say a term is not in this copy, and that is all it can honestly say.

How to use it

  1. Paste JSON-LD, or paste the whole page and every <script type="application/ld+json"> block is found and checked separately — three blocks give three verdicts, because that is how they are consumed.
  2. Validate reports. Format and Minify rewrite whitespace and nothing else. Inspect answers the question you have first when you paste a whole page: which blocks are here, on which lines, and what is in them — exactly as written, before any verdict.
  3. Turn on Wrap in <script> to get output you can paste straight into a page.
  4. Press Run or Ctrl/Cmd + Enter.

Formatting is not repair. Key order is preserved, numbers keep their exact source text — 1.50 stays 1.50 and a 20-digit id keeps every digit — and a duplicate key survives formatting and is still reported. A formatter that quietly fixed things would be a formatter you could not trust with anything you had not already read.

Your <code>@context</code> is not fetched, and that changes what can be checked

A conforming JSON-LD processor dereferences @context — it makes an HTTP request to find out what your terms mean. This tool never makes a request, so it works from what it can see:

  • "https://schema.org" is recognised by string match, and the vocabulary checks run against the committed snapshot.
  • Any other remote context is reported as not fetched, and the vocabulary checks are skipped rather than guessed at. Reporting your terms as unknown when the tool simply cannot see their definitions would be a false accusation.
  • An inline context object defines its own terms, and those terms are exempt from the vocabulary checks.

Structural checks run in every case, because they do not depend on a vocabulary.

The mistake that silently removes your markup

Writing "type" where "@type" was meant. Without the @ it is an ordinary property name, so the consumer sees a node with no type at all — and a typeless node contributes nothing. The same goes for id, context and graph. This tool reports each as a structural error and names the keyword form.

The other silent one is a duplicate key. JSON's grammar permits it and parsers disagree about which value wins, so what your document means depends on who reads it. For markup whose entire purpose is to be read by someone else's parser, that is a defect rather than a style question, and it is reported as an error with the path to it.

Value objects, and the rule that is easy to get wrong

A map containing @value is a value object. It may also carry @type, @language, @direction, @index or @context — and nothing else. Any other key is an error naming the key.

There is exactly one exclusion: @type may not appear with @language or with @direction, because a typed value has no language. The message names both keys that collided rather than calling the object invalid and leaving you to work out which pair caused it.

@language and @direction together are perfectly fine — that is how a right-to-left string is written. @direction is "ltr", "rtl" or null, and nothing else. @index is a string everywhere it appears.

Frequently asked questions

Will this tell me if I qualify for a rich result?

No, and it says so on every report. Rich-result eligibility depends on Google's per-feature requirements plus content quality, policy compliance and query context — none of which is in your markup. Valid markup is a precondition, not a promise. Use Google's own Rich Results Test for that question; this tool will not approximate an answer it cannot support.

Why is my property flagged when it definitely exists?

Almost always casing: schema.org terms are case-sensitive, so DatePublished is not datePublished and url is not URL. When a term differs from a real one only in case, the finding names the correct spelling. Otherwise the term may simply be newer than the snapshot, and the message says so and names the snapshot's version and date.

What happens to &amp; inside my block?

Nothing — and that matters. A <script> is an HTML raw-text element, so a browser does not decode character references inside it and neither does this tool. Your JSON reaches the parser exactly as written, because decoding it would rewrite your data before checking it.

Is anything uploaded?

No. Checking runs in a background thread on your device. No @context, @id, url, image or sameAs value is fetched or resolved, and HTML around your block is read by a tokenizer that never builds page elements.

Send output to