Guides · 01

What Is Copyleft?

The meaning and mechanics of copyleft, the differences between strong copyleft (GPL), weak copyleft (LGPL, MPL, EPL) and network copyleft (AGPL), when obligations arise and common misconceptions.

Last checked: 2026-09-23

Using copyright to protect freedom

Copyleft is a play on the word copyright. It is a concept created in the 1980s by Richard Stallman and the Free Software Foundation (FSF) for the GNU Project, and it is a mechanism that uses copyright law to keep software freedom from disappearing. The copyright holder permits anyone to use, modify and distribute the software, with one condition: "When you distribute something based on this code, you must give recipients the same freedoms."

Permissive licenses (MIT, BSD, Apache) do not have this condition, so someone can modify permissive code and sell it as a closed product. Copyleft blocks that path, keeping improved versions open as well. Because of this property, copyleft licenses are also called "reciprocal" licenses.

Obligations arise when you distribute

Copyleft conditions are triggered when you pass the code on to someone else. GPL-3.0 calls this "convey".

Three branches by scope

Strong copyleft

GPL-2.0 and GPL-3.0 are the main examples. Everything combined with GPL code and distributed as a single program must follow GPL terms. The FSF's position is that static or dynamic linking counts as combination if the result forms one program.

Weak copyleft

Licenses that narrow the scope of the obligation.

Network copyleft

AGPL-3.0 imposes the obligation to provide source to users merely by providing a modified program over a network. It was created to fill the GPL's gap in the age of web services.

LicenseDisclosure scopeWhen only running a server
GPL-2.0 / GPL-3.0The whole combined programNo obligation
LGPL-2.1 / LGPL-3.0The library and its modificationsNo obligation
MPL-2.0Modified MPL filesNo obligation
EPL-2.0EPL code and modifications (module)No obligation
AGPL-3.0The whole combined programProvide source if modified

Common misconceptions

Questions to decide whether to choose copyleft

  1. Is it okay if modified versions of your code end up in closed products?
  2. Is wide adoption as a library more important, or getting improvements back?
  3. Is the main usage installed software, or a service running on a server?

Based on your answers to these three questions, the license wizard narrows down the candidates. A more detailed comparison is in Permissive vs copyleft.

This article is general information, not legal advice. Consult a professional for important decisions.

Sources