Skip to content
BENIBIX Learn

Mozilla Public License 2.0 (MPL)

Development🚀 Product & ReleasesSoftware Licenses

Also known as MPL, MPL 2.0, MPL-2.0, Mozilla License

A weak copyleft rule that works one file at a time. A changed MPL file stays open.

Think of it like

It is like a shared notebook. Some pages are for all, and you may add your own.

Example

Lucy's team adds two private files to an MPL project and fixes one MPL file. They share the fixed file and keep their own two closed.

Why it matters

It is a middle way. The shared files stay open, but a company can still build closed parts around them.

Definition

The Mozilla Public License 2.0 is a weak copyleft license that works file by file. If you change a file under the MPL, you must share that file's code under the MPL. But you may add new files of your own under any license, even a closed one. So one product can mix MPL files with private files. Firefox uses it.
The MPL is weak copyleft: the rule covers each MPL file.

Common mistake

Copying MPL code into your own file to dodge the rule. The copied code is still MPL. This is a plain summary, not legal advice.

Key takeaways

  1. 1
    File by file. The rule covers each MPL file.
  2. 2
    Mix allowed. New files can use any license.
  3. 3
    Weak copyleft. Fewer rules than the GPL.