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 some implementations quietly discard, giving you a more complete picture of your data's health.
  • Syntax conversion — We can convert data into several syntaxes, too, making it easier to work with diverse data systems or to simply tidy up structured data code.

Learn more about the features and audit messages supported for each encoding using the links below.

Web Pages

RDFa is a modern syntax for embedding RDF data within web pages. A similar and stricter syntax than Microdata, properties are typically embedded directly into HTML alongside the content they describe.

<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.