LicensePlain 中文 visits —
Home / Compare / GNU AGPL v3.0 vs GNU GPL v3.0
AGPL-3.0 vs GPL-3.0Strong copyleft · Strong copyleft

GNU AGPL v3.0 vs GNU GPL v3.0

AGPL is GPLv3 plus section 13.

CompatibilityOne way

Every permission in GPLv3 is in AGPL, so GPLv3 code can enter an AGPL project. AGPL adds the network clause: users interacting with a modified version over a network must be offered the source, with no distribution step required.

Side by side

Rows that differ are marked. Everything else behaves the same in both licences.

AttributeGNU AGPL v3.0GNU GPL v3.0
OSI approvedYesYes
FSF free licenceYesYes
Commercial useYesYes
Closed-source productNoNo
Patent grantYesYes
Trademark grantNoNo
Notice requiredYesYes
Mark modified filesYesYes
Disclose sourceNetwork useDistribution
Same licence coversNetwork useThe whole work
Network clauseYesNo
Link into proprietaryNoNo
Relicense freelyNoNo

What actually differs

  • Disclose source — Network use for GNU AGPL v3.0, Distribution for GNU GPL v3.0.
  • Same licence covers — Network use for GNU AGPL v3.0, The whole work for GNU GPL v3.0.
  • Network clause — Yes for GNU AGPL v3.0, No for GNU GPL v3.0.

Same in both: OSI approved, FSF free licence, Commercial use, Closed-source product, Patent grant, Trademark grant, Notice required, Mark modified files, Link into proprietary, Relicense freely.

Which one to pick

GNU AGPL v3.0

Server products that want improvements to flow back — databases proxies and network services.

Licence page

GNU GPL v3.0

New GNU projects and anything that wants patent language and Apache-2.0 compatibility.

Licence page

Can you mix them?

GNU AGPL v3.0 → GNU GPL v3.0

not compatible

GNU GPL v3.0 → GNU AGPL v3.0

compatible

Compatibility statements are one-way and general. How you combine the code — linking, subprocess, copying files — can change the answer, so check the FSF list for anything unusual.

Questions

Can I use GNU AGPL v3.0 and GNU GPL v3.0 in the same project?

Every permission in GPLv3 is in AGPL, so GPLv3 code can enter an AGPL project.

What happens if I get the direction wrong?

You end up distributing code under terms its authors never granted — which is copyright infringement, not a technicality. The fix is usually to relicense the outbound side to the stricter licence.

Do both licences require a NOTICE file?

Apache-2.0 does when the upstream project ships one; MIT and the BSD licences have no NOTICE convention at all.