LicenseGuard

Mozilla Public License 2.0

MPL-2.0 · File-level copyleft

File-level weak copyleft. Modifications to MPL-licensed files must be released under MPL, but your own files in the same project are unaffected. This makes it unusually easy to combine with proprietary code.

What MPL-2.0 requires, by how you ship

The same license produces different obligations depending on whether the software is distributed, hosted, or kept internal. This is the distinction most dependency scanners collapse.

How you ship itResultWhy
Hosted SaaS No obligation MPL-2.0 applies copyleft per file, not to your project as a whole. Files it covers must stay under it and their modifications must be published, while your own files may carry any terms you choose. It treats static and dynamic linking alike, so how you link makes no difference.
Distributed binary / app No obligation MPL-2.0 applies copyleft per file, not to your project as a whole. Files it covers must stay under it and their modifications must be published, while your own files may carry any terms you choose. It treats static and dynamic linking alike, so how you link makes no difference.
Delivered to customer No obligation MPL-2.0 applies copyleft per file, not to your project as a whole. Files it covers must stay under it and their modifications must be published, while your own files may carry any terms you choose. It treats static and dynamic linking alike, so how you link makes no difference.
Internal use only No obligation MPL-2.0 applies copyleft per file, not to your project as a whole. Files it covers must stay under it and their modifications must be published, while your own files may carry any terms you choose. It treats static and dynamic linking alike, so how you link makes no difference.
Published library No obligation MPL-2.0 applies copyleft per file, not to your project as a whole. Files it covers must stay under it and their modifications must be published, while your own files may carry any terms you choose. It treats static and dynamic linking alike, so how you link makes no difference.

Obligations at a glance

Source disclosureAttribution

As a build-time dependency it is a different question.

MPL-2.0 appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

Want to know whether anything in your project is under MPL-2.0?

Check your whole manifest →

Other licenses

MITPermissiveApache-2.0PermissiveBSD-3-ClausePermissiveBSD-2-ClausePermissiveISCPermissiveGPL-2.0-onlyStrong copyleftGPL-3.0-onlyStrong copyleftLGPL-2.1-onlyLibrary-level copyleftLGPL-3.0-onlyLibrary-level copyleftAGPL-3.0-onlyNetwork copyleftEPL-2.0File-level copyleftSSPL-1.0Source available (not OSI-approved)

See all licenses →

LicenseGuard reports information derived from published license texts and dependency manifests. It is not legal advice and using it does not create an attorney-client relationship. Results reflect license metadata as declared; they do not identify every obligation or violation. Consult qualified counsel for decisions that matter.