License Generator
Generate the full text of a common open source license with your name and the year filled in. Choose MIT, Apache 2.0, BSD 3-Clause, BSD 2-Clause, ISC, BSD Zero Clause, MIT No Attribution, the Unlicense, zlib or Boost 1.0, enter the copyright holder and save the result as LICENSE in your project.
Frequently asked questions
Which licenses are available?
MIT, Apache 2.0, BSD 3-Clause, BSD 2-Clause, ISC, BSD Zero Clause (0BSD), MIT No Attribution (MIT-0), the Unlicense, zlib and the Boost Software License 1.0. All of them are permissive licenses approved by the Open Source Initiative.
Is the license text changed?
No. The text is the standard text of each license; only the year and the copyright holder are filled in. For Apache 2.0 they are filled into the notice in its appendix, which shows how to apply the license.
What year is used?
The current year, unless you enter one. You can also enter a range such as 2019-2026 or a list such as 2020, 2024.
Why do the Unlicense and Boost license not need a name?
Their texts contain no copyright line. The Unlicense dedicates the work to the public domain, and the Boost license refers to the copyright notices in the software.
Which license should I choose?
MIT and ISC are short and allow almost any use as long as the notice is kept. Apache 2.0 adds an explicit patent grant. BSD 3-Clause forbids using your name to promote derived products. 0BSD, MIT-0 and the Unlicense do not even require the notice. This tool is not legal advice.
What about GPL and other copyleft licenses?
They are not offered here. Copy their official texts from gnu.org or the license steward instead.