Start a project

Tool 188 of 194 · Security

Open Source Licence Checker

Find the dependency licences that clash with how you license and ship your project, before a customer's legal team does.

Open Source Licence Checker

Dependencies

Distributed covers apps, downloads, libraries and JavaScript sent to browsers.

Packages

PackageVersionLicenceCategoryVerdictWhy

    Licences

    For an OR expression it picks the option that suits you best; for AND every licence applies, so the strictest counts. The SPDX expression parser was checked against the license-expression library on over 2,000 expressions.

    Report

    Report as CSV

    01

    What it does

    Reads the licences in your lockfile or SBOM, parses each SPDX expression and flags the ones that conflict with your project's licence and how you ship it.

    • Reads package-lock.json v2 and v3, composer.lock, CycloneDX and SPDX JSON SBOMs, or lines of name@version: licence
    • Full SPDX expression parsing: AND, OR, WITH exceptions, + and brackets
    • Old and informal names such as GPL-2.0 or Apache 2.0 read as their SPDX identifiers
    • Verdicts that depend on your licence and whether you distribute, run a service or use it internally

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    A verdict for each package, notes, a chart of licences and a CSV report, with a Copy and a Download button on every result.

    • Licences
    • SPDX
    • SBOM

    Why it matters

    Every dependency comes with a licence, and most are permissive: keep the notice and you're done. The ones that matter are copyleft and source-available licences, because what they ask depends on your own licence and on how the code reaches people. GPL code inside an app you distribute can mean releasing your source; the same code on your own servers usually doesn't, unless it's AGPL.

    This checker reads the licence field for every package in a lockfile or SBOM, parses it as an SPDX expression and judges it against the licence and shipping model you choose. Where a package offers a choice (OR), it takes the option that suits you; where several licences apply (AND), the strictest counts. It's a guide to the common cases, not legal advice.

    How to use it

    1. Paste or drop your package-lock.json, composer.lock or SBOM.
    2. Choose your project's licence and how you ship it.
    3. Read the conflicts and packages to check first.
    4. Download the CSV for your records or your legal team.

    FAQ

    Where do I get a file with licences in it?

    package-lock.json from npm 7 or later has a licence for each package. You can also run npm sbom --sbom-format cyclonedx, or use composer.lock for PHP, or an SPDX or CycloneDX SBOM from tools like Syft.

    Why does SaaS change the verdict?

    The GPL's conditions are triggered by distributing the software. Running it on your own servers isn't distribution, so GPL code there doesn't oblige you to release your source. The AGPL closes that gap for network use.

    What does OR mean in a licence?

    That you can choose either licence. For MIT OR GPL-3.0-or-later you can take MIT, so the checker judges the option that suits you best.

    Is this legal advice?

    No. It covers widely accepted interpretations, such as the FSF's compatibility list, but how code is linked and modified matters. Ask a lawyer about anything flagged as a conflict.

    Is my lockfile uploaded?

    No. It's read and checked in your browser.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk