License Comparison Table

See in one table what each license permits (permissions), what obligations it imposes (conditions) and what it does not guarantee (limitations). Click a license name for a detailed explanation.

LicensePermissionsConditionsLimitations
Commercial useModificationDistributionPrivate usePatent useLicense and copyright noticeNotice for source distributionState changesDisclose sourceNetwork use is distributionSame licenseSame license (file)Same license (library)Trademark useLiabilityPatent useWarranty
MITYesYesYesYesNoYesNoNoNoNoNoNoNoNoYesNoYes
Apache-2.0YesYesYesYesYesYesNoYesNoNoNoNoNoYesYesNoYes
GPL-3.0YesYesYesYesYesYesNoYesYesNoYesNoNoNoYesNoYes
GPL-2.0YesYesYesYesNoYesNoYesYesNoYesNoNoNoYesNoYes
LGPL-3.0YesYesYesYesYesYesNoYesYesNoNoNoYesNoYesNoYes
LGPL-2.1YesYesYesYesNoYesNoYesYesNoNoNoYesNoYesNoYes
AGPL-3.0YesYesYesYesYesYesNoYesYesYesYesNoNoNoYesNoYes
MPL-2.0YesYesYesYesYesYesNoNoYesNoNoYesNoYesYesNoYes
EPL-2.0YesYesYesYesYesYesNoNoYesNoYesNoNoNoYesNoYes
BSD-3-ClauseYesYesYesYesNoYesNoNoNoNoNoNoNoNoYesNoYes
BSD-2-ClauseYesYesYesYesNoYesNoNoNoNoNoNoNoNoYesNoYes
ISCYesYesYesYesNoYesNoNoNoNoNoNoNoNoYesNoYes
0BSDYesYesYesYesNoNoNoNoNoNoNoNoNoNoYesNoYes
BSL-1.0YesYesYesYesNoNoYesNoNoNoNoNoNoNoYesNoYes
UnlicenseYesYesYesYesNoNoNoNoNoNoNoNoNoNoYesNoYes
CC0-1.0YesYesYesYesNoNoNoNoNoNoNoNoNoYesYesYesYes

Permissions, conditions and limitations are classified using data from choosealicense.com (GitHub, MIT License).

Legend

Commercial use (Permissions)
The software and derivatives may be used for commercial purposes.
Modification (Permissions)
The software may be modified.
Distribution (Permissions)
The software may be distributed.
Private use (Permissions)
The software may be used and modified privately without publishing it.
Patent use (Permissions)
Contributors expressly grant patent rights.
License and copyright notice (Conditions)
A copy of the license and the copyright notice must be included when distributing.
Notice for source distribution (Conditions)
The notice is only required when distributing in source form, not for binaries.
State changes (Conditions)
Changes made to the original must be indicated.
Disclose source (Conditions)
Source code must be made available when distributing.
Network use is distribution (Conditions)
Users who interact with the software over a network are also entitled to receive the source.
Same license (Conditions)
Modifications and derivatives must be distributed under the same (or a compatible) license.
Same license (file) (Conditions)
Modifications to existing files must be distributed under the same license.
Same license (library) (Conditions)
Modifications to the library must use the same license, but this may not apply to programs that use it.
Trademark use (Limitations)
Expressly states that no trademark rights are granted.
Liability (Limitations)
Expressly states that there is no liability for damages.
Patent use (Limitations)
Expressly states that contributors' patent rights are not granted.
Warranty (Limitations)
Expressly states that no warranty is provided.

How to read the table

A ● in the Permissions column means the license expressly permits that action. Licenses without a patent clause, such as MIT and BSD, leave 'Patent use' empty, but that does not mean you will be sued for patent infringement. Some argue an implied license may be recognized; an express clause is simply clearer.

The Conditions column lists obligations that apply when you distribute. If you only use the code inside your company and do not distribute it, most conditions never apply. The exception is AGPL-3.0's 'network use' condition: if you run a modified version on a server that others access, you must provide the source.

The Limitations column lists what the license does not guarantee. Almost every open source license is provided 'as is' with no warranty or liability. Even a license without a trademark clause is unlikely to be read as granting trademark rights.

Common points of confusion

This table follows the classification of choosealicense.com. Actual obligations are defined by the license text.