License compatibility
Where can MPL-2.0 code go? Follow the lines.
Pick the license of code you want to use. Each destination around it is a project under another license, your own closed product, or your SaaS, colored by whether that code can go in.
can go into a work under each license around itbelow, or not.
CounselMode editorial view · not legal advice · data 2.14.2, as of 2026-11-23
MIT / BSD
ConditionalMPL files stay MPL
Apache-2.0
ConditionalMPL files stay MPL
MPL-2.0
YesLGPL-2.1-or-later
Yes, narrowsCombined work becomes LGPL-2.1-or-later via MPL-2.0 Secondary License; not if marked "Incompatible With Secondary Licenses"
LGPL-3.0
Yes, narrowsCombined work becomes LGPL-3.0 via MPL-2.0 Secondary License; not if marked "Incompatible With Secondary Licenses"
GPL-2.0-only
Yes, narrowsCombined work becomes GPL-2.0-only via MPL-2.0 Secondary License; not if marked "Incompatible With Secondary Licenses"
GPL-2.0-or-later
Yes, narrowsCombined work becomes GPL-2.0-or-later via MPL-2.0 Secondary License; not if marked "Incompatible With Secondary Licenses"
GPL-3.0
Yes, narrowsCombined work becomes GPL-3.0 via MPL-2.0 Secondary License; not if marked "Incompatible With Secondary Licenses"
AGPL-3.0
Yes, narrowsCombined work becomes AGPL-3.0 via MPL-2.0 Secondary License; not if marked "Incompatible With Secondary Licenses"
Your proprietary product
ConditionalMPL files stay MPL: make the source of every MPL-covered file, modified or not, available and tell recipients how to get it; your own separate files can stay proprietary
Your SaaS
Yes
CounselMode editorial view · not legal advice · data 2.14.2, as of 2026-11-23
These rulings are CounselMode's reading of the license texts and the FSF and OSI positions, kept with the open License Navigator dataset. They cover common cases, not every clause or exception. For your own question, ask the License Navigator in your assistant, and confirm anything that matters with a lawyer.