Dependency License Checker
Choose an SBOM, your CocoaPods or Swift package files, or the lockfiles of your project. Each dependency’s licence is read as the files record it, checked against the SPDX License List and judged by the policy you set; the page also lists what the licences ask of you, such as keeping the licence notice in your app. The files are read in your browser and never uploaded.
Check dependency licences
Or paste one file
Your licence policy
| Licences | Answer |
|---|---|
Licence groups and conditions: choosealicense.com (CC BY 3.0). Licence ids: SPDX License List, version …
How to check the licences of your dependencies
- Choose the files: an SBOM, Podfile.lock with the Pods-…-acknowledgements.plist that CocoaPods writes, Package.resolved, or lockfiles. You can also choose the project folder, or paste one file.
- Set what each group of licences means for you: allowed, check, or not allowed. Add licence ids you always allow or never allow.
- Read the packages that are not allowed or need checking, then the conditions of the licences you keep, and download the CSV for your records.
Which files give licences
- SBOMs record a licence for each component: CycloneDX (JSON or XML, 1.2 to 1.6) and SPDX 2.2 or 2.3 (JSON or tag-value). If your build tool can write one, this is the most complete input. A component with scope “excluded” is read as a development dependency.
- CocoaPods writes Pods/Target Support Files/Pods-<target>/Pods-<target>-acknowledgements.plist with each pod’s licence type and text. Choose it with Podfile.lock, which gives the versions.
- package-lock.json (npm 7 and later), node_modules/<package>/package.json and composer.lock record licences too.
- Package.resolved (Swift packages), Podfile.lock alone, pubspec.lock (Flutter), gradle.lockfile, pom.xml, yarn.lock, pnpm-lock.yaml and the Python, Go, Rust, Ruby and .NET lockfiles give names and versions only: the page lists those packages as having no licence in the files.
How the answer is worked out
- Licences are read as SPDX expressions such as “MIT” or “(MIT OR Apache-2.0)”. A common name such as “Apache 2.0” is read as its SPDX id and noted. Anything else, such as the name of a vendor’s SDK terms, is shown as it is, to check by hand.
- The groups follow the conditions choosealicense.com gives each licence. “A AND B” means both apply, so the stricter answer counts; “A OR B” means you may choose, so the better answer counts; “WITH” adds an exception that gives extra permissions, so a licence that is not allowed becomes one to check.
- When a CycloneDX component lists several licences, CycloneDX does not say whether all apply or you may choose. The page reads them as all applying and says so.
What the licences ask of you
- For the packages you keep, the page lists the conditions of their licences from choosealicense.com: for example “License and copyright notice” (ship the licence text and copyright notice with your app), “State changes” or “Disclose source”.
Limits you should know
- This is not legal advice. The licence a file records can be wrong or incomplete; for anything that matters, read the licence texts.
- The page does not look inside SDK binaries or read LICENSE files, and it does not read SPDX 3 documents.