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.

How to use the Open Source License Generator

    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.