Apache License 2.0 vs GNU GPL v3.0
Apache into GPLv3 works; GPLv3 into Apache does not.
GPLv3 was written partly to be compatible with Apache-2.0, so Apache code can enter a GPLv3 project with its patent terms intact. The other direction fails because Apache-2.0 imposes additional restrictions that GPLv3 forbids you from adding.
Side by side
Rows that differ are marked. Everything else behaves the same in both licences.
| Attribute | Apache License 2.0 | GNU GPL v3.0 |
|---|---|---|
| OSI approved | Yes | Yes |
| FSF free licence | Yes | Yes |
| Commercial use | Yes | Yes |
| Closed-source product | Yes | No |
| Patent grant | Yes | Yes |
| Trademark grant | No | No |
| Notice required | Yes | Yes |
| Mark modified files | Yes | Yes |
| Disclose source | Nothing | Distribution |
| Same licence covers | Nothing | The whole work |
| Network clause | No | No |
| Link into proprietary | Yes | No |
| Relicense freely | Partly | No |
What actually differs
- Closed-source product — Yes for Apache License 2.0, No for GNU GPL v3.0.
- Disclose source — Nothing for Apache License 2.0, Distribution for GNU GPL v3.0.
- Same licence covers — Nothing for Apache License 2.0, The whole work for GNU GPL v3.0.
- Link into proprietary — Yes for Apache License 2.0, No for GNU GPL v3.0.
- Relicense freely — Partly for Apache License 2.0, No for GNU GPL v3.0.
Same in both: OSI approved, FSF free licence, Commercial use, Patent grant, Trademark grant, Notice required, Mark modified files, Network clause.
Which one to pick
Apache License 2.0
Corporate-friendly default when patents matter — infrastructure SDKs and anything a company may want to adopt.
GNU GPL v3.0
New GNU projects and anything that wants patent language and Apache-2.0 compatibility.
Can you mix them?
Apache License 2.0 → GNU GPL v3.0
compatible
GNU GPL v3.0 → Apache License 2.0
not compatible