| Tools compared | 5 free generators |
|---|---|
| Formats | CycloneDX and SPDX, depending on the tool |
| Firmware | Container and filesystem scanners see unpacked images; vendor blobs may need binary analysis |
| CRA rule | Annex I, Part II, point (1) |
Next step for your product: find it in the CRA product matrix, run the class checker, or get a free shortlist of firms that do this work.
Which free tools generate SBOMs?
| Tool | Maker | Scans | Output formats | Licence (as stated) |
|---|---|---|---|---|
| Syft | Anchore | Container images and filesystems | CycloneDX, SPDX, Syft JSON | Apache-2.0 |
| Trivy | Aqua Security | Images, filesystems, VMs and more | CycloneDX, SPDX | Open source (see project) |
| cdxgen | CycloneDX project | Source repositories across many languages | CycloneDX JSON; SPDX 3.0.1 JSON-LD export | Open source (see project) |
| SBOM Tool | Microsoft | Build outputs and their components | SPDX 2.2 and SPDX 3.0 | Open source (see project) |
| Dependency graph export | GitHub | Repository manifests in supported ecosystems | SPDX | Feature of GitHub |
What do the projects say they do?
- SyftA CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems.
- Microsoft SBOM ToolThe SBOM tool is a highly scalable and enterprise ready tool to create SPDX 2.2 and SPDX 3.0 compatible SBOMs for any variety of artifacts.
- cdxgenIt generates CycloneDX JSON BOMs and supports SPDX 3.0.1 JSON-LD export.
Will a free tool cover device firmware?
Partly. Filesystem scanners such as Syft and Trivy can inventory an unpacked root filesystem, for example an embedded Linux image, by reading package databases and binaries they recognise. Bare-metal firmware, RTOS builds and vendor blobs often have no package metadata, so a build-time SBOM or a commercial binary analysis tool fills the gap.
How should you choose?
- Match the tool to the artifact: source repo, build output or final image.
- Pick one format and keep it across releases (CycloneDX or SPDX).
- Version the SBOM with the firmware release and store it in the technical documentation.
Next step: Paid tools built for firmware are on the best SBOM tools for CRA device firmware list. CRA for Devices is a free guide, not a provider. Get a free shortlist of firms that do this work for products like yours.
Common questions
What is the best free SBOM tool?
It depends on what you scan. Syft and Trivy scan images and filesystems, cdxgen scans source repositories, Microsoft's SBOM Tool runs in builds, and GitHub exports from its dependency graph.
Do free SBOM tools meet the CRA?
The CRA names no tool. It requires a commonly used, machine-readable SBOM covering at least top-level dependencies (Annex I, Part II, point (1)); free tools can produce that.
Can Trivy generate an SBOM?
Yes. Trivy's documentation says it can generate CycloneDX and SPDX SBOMs with the --format option for image, fs and vm targets.