License compatibility
Where can GPL-2.0-only 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
NoWhole work becomes GPLv2
Apache-2.0
NoMPL-2.0
NoLGPL-2.1-or-later
NoThe combined work would have to be GPL-2.0-only. LGPL-2.1 s.3 lets the project's LGPL code be converted to GPL, so the only route is moving the whole project to GPL-2.0-only
LGPL-3.0
NoGPL-2.0-only
YesGPL-2.0-or-later
Yes, narrowsCombined work becomes GPL-2.0-only
GPL-3.0
NoAGPL-3.0
NoYour proprietary product
NoYour SaaS
YesNo distribution
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.