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.