Mozilla Public License 2.0

A free and open-source license with file-level copyleft requirements.

Key Terms
Understanding the main components of this license

File-Level Copyleft

Modifications must be licensed under MPL if distributed, but other files can be under different licenses.

Distribution

This software may be distributed.

Modification

This software may be modified.

Patent Grant

Provides an express grant of patent rights from contributors to users.

Limitations
Important limitations and restrictions to note
  • No Liability
  • No Warranty
Compatible With
Other licenses that are compatible with this one
GPL v2
LGPL v2.1
AGPL v3
Frequently Asked Questions
Common questions about this license

What is the difference between MPL and LGPL?

The MPL has a file-level copyleft, meaning only the modified files need to comply with the MPL, while the LGPL applies to entire libraries or linked works.

Can I use MPL license commercially?

Yes, the MPL allows commercial use. However, modifications to MPL-covered files must be released under the MPL.

What is MPL and GPL?

The MPL (Mozilla Public License) has a file-level copyleft, while the GPL (General Public License) applies copyleft to the entire work.

Is MPL free software?

Yes, the MPL is a free and open-source software license approved by the Free Software Foundation and the Open Source Initiative.

SPDX IdentifierMPL-2.0
OSI ApprovedYes
Copyleftfile-level
LinkingPermitted