Open Source License Generator

Pick the right license for your project, generate the LICENSE file, and copy it straight into your repo. 10 licenses compared.

MIT

Simple and permissive. Do anything, just include the license.

Permissive

Apache 2.0

Permissive with patent protection. Great for enterprise.

Permissive

GPL 3.0

Strong copyleft. Derivatives must also be open source.

Copyleft

BSD 3-Clause

Like MIT but with a non-endorsement clause.

Permissive

BSD 2-Clause

Simplified BSD. Minimal restrictions.

Permissive

ISC

Functionally identical to MIT. Simpler language.

Permissive

MPL 2.0

File-level copyleft. Modified files must stay open.

Weak Copyleft

LGPL 3.0

Copyleft for libraries. Linking is allowed.

Weak Copyleft

AGPL 3.0

Strongest copyleft. Network use triggers sharing.

Copyleft

Unlicense

Public domain. No restrictions whatsoever.

Public Domain

LICENSE

📊 License Comparison

License Commercial Use Modification Distribution Patent Grant Copyleft
MITNo
Apache 2.0No
GPL 3.0Strong
BSD 3-ClauseNo
ISCNo
MPL 2.0File-level
LGPL 3.0Library
AGPL 3.0Network
UnlicenseNo

How to Choose an Open Source License

Choosing the right license is one of the most important decisions for any open source project. The wrong license can limit adoption, scare away contributors, or create legal headaches down the road.

Want Maximum Adoption? → MIT or ISC

If you want your code used everywhere — including commercial products — MIT and ISC are the go-to choices. They're simple, well-understood, and impose minimal restrictions. Most npm packages, React libraries, and developer tools use MIT.

Want Patent Protection? → Apache 2.0

Apache 2.0 is like MIT but includes an explicit patent grant. If your project could involve patentable technology, Apache 2.0 protects both you and your users. Used by Kubernetes, TensorFlow, and Android.

Want Derivatives to Stay Open? → GPL 3.0

The GPL requires anyone who distributes modified versions of your code to also release their changes under GPL. This is "copyleft" — it keeps the entire ecosystem open. Used by Linux, WordPress, and Git.

Building a Library? → LGPL 3.0 or MPL 2.0

If you're building a library that others will link against, LGPL and MPL offer a middle ground: your library stays open, but apps that simply use it don't have to be open source.

Want No Restrictions At All? → Unlicense

The Unlicense dedicates your work to the public domain. Anyone can do anything with it. No attribution required. Use this for utilities, snippets, and code you want to share freely.

🛠️ More Free Developer Tools

Frequently Asked Questions

How do I choose the right open source license?

Use MIT for maximum permissiveness and simplicity. Choose Apache 2.0 if you need patent protection. Pick GPL if you want all derivatives to stay open source. The generator explains each license's key requirements before you choose.

What is the MIT License?

MIT is the most popular open source license. It allows anyone to use, copy, modify, and distribute your code with minimal restrictions — users only need to keep the original copyright notice. It's ideal for libraries and tools you want widely adopted.

What is the difference between MIT and Apache 2.0?

Both are permissive, but Apache 2.0 adds an explicit patent grant protecting users from patent claims by contributors. Apache 2.0 also requires documenting changes. MIT is simpler and shorter — most developers default to MIT unless patent protection is needed.

Do I need a license for my open source project?

Yes. Without a license, your code is "all rights reserved" by default and others cannot legally use, modify, or distribute it. A license explicitly grants permissions and protects both you and contributors.

How do I add a license to my GitHub repository?

Generate the license with your year and name filled in, then create a file called LICENSE or LICENSE.md in your repository root. GitHub auto-detects and displays the license type on your repo page.

Want AI to do more than generate license files?

Get the complete system to hire an AI agent as your first employee. Setup guides, 30 delegation templates, security hardening.

Get the Kit — $29 → Browse All Products