Open Source License Picker & Generator

Choose the right license for your project and generate the LICENSE file

Compare MIT, Apache 2.0, GPL v3, LGPL v3, MPL 2.0, BSD 3-Clause, and ISC with a decision guide on permissions, conditions, and copyleft, then generate the full LICENSE text with your name and year filled in, ready to drop into your repository.

What is the difference between permissive and copyleft licenses?

Permissive licenses like MIT and Apache let others use, modify, and distribute your code with almost no obligations beyond keeping the notice. Copyleft licenses like GPL require derivative works to be released under the same license, keeping them open.

Choosing a software license decides how others may use your code. This tool compares the most common open-source licenses across permissions, conditions, and copyleft strength, then generates the full LICENSE text with your name and year filled in.

How it works

Each license falls on a spectrum from permissive to strong copyleft:

  • Permissive (MIT, BSD 3-Clause, ISC, Apache 2.0): use freely, just keep the notice. Apache 2.0 adds a patent grant.
  • Weak copyleft (MPL 2.0, LGPL v3): modifications to the licensed files stay open, but you can combine them with proprietary code.
  • Strong copyleft (GPL v3): any distributed derivative must be released under the same license.

The generator inserts your copyright holder name and the current year into the official, unmodified text — the standard, legally-meaningful way to apply a license.

Tips and notes

  • Permissive licenses maximize adoption; copyleft licenses maximize software-freedom guarantees.
  • Apache 2.0 is the safest permissive choice when patents could be in play.
  • For a library you want widely embedded, MIT or Apache 2.0 see the most uptake.
  • Always name the file exactly LICENSE (no extension) so GitHub detects it and shows the license badge.