Structured data validation tool

Validate the JSON-LD, microdata and RDFa of your pages against schema.org 30.1 and the Google rich results rules.

Validate structured data code

Structured data are an efficient way to embed information in web pages, that search engines can use to propose better search results to users.

The schema.org vocabulary, in its version 30.1, defines more than 900 types and 1,500 properties, extensions included. Our structured data validation tool extracts the JSON-LD, microdata and RDFa embedded in your web pages, and makes sure that search engines can use them.

Extensive schema.org support

Our validation tool extensively supports the schema.org vocabulary, including multiple types compound objects, the ability to use Role objects as a replacement for any property, the Action -input and -output constraints and correct literals validation.

JSON-LD is processed by an implementation of the W3C JSON-LD 1.1 algorithms that passes the official W3C test suites: compact IRIs, scoped contexts, @graph and aliases are resolved before validation, so your code is judged on what it means rather than on how it is written.

Frequently asked questions

  • How do you run the validation?

    Our validation tool is based on the schema.org specification, version 30.1, with additional requirements and recommendations based on Google's structured data search gallery. Like Google, it applies these rules to the subtypes of a documented type (a Restaurant is a LocalBusiness) and to the entities nested anywhere in the page. By default, it also validates the blocks sharing an identifier as one node.

  • How does this tool differ from Google's tools?

    Google offers two tools: the Rich Results Test, which only reports on the rich results Google supports, and the Schema Markup Validator, which only checks the schema.org vocabulary. Our tool runs both checks at once: it strictly validates the types and formats defined in the specification, and the property requirements and recommendations of the Google documentation.

  • Which formats can be validated?

    JSON-LD, microdata and RDFa (in its schema.org flavour), as found in an HTML page. You can validate a public URL, or paste the code of a page or a JSON-LD document.

  • Which library runs the validation?

    jolicode/structured-data, an open-source PHP library. It also audits the structured data of every HTML page our crawler visits.