Open Source License Generator

Generate standard open source licenses — MIT, Apache 2.0, GPL-3.0, AGPL-3.0, LGPL-3.0, BSD-2, BSD-3, ISC, MPL-2.0, Unlicense — with your year, copyright holder and project name filled in. Copy the LICENSE text or download it as a file.

How to use

1

Pick a license

Choose from MIT, Apache 2.0, GPL-3.0, AGPL-3.0, LGPL-3.0, BSD-2, BSD-3, ISC, MPL-2.0 or Unlicense.

2

Fill in year and copyright holder

Enter the year and the name of the copyright holder.

3

Add a project name (optional)

Some licenses include the project name in the header.

4

Copy or download

Copy the LICENSE text or download it as a file.

Short, permissive. Most popular for open source.

MIT
LICENSE
MIT License Copyright (c) 2026 The Author Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

These are standard license templates. For important projects, have a lawyer review before publishing.

Features

Ten licenses

MIT, Apache 2.0, GPL-3.0, AGPL-3.0, LGPL-3.0, BSD-2, BSD-3, ISC, MPL-2.0 and Unlicense.

Placeholder substitution

Year, copyright holder and project name are filled in correctly for each license.

License hints

Each license has a short description of when to use it.

Copy or download

Copy the LICENSE text to your clipboard or save it as a file.

Common use cases

  • Add a LICENSE file to a new open source project
  • Switch a project to a different license
  • Prepare a license for a library or framework
  • Learn the differences between common licenses

Frequently Asked Questions

Related tools