Open source apps under the MPL-2.0 license
The Mozilla Public License 2.0 is a file-level copyleft license: if you distribute a file that contains MPL code, that file and your changes to it must stay open under the MPL. Your own separate files, even when compiled into the same program, can be under any license, including a proprietary one.
Mozilla Public License 2.0 is a weak copyleft license. 8 apps on OpenSourcePicks use it, sorted by GitHub stars as of 6 December 2026. Updated .
What the MPL 2.0 allows
The MPL lets anyone use, copy, modify and distribute the software, including for commercial purposes. Mozilla’s FAQ is direct about the common cases: using MPL software requires nothing, and distributing it within your company, changed or unchanged, also requires nothing, because inside an organization counts as private. For self-hosters and small businesses running an MPL app such as Penpot or Syncthing, the license only becomes relevant if you ship copies to others.
The copyleft is per file
The MPL’s copyleft is drawn around files. A Modification, in the license’s terms, is a change to an MPL file or a new file that takes MPL code. Those must stay under the MPL, and their source must be available to anyone you distribute them to. A new file that contains no MPL code is not a Modification, even when it is compiled, linked or shipped together with MPL files to form what the license calls a Larger Work. Mozilla’s FAQ sums up the scopes like this: the MPL’s copyleft covers files containing MPL code, the LGPL’s covers the library, and the GPL’s covers everything based on the code.
In practice this means:
- If you fix a bug in an MPL file and distribute the result, the people you distribute to must be able to get that file’s new source under the MPL.
- If you add your own module in separate files, you can license it however you like, including keeping it closed.
- Static linking is fine. Unlike the LGPL, the MPL does not require you to let users relink your program with a modified library.
Hosting and network use
The MPL has no network clause. Mozilla’s FAQ says distributing means delivering a copy, and making functionality available over the web is not delivery. Code that runs only on your server is therefore not distributed, while HTML, CSS and JavaScript sent to visitors’ browsers are. If your hosted service sends a modified MPL JavaScript file to the browser, that file’s source must be available.
Distributing binaries
When you distribute an executable built from MPL code, you must tell recipients where they can get the source of the MPL parts, under the MPL, and you may not use your own license terms to restrict those rights. You can distribute the executable itself under a license of your choice. Notices in the source files must not be removed or altered.
Combining with GPL code
Section 3.3 makes the MPL 2.0 compatible with the GNU licenses, which it calls Secondary Licenses. If you combine MPL code with a work under the GPL, LGPL or AGPL, you may additionally distribute the MPL code under that GNU license. Authors can opt out by adding the “Incompatible With Secondary Licenses” notice from Exhibit B. Combining MPL code with BSD or Apache code in one program is also fine, according to Mozilla.
Patents and trademarks
Each contributor grants a patent license covering their contributions as part of their version of the software. If you sue claiming that the software infringes a patent, the rights contributors granted you under section 2.1 end. Section 2.3 states that no rights in trademarks, service marks or logos are granted, so a fork should use its own name.
Versions
There is no “MPL-2.0-only” in practice. Section 10.2 always lets recipients use the version under which they received the code or any later version that Mozilla, as license steward, publishes.
Open core and split licensing with the MPL
Because the copyleft is per file, the MPL fits projects that keep paid features in separate code. Penpot’s Enterprise plan adds a proprietary administration layer that is not in the public repository. Some projects mix licenses across components: Taiga has an MPL 2.0 backend and an AGPL v3 web frontend, so changes you distribute or host there are treated differently depending on the part.
How it compares with neighboring licenses
- LGPL: also weak copyleft, but at the level of the library, with relinking requirements for proprietary programs.
- GPL v3 and AGPL v3: copyleft covers the whole program, and the AGPL also covers network use.
- Apache 2.0: a similar explicit patent license, but no duty to share changes at all.
- EUPL 1.2: lists the MPL 2.0 among its compatible licenses.
This page explains the license in general terms and is not legal advice; for a specific product or contract, ask a lawyer.
Frequently asked questions
Can I use MPL-2.0 software in my company without sharing anything?
Yes. Mozilla's FAQ says using MPL software creates no obligations, and distributing it inside your organization, changed or not, counts as private. The MPL only asks something of you when you distribute the software outside the organization.
Do I have to publish changes if I run a modified MPL app as a web service?
No. Mozilla's FAQ explains that the MPL uses distribute to mean delivering a copy, not making functionality available over the web, so code that runs only on your server is not distributed. HTML, CSS and JavaScript sent to users' browsers are distributed, and modified MPL files among them must be made available as source.
Can I use MPL-2.0 code in a closed-source product?
Yes. New files that contain no MPL code are not covered, even if they are compiled or statically linked into the same program, which Mozilla's FAQ calls the main difference from stronger copyleft licenses. You must still make the source of the MPL files, including your changes to them, available to recipients and tell them where to find it.
Is MPL-2.0 compatible with the GPL?
Usually, yes. Section 3.3 lets you distribute MPL code that you combine with GPL, LGPL or AGPL code under those licenses as well, unless the author marked the files Incompatible With Secondary Licenses using the notice in Exhibit B. Code that was only ever under MPL 1.1 is also excluded.
Apps under the Mozilla Public License 2.0
Sorted by GitHub stars within each category.
Licenses are taken from each project's LICENSE file; exceptions such as proprietary enterprise directories are explained on the app page. This page explains the license in general terms and is not legal advice. Other licenses: GNU AGPL v3, MIT License, Apache License 2.0, GNU GPL v3, GNU GPL v2, BSD 3-Clause and 2-Clause licenses, GNU LGPL (v2.1 and v3), Open Software License 3.0, European Union Public Licence 1.2.