MIT License vs GNU GPL v3.0
MIT can move into GPL-3.0. Not the other way.
Take MIT code, put it inside a GPL-3.0 project, and the combined work goes out under GPL-3.0 — the MIT part keeps its notice. Take GPL-3.0 code and try to relicense the result as MIT and you are distributing without a licence.
Side by side
Rows that differ are marked. Everything else behaves the same in both licences.
| Attribute | MIT License | GNU GPL v3.0 |
|---|---|---|
| OSI approved | Yes | Yes |
| FSF free licence | Yes | Yes |
| Commercial use | Yes | Yes |
| Closed-source product | Yes | No |
| Patent grant | No | Yes |
| Trademark grant | No | No |
| Notice required | Yes | Yes |
| Mark modified files | No | Yes |
| Disclose source | Nothing | Distribution |
| Same licence covers | Nothing | The whole work |
| Network clause | No | No |
| Link into proprietary | Yes | No |
| Relicense freely | Yes | No |
What actually differs
- Closed-source product — Yes for MIT License, No for GNU GPL v3.0.
- Patent grant — No for MIT License, Yes for GNU GPL v3.0.
- Mark modified files — No for MIT License, Yes for GNU GPL v3.0.
- Disclose source — Nothing for MIT License, Distribution for GNU GPL v3.0.
- Same licence covers — Nothing for MIT License, The whole work for GNU GPL v3.0.
- Link into proprietary — Yes for MIT License, No for GNU GPL v3.0.
- Relicense freely — Yes for MIT License, No for GNU GPL v3.0.
Same in both: OSI approved, FSF free licence, Commercial use, Trademark grant, Notice required, Network clause.
Which one to pick
GNU GPL v3.0
New GNU projects and anything that wants patent language and Apache-2.0 compatibility.
Can you mix them?
MIT License → GNU GPL v3.0
compatible
GNU GPL v3.0 → MIT License
not compatible