LocalExcelTool
Get started

JSON-LD Validator

Validate structured data syntax and required WebApplication fields.

Runs in your browserNo account neededFree

What is JSON-LD Validator

A JSON-LD validator parses schema.org structured data for syntax errors and, after flattening @graph, asserts the required WebApplication fields (name, description, url, applicationCategory, isAccessibleForFree, offers, publisher). JSON-LD is invisible in the browser, so a broken block only surfaces in Search Console weeks later — validate it before shipping.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Syntax first, then shape, then meaning

The checks run in that order. Invalid JSON is fatal and reported with a position. Valid JSON with a missing @context, a missing @type or a malformed @graph is structurally wrong — the data is parsed but no consumer will understand it. Correct structure with the wrong properties is semantically wrong and produces no rich result even though nothing errors.

The third class is the one that wastes the most time, because a page can be perfectly valid structured data and still be ineligible. Article markup without a datePublished, Product markup without offers, FAQ markup on a page where the questions are not visible — all valid, all ignored.

The properties that decide eligibility

For Article: headline, image, datePublished, dateModified, author. For Product: name, image, offers with price and priceCurrency, and availability. For BreadcrumbList: itemListElement with position, name and item, in ascending order. For FAQPage: mainEntity with Question and acceptedAnswer.

Every value should match what is visible on the page. Marking up a price that differs from the displayed price, or a rating that no customer left, is a manual-action risk rather than a missed opportunity — the guideline is that structured data describes the page, not an aspiration for it.

Nesting and @graph

Multiple entities belong in a single @graph array, with @id values linking them, rather than in several separate script blocks. Both parse, but the graph form lets a consumer resolve references — an Article pointing to its author by @id — which is what enables the richer presentations.

JSON-LD is also the format AI crawlers read most reliably, because it is plain JSON with no markup noise. A well-formed graph with clear entity types and factual properties is one of the few levers that works for both classic rich results and generative answer engines.

How to use it

  1. 1.Paste JSON-LD or HTML
  2. 2.Optionally enter the route
  3. 3.Click Validate

How JSON-LD Validator works under the hood

Developer tools here are deterministic byte and string transformations. The useful question is not whether they are fast, but whether the output can be verified against a reference.

  1. 1

    Encode the input

    Text is converted to UTF-8 bytes with TextEncoder; binary input is read as an ArrayBuffer.

  2. 2

    Apply the primitive

    Hashing and HMAC use Web Crypto (SHA-1/256/384/512); encoding, escaping and formatting are pure functions over the bytes or string.

  3. 3

    Format the output

    The result is rendered as lowercase hex, Base64, or the target syntax, with the exact same rules the specification defines.

  4. 4

    Compare and copy

    Output stays on the page so you can diff it against a reference implementation before using it.

  5. Processing pipeline

Hashing is not encryption

A SHA-256 digest is one-way: there is no key and no way back. It proves that two inputs are identical (or not), which is what integrity checks need. It does not hide a password — for that you need a slow, salted KDF such as Argon2id, which this site uses for account passwords.

What runs where

Every transformation in this category runs in the tab. No key, token or payload is sent to us; the site cannot see what you hashed or decoded. That also means there is no server-side undo — if you close the tab, the input is gone.

Limits worth knowing

JWT decoding shows the header and payload; it does not validate the signature unless you supply the key, and it never proves the issuer is trustworthy. Regex-based tools can degrade badly on pathological input, so input size is capped. Very large payloads are also capped to keep the tab responsive.

Verify it yourself

Compare the output against a reference before you ship it.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

What is the route field for?

Enter "/" (or leave empty) to treat the snippet as the homepage and strictly assert the WebApplication fields.

Multiple script blocks?

All blocks are parsed and @graph arrays are flattened automatically.

Is my input uploaded?

No. Everything runs locally in your browser.

What this kind of conversion cannot keep

Developer tools here check what breaks silently: a missing canonical, a description over the length search engines display, a sitemap that returns 200 but lists dead URLs. Each result links to the exact line or URL, because a warning you cannot act on is noise.

More in Developer