SBOM Viewer, Validator and Diff (CycloneDX and SPDX)
Check that an SBOM is well formed before you ship or accept it, see what is inside, and compare two releases to list added, removed, upgraded and downgraded components.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Open SBOM A
Paste or open the file to validate, or load the two samples.
- 2Validate
Read the summary, the list of errors and warnings, and the NTIA coverage bars.
- 3Browse components
Search by name, licence or purl and download the inventory as CSV.
- 4Add SBOM B
Paste the newer release's SBOM in the second box.
- 5Compare
Open the compare tab to see added, removed, upgraded, downgraded and relicensed components.
- 6Export the diff
Download the CSV or copy the Markdown table into a release note.
About this tool
A software bill of materials lists the components inside a product, and customers, regulators and security teams increasingly ask for one with every release. Generators such as syft, cdxgen and Trivy write them in two standard formats, CycloneDX and SPDX, but files are often handed over without anyone opening them. This tool reads CycloneDX JSON from 1.2 to 1.6, SPDX 2.x JSON and SPDX tag-value. It validates the structure: required fields, component types, unique bom-ref and SPDXID values, valid package URLs, hash algorithms, timestamps, creators, and whether every dependency or relationship points at something that exists. It scores coverage of the seven NTIA minimum elements, lists components with versions, licences, suppliers and purls, and summarises licences. Paste a second SBOM to compare releases: the diff matches components by package URL without the version and reports what was added, removed, upgraded, downgraded or relicensed, with CSV and Markdown output for a release note.
Validation checks
For CycloneDX, the tool checks bomFormat, specVersion, the serialNumber UUID format, the version integer, metadata.timestamp, each component's type against the specification's list, the presence of a name, unique bom-ref values, purl syntax, hash algorithm names and hexadecimal values, licence entries that need an id, name or expression, and dependency references. For SPDX, it checks spdxVersion, dataLicense CC0-1.0, the SPDXRef-DOCUMENT identifier, documentNamespace as an absolute URI, creationInfo with created and properly prefixed creators, package SPDXIDs and their uniqueness, downloadLocation, purl references, relationship endpoints and the DESCRIBES relationship. Problems are listed with a JSON path and a short message, in three levels: error, warning and notice.
NTIA minimum elements
The US NTIA defined seven minimum data fields in 2021: supplier name, component name, version, a unique identifier, dependency relationships, the author of the SBOM data and a timestamp. The coverage panel shows the share of components that have each field, so you can see at once that versions are complete but suppliers are missing for most packages, which is common with automated generators.
Comparing two SBOMs
Components are keyed by their package URL without version, qualifiers and subpath, or by group and name when there is no purl. When a key appears in both files with different versions, the higher one decides whether it was an upgrade or a downgrade, using numeric comparison of each part and treating pre-release tags as lower. Licence changes with the same version are shown separately. The Markdown table is ready for a pull request description or a change advisory board.
Limits
CycloneDX XML and SPDX RDF are not read, so export JSON or tag-value instead. Validation follows the published specifications but is not a full JSON Schema run, and it does not check whether components are vulnerable or whether licences are compatible. The tool does not generate an SBOM from source code.
Worked example
Release 2.3.0 of a web shop has a CycloneDX 1.5 SBOM with five npm components. Release 2.4.0 has six. Validating the newer file shows one error: the dependencies list refers to pkg:npm/[email protected], which is not a component. NTIA coverage is 100 percent for names, versions, purls, suppliers and timestamps. The diff reports 2 added (dayjs 1.11.13 and zod 3.23.8), 1 removed (moment 2.29.1), and 3 upgraded: express 4.18.2 to 4.21.1, lodash 4.17.20 to 4.17.21 and jsonwebtoken 8.5.1 to 9.0.2. pg 8.11.3 is unchanged and does not appear. The Markdown export is a six-row table.
Quick facts
- Category: Security & Privacy
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: CycloneDX 1.6 (ECMA-424), SPDX 2.3 and NTIA minimum elements for an SBOM (2021)
Frequently asked questions
Which formats are supported?
CycloneDX JSON (spec 1.2 to 1.6), SPDX 2.0 to 2.3 JSON and SPDX tag-value. XML and RDF files are not read.
Is this a full schema validation?
It checks the required fields, value formats and internal references that matter most in practice. For formal conformance, also run the official CycloneDX or SPDX tools in your pipeline.
How are components matched in the diff?
By package URL without the version, or by group and name. A package that changed both name and purl, for example after a fork, shows as one removal and one addition.
What are the NTIA minimum elements?
Seven fields defined by the US NTIA in 2021 that every SBOM should carry: supplier, component name, version, unique identifier, dependency relationship, author and timestamp.
Does it find vulnerabilities?
No. It reads structure and inventory. Feed the same SBOM into a vulnerability scanner such as an OSV or Grype based tool for that.
Is the SBOM uploaded?
No. Both files are parsed in your browser and kept only in local storage as a draft.
