License Generator
Generate LICENSE files for your open source projects. Choose from popular licenses like MIT, Apache 2.0, GPL, BSD, and more, customized with your name and year.
Select a license type above to generate a LICENSE file for your project
FAQ
Which license should I choose?
MIT is the most permissive and popular choice. Apache 2.0 adds patent protection. GPL requires derivative works to be open source. Choose based on how you want others to use your code.
What is the difference between permissive and copyleft licenses?
Permissive licenses (MIT, BSD, Apache) allow almost any use. Copyleft licenses (GPL, AGPL) require derivative works to use the same license, keeping the code open source.
Where should I put the LICENSE file?
Place the LICENSE file in the root directory of your project. GitHub and other platforms automatically detect and display it. Also reference the license in your package.json or README.