Comparison
CycloneDX vs SPDX
Compare SBOM fields, license information, VEX, AI models and crypto inventory in CycloneDX 1.7 and SPDX 2.3 / 3.0.1. Choose the format your recipients need, understand what conversion can lose, and see how sbom-tools reads and diffs both. Neither format alone establishes regulatory compliance.
Which SBOM format should you choose?
- Pick CycloneDX if your first question is "am I vulnerable?" — VEX, ML-BOM and CBOM are integrated into its supply-chain model.
- Pick SPDX if your first question is "can I legally ship this?" — deeper license and copyright lineage, ISO-standard, often useful for detailed procurement and licensing reviews.
- Produce both when your buyers require them. Check generator coverage and preserve each original artifact for review.
CycloneDX vs SPDX: field-by-field comparison
Reviewed 25 October 2026 against CycloneDX 1.7, SPDX 3.0.1, and sbom-tools v0.3.0. Standard capabilities and CLI input coverage are distinguished below.
| Feature | CycloneDX | SPDX |
|---|---|---|
| Versions compared | 1.7 | 2.3 and 3.0.1 |
| Stewardship | OWASP | Linux Foundation; SPDX 2.2.1 is ISO/IEC 5962:2021 |
| Focus | Security and supply-chain transparency | License lineage, software, security, AI and data |
| CLI input serializations | JSON / XML (1.4–1.7) | JSON / tag-value / RDF/XML (2.2/2.3); JSON-LD (3.0/3.0.1) |
| Package URL (PURL) | ||
| NTIA data representation | Fields available; completeness depends on generator | Fields available; completeness depends on generator |
| Vulnerability information | Vulnerabilities and VEX | Security profile in 3.0.1 |
| AI models and datasets | Model cards and ML-BOM | AI and Dataset profiles in 3.0.1 |
| Crypto inventory | cryptoProperties (1.6/1.7) | No equivalent CBOM profile in the reviewed CLI |
| License expressions | SPDX expressions | SPDX expressions |
| Regulatory readiness | Not certification; assess populated fields | Not certification; assess populated fields |
VEX, AI and crypto: extensions and profiles
- Vulnerability information: CycloneDX includes vulnerabilities and VEX; SPDX 3.0.1 has a Security profile. Compare the actual populated fields, not just the format name.
- AI models and datasets: CycloneDX provides model cards and ML-BOM; SPDX 3.0.1 provides AI and Dataset profiles. These structures differ, which matters when converting.
- Cryptographic inventory: CycloneDX 1.6/1.7 uses cryptoProperties. The reviewed sbom-tools CLI has no equivalent SPDX CBOM profile.
These are standard capabilities, not a promise that every generator or CLI preserves every field. The input coverage below describes the reviewed sbom-tools release.
Can you convert CycloneDX to SPDX, or SPDX to CycloneDX?
Conversion can preserve common identifiers, versions, licenses and relationships, but is not guaranteed to be lossless. AI and security structures differ between CycloneDX and SPDX 3.0.1; older SPDX versions have different capabilities again. Validate the converted result and retain the original as the artifact of record.
- Confirm the recipient's required version, serialization and fields before choosing a conversion target.
- Check common identifiers, versions, license expressions and relationships in the converted output.
- Review AI, security and crypto information separately; do not assume equivalent structures survive unchanged.
- Validate the result and keep the original alongside it. Format conversion is not legal certification.
Read, diff and validate both formats with sbom-tools
The reviewed sbom-tools v0.3.0 reads CycloneDX 1.4–1.7 JSON/XML; SPDX 2.2/2.3 JSON, tag-value and RDF/XML; SPDX 3.0/3.0.1 JSON-LD, including AI and Dataset profiles. Cross-format diffing uses a normalized model, not every possible specification field. Quality profiles assess recorded evidence; they do not certify legal compliance.
Compare a CycloneDX release with an SPDX release, then assess an SPDX document against the NTIA profile. These commands diff and validate existing files; they are not format-conversion commands.
sbom-tools diff release-v1.cdx.json release-v2.spdx.json sbom-tools validate bom.spdx.json --standard ntiaSee all features
Official specifications
CycloneDX 1.7 JSON · CycloneDX 1.7 XML · SPDX 3.0.1