Open Source License Generator

Generate a LICENSE file — MIT, Apache 2.0, GPL-3.0, BSD, ISC, MPL-2.0, Unlicense — with your name and year.

Runs instantly in your browser — results update as you type.

Which open source license should I choose?

Choose MIT for maximum freedom with minimal conditions, Apache 2.0 if you also want an explicit patent grant, and GPL-3.0 if derived works must stay open source. Pick a license, enter your name and year, and copy the full official text into a file named LICENSE.

Quick comparison

LicenseTypeCan be used in closed-source software?
MIT, ISC, BSDPermissiveYes
Apache 2.0Permissive + patentsYes
MPL 2.0File-level copyleftYes, if MPL files stay open
LGPL 3.0Weak copyleftYes, when linked as a library
GPL 3.0 / AGPL 3.0Strong copyleftNo

Frequently asked questions

Where do the license texts come from?

The official texts as published in the SPDX license list.

Is this legal advice?

No — consult a lawyer for important decisions.

Can I change a license later?

You can relicense your own code, but copies already released stay under the old license.