SBOM Generator
Choose your lockfiles or a whole project folder, or paste one. Every package with its exact version, package URL, hashes and the licence the lockfile records is written as a CycloneDX or SPDX SBOM. The files are read in your browser and never uploaded.
Make an SBOM
Or paste one file
Licence identifiers: SPDX License List (CC BY 3.0), version …
How to make an SBOM
- Choose the lockfiles, or a project folder (only lockfiles are opened; node_modules is left out unless you tick it), or paste one file.
- Type the name and version of your application, and your organisation if you want it named as supplier.
- Choose the format and whether development dependencies belong in it.
- Download the SBOM.
Files that are read
- npm: package-lock.json and npm-shrinkwrap.json (with licences from lockfileVersion 2 and 3), yarn.lock, pnpm-lock.yaml, package.json (ranges only), and node_modules/*/package.json when you tick it.
- Python: requirements.txt (== versions and --hash), Pipfile.lock, poetry.lock, uv.lock. Go: go.mod and go.sum. Rust: Cargo.lock. PHP: composer.lock (with licences). Ruby: Gemfile.lock. Java: pom.xml and gradle.lockfile. Dart: pubspec.lock. .NET: packages.lock.json.
What the SBOM says
- Each component has its name, version, package URL (purl) and the hashes the lockfile holds (SHA-1, SHA-256, SHA-384, SHA-512).
- A licence is written only when the lockfile records one (npm 7 and later, composer.lock, node_modules). It is checked against the SPDX License List: a valid identifier or expression is written as such, a common name such as “Apache 2.0” is read as its identifier and noted, and any other text is kept as a licence name (SPDX: LicenseRef-). Without a licence in the file, CycloneDX leaves it out and SPDX says NOASSERTION.
- Development dependencies are scope excluded in CycloneDX and DEV_DEPENDENCY_OF in SPDX. CycloneDX lists dependencies only for packages the lockfile marks as direct.
Limits you should know
- An SBOM made from lockfiles lists what the files name. It does not look inside built images or binaries, and it does not find vulnerabilities.
- Versions in package.json, requirements.txt without == and pom.xml without a version are ranges or missing, and are written as they are.