Calculates on this device. File exports run online.
SPDX Validator
Check a software bill of materials in SPDX format before you share it. The validator finds missing required fields, broken SPDX identifiers, wrong checksums, relationships to elements that do not exist, licence expressions that do not follow the grammar of the specification, and licence identifiers that are not on the SPDX License List or are deprecated. You can also check one licence expression and see what it means.
Enter your values
Check these values
This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Choose An SPDX document, paste the document or open its file (JSON or tag-value), and press Check the document.
- Each problem is listed with where it is (the field, and the line of a tag-value document) and whether it is an error or a warning.
- To check a single licence expression, such as MIT OR Apache-2.0, choose A licence expression.
What is checked
- The document: spdxVersion (SPDX-2.0 to SPDX-2.3), dataLicense CC0-1.0, SPDXRef-DOCUMENT, name, a namespace URI without #, created in UTC and the creators.
- Packages, files and snippets: required fields (more of them in SPDX 2.2), unique SPDX identifiers, checksums with a known algorithm and the right number of hex digits, purl and CPE 2.3 references, package verification codes.
- Relationships: known types (two of them only in SPDX 2.3), both ends present in the document or in a declared external document, and that the document describes something.
- Licences: every licence expression against the grammar of SPDX 2.3 Annex D (AND, OR, WITH and brackets), every LicenseRef declared, declared LicenseRefs that nothing uses.
Licence identifiers and the SPDX License List
Every licence and exception identifier is checked against the SPDX License List: an identifier that is not on it is an error (use a LicenseRef- for other licences), a deprecated one or one written in other capitals is a warning. For deprecated GNU identifiers such as GPL-2.0 or LGPL-2.1+ the answer names the identifier the list offers instead (GPL-2.0-only, LGPL-2.1-or-later); for other deprecated ones it links to their page on spdx.org.
The list is a signed copy of the official SPDX License List (CC-BY-3.0) that this page loads from the Toolvito server; the answer names its version. Nothing you type is sent: the page only asks for the list.
This is a technical check of the document, not legal advice about licences.