Origins and Design Philosophy
SPDX (Software Package Data Exchange) predates EO 14028 by a decade — it was created by the Linux Foundation in 2010 primarily for license compliance. Its original focus was enabling companies to exchange information about open source license obligations. Vulnerability and security use cases were added later. CycloneDX was created by OWASP in 2017 specifically as a security tool, with a focus on vulnerability management and supply chain risk from day one.
This origin difference shows in the formats. SPDX has richer license expression capabilities and a more granular file-level model. CycloneDX has richer security metadata and vulnerability (VEX) support natively built into the schema.
Format and Encoding
SPDX supports tag-value, RDF, JSON, YAML, and spreadsheet formats. CycloneDX supports JSON and XML. For tooling integration, JSON is the practical choice in both cases — it is the most widely supported encoding for both formats. CycloneDX's JSON schema is considered more developer-friendly by many practitioners, while SPDX's tag-value format remains popular for human-readable SBOMs in some industries.
Ecosystem and Tooling Support
Both formats are supported by the major SBOM generation tools (Syft, Trivy, SPDX tools, cdxgen). For vulnerability scanning, CycloneDX has broader tool support, particularly with the OWASP ecosystem and tools like dependency-track. For license compliance specifically, SPDX's richer license expression syntax (SPDX License List, WITH and AND/OR operators) is more precise.
Which to Choose
The pragmatic answer for most organizations: generate CycloneDX for vulnerability scanning workflows, and be prepared to generate SPDX when federal agency customers or government contracts require it. Many mature SBOM programs generate both simultaneously from the same pipeline step. Modern tools like Fossity can output either format on demand, so the choice is less consequential than it once was — the underlying component data is the same regardless of format.
Generate SPDX and CycloneDX with Fossity
Fossity — Fossity generates SBOMs in both SPDX and CycloneDX formats from a single scan — delivering the right format for every downstream consumer, from federal agency procurement to OWASP dependency-track integrations.
Visit Fossity.com →