Skip to content

πŸ“œ Software Licenses: Overview & Use Cases ​

License NameTypeAllows Use InRestrictions / NotesWhen to Use It
AGPL-3.0Strong CopyleftOpen-source onlyMust disclose source even for web/SaaS usageYou want to protect server-side software and enforce open-source sharing
Apache-2.0PermissiveOpen + CommercialMust include license, NOTICE file, and patent grantEnterprise-safe permissive license with patent protection
BSD-2-ClausePermissiveOpen + CommercialMinimal: just keep copyright & licenseLightweight permissive license (similar to MIT)
BSD-3-ClausePermissiveOpen + CommercialLike BSD-2, plus no endorsement clausePrefer BSD-2 but want to prevent implied endorsements
BSD-4-ClausePermissiveOpen + CommercialDeprecated; includes advertising clauseAvoid unless required for legacy compatibility
BSL-1.0 (Boost)PermissiveOpen + CommercialVery permissive with minimal restrictionsUsed in Boost C++ libraries; good for academic/research
CC-BY-4.0Attribution (Content only)AnyAttribution required; not for codeUse for docs, logos, or designs β€” not source code
CC0-1.0Public DomainAnyNo rights reserved (no attribution required)Best for public domain releases (not recommended for important code)
EPL-2.0 (Eclipse)Weak CopyleftOpen + CommercialFile-level copyleft; contributors grant patent rightsGood for Eclipse plugins or modular Java apps
GPL-2.0Strong CopyleftOpen-source onlyMust open source full app if combined or distributedClassic copyleft license; avoid mixing with Apache-licensed code
GPL-3.0Strong CopyleftOpen-source onlyLike GPL-2.0, adds anti-Tivoization and better patent termsProtect FOSS fully; use when sharing code is a core value
ISCPermissiveOpen + CommercialSimple, MIT-like; very concise licenseGood lightweight permissive option, especially in networking projects
LGPL-2.1Weak CopyleftMixedLibrary linking allowed; changes must be sharedUse for open-source libraries with commercial use allowed
LGPL-3.0Weak CopyleftMixedLike LGPL-2.1 with added protectionsPrefer over LGPL-2.1 for modern legal safety
MITPermissiveOpen + CommercialMust include license and copyright noticeMost popular open license; great for projects meant for wide reuse
MPL-2.0Weak CopyleftMixedCopyleft only applies to modified filesGreat for projects that want some openness without forcing full disclosure
UNLICENSEPublic DomainAnyNo copyright claim, no liabilityUse only if you want to waive all rights entirely
WTFPLPublic Domain / HumorAnyβ€œDo What the F*** You Want” licenseMostly humorous; legally valid but not suitable for professional use