Back to home

    Comparison

    CycloneDX vs SPDX

    Two open standards dominate the SBOM landscape. Neither format alone establishes regulatory compliance; they were designed for different jobs. Here's how to pick — and why most mature teams end up producing both.

    The short answer

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

    Field-by-field

    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.

    FeatureCycloneDXSPDX
    Versions compared1.72.3 and 3.0.1
    StewardshipOWASPLinux Foundation; SPDX 2.2.1 is ISO/IEC 5962:2021
    FocusSecurity and supply-chain transparencyLicense lineage, software, security, AI and data
    CLI input serializationsJSON / 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 representationFields available; completeness depends on generatorFields available; completeness depends on generator
    Vulnerability informationVulnerabilities and VEXSecurity profile in 3.0.1
    AI models and datasetsModel cards and ML-BOMAI and Dataset profiles in 3.0.1
    Crypto inventorycryptoProperties (1.6/1.7)No equivalent CBOM profile in the reviewed CLI
    License expressionsSPDX expressionsSPDX expressions
    Regulatory readinessNot certification; assess populated fieldsNot certification; assess populated fields

    Converting between them

    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.

    How sbom-tools handles both

    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.

    sbom-tools diff release-v1.cdx.json release-v2.spdx.json
    sbom-tools validate bom.spdx.json --standard ntia
    See all features

    Official specifications

    CycloneDX 1.7 JSON · CycloneDX 1.7 XML · SPDX 3.0.1

    Related

    What is an SBOM? A practical guide