Syft is a free, open-source tool from Anchore that generates SBOMs from container images and filesystems in CycloneDX, SPDX, and Syft JSON formats.
Researched and fact-checked by Bartu Cavusoglu · Updated November 30, 2026
Syft is an open-source command-line tool and Go library from Anchore that generates a Software Bill of Materials (SBOM) for container images, filesystems and archives. An SBOM is an inventory of every package and library inside a piece of software, including versions and metadata. Teams use SBOMs to answer questions such as which images contain a vulnerable library, to meet supply-chain security requirements, and to share component lists with customers or regulators. Syft is released under the Apache-2.0 license, is developed openly on GitHub and is one of the more widely used SBOM generators in the container ecosystem.
• Many scan targets. Syft scans container images in OCI, Docker and Singularity formats, local directories such as a project folder, and archives. On Linux it can also read images from local containers-storage used by Podman and Buildah.
• Broad ecosystem coverage. It detects OS packages from Alpine (apk), Debian (dpkg) and RPM-based distributions, and language packages for Go, Python, Java, JavaScript, Ruby, Rust, PHP and .NET, among dozens of ecosystems.
• Standard output formats. CycloneDX JSON and XML (up to 1.7), SPDX JSON (2.2, 2.3 and 3.0) and SPDX tag-value, plus Syft's own JSON, a table view, plain text, package URLs (purls), GitHub dependency snapshot JSON and custom Go templates. A specific schema version can be pinned with a suffix such as cyclonedx-json@1.4.
• Multiple outputs in one run. A single scan can write several formats to different files at the same time.
• Format conversion. Existing SBOMs can be converted from one format to another.
• Signed attestations. Syft can produce signed SBOM attestations following the in-toto specification, so consumers can verify where an SBOM came from.
• Library use. Go developers can embed Syft's cataloging in their own tools.
Syft is aimed at DevOps, platform and security engineers who build or ship container images and need an accurate component inventory. Typical uses include adding SBOM generation to CI pipelines, producing SBOMs to accompany releases, feeding a vulnerability scanner, and supporting compliance programs that ask for SBOMs in SPDX or CycloneDX format. Because it runs as a single binary, it fits easily into build scripts and CI systems.
Syft is free and open source under the Apache-2.0 license. There is no paid edition of the tool itself. Anchore, which sponsors development, offers commercial products and support for organizations that want SBOM management, policy enforcement and vulnerability tracking at scale.
Syft is often paired with Grype, Anchore's open-source vulnerability scanner: Syft builds the SBOM and Grype scans it for known vulnerabilities. Other SBOM generators include Trivy, which combines SBOM output with vulnerability scanning in one tool, the CycloneDX project's language-specific generators, and Microsoft's SBOM tool. Syft's strengths are its focus on SBOM accuracy, the range of package ecosystems it understands and its wide choice of output formats and schema versions.
• Syft only inventories components; vulnerability matching requires a separate tool such as Grype.
• It is a command-line tool and library with no built-in dashboard for storing or searching SBOMs over time.
• Detection depends on package metadata being present, so software copied into an image without metadata may be missed.
Syft can be installed with a curl install script, Homebrew, Docker, Scoop, Chocolatey or Nix, or built from source. Running syft <image> prints a table of packages; adding -o spdx-json or -o cyclonedx-json writes a standard SBOM. Documentation covers the CLI reference, configuration file and JSON schema.
Syft generates Software Bills of Materials, which list every package and library inside a container image or filesystem. Teams use them for vulnerability management, supply-chain security and compliance.
Yes. Syft is open source under the Apache-2.0 license and free to use. Anchore, which sponsors the project, sells separate commercial products and support.
Syft outputs CycloneDX JSON and XML, SPDX JSON and tag-value, its own Syft JSON, purls, GitHub dependency snapshot JSON, table and text views, and custom templates. Specific schema versions can be selected with a suffix such as @1.4.
Syft creates the SBOM, while Grype, also from Anchore, scans images or SBOMs for known vulnerabilities. They are designed to be used together.
Syft can be installed with Anchore's curl install script, Homebrew, Docker, Scoop, Chocolatey or Nix, or built from source.
Yes. Syft can create signed SBOM attestations that follow the in-toto specification, allowing consumers to verify the SBOM's origin.
Compare security tools side by side →
Compare their alternatives: Salesforce alternatives
Tool pages we refreshed lately, from across the directory.