Validator

File Syntax

Support for web pages with JSON-LD, RDFa, and other common RDF formats.

We can decode both web pages and traditional RDF formats, going beyond surface-level parsing to give you as much useful information as possible.

  • Precise source locations — Every property and value is traced to its exact line and column in the original file, so you always know where to look when something needs attention.
  • Resilient parsing — Common syntax mistakes don't stop analysis in its tracks. We work through them, continue processing, and surface clear, actionable feedback for each issue found.
  • Deep decoder insights — We surface informational messages and warnings that most implementations quietly discard, giving you a more complete picture of your data's health.

Each encoding's documentation page includes a full index of the messages and warnings we can detect.

Web Pages

RDFa is a modern syntax for embedding RDF data within web pages.

<div vocab="https://schema.org/" typeof="Person">

JSON-LD is a lightweight Linked Data format that is relatively easy for humans to read and write, and especially easy for machines. Web pages can embed data using <script> tags, but data can also be stored in flat JSON files when used directly with data systems.

<script type="application/ld+json">
  { "@context": "https://schema.org/",
    "@type": "Person" }
</script>

Microdata is an older syntax for embedding some structured data within web pages. We and most well-known search engines still support it, but, for new sites, RDFa or JSON-LD are a better choice.

<div itemscope itemtype="https://schema.org/Person">

RDF Formats

We also support traditional encodings including N-Quads, N-Triples, RDF/JSON, RDF/XML, TriG, and Turtle.