Open Source License Generator

Pick MIT, Apache 2.0, GPL, BSD, MPL, or public-domain. Fill author and year. Get the LICENSE file.

License

The most-used permissive license. Almost no restrictions — keep the copyright notice and you're done. Default for most small open-source projects.

Author / copyright holder
Year
LICENSE · 22 lines
MIT License

Copyright (c) 2026 Your Name

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.

01 — Overview

How it works

Generate a complete LICENSE file for your open-source project. Choose from the most-used OSI-approved licenses (and a couple of public-domain options), fill in the author and copyright year, and copy or download. Each license includes a short rationale so you can pick with confidence.

02 — Use cases

When to use it

  1. 01

    Bootstrap a new repo with a license in 30 seconds

  2. 02

    Re-license a project — generate the canonical text without copy-paste errors

  3. 03

    Get the right author + year format for your jurisdiction

  4. 04

    Decide between MIT and Apache 2.0 with quick guidance

03 — Examples

Real input, real output

MIT, Jane Doe, 2025

ex 01

MIT License\n\nCopyright (c) 2025 Jane Doe\n\nPermission is hereby granted...

The most-used permissive license for small projects.

Apache-2.0, Acme Corp, 2025

ex 02

Apache License\nVersion 2.0, January 2004...

Permissive with explicit patent grant — good for companies.

04 — FAQ

Frequently asked

Both are permissive. MIT is shorter and more famous. Apache 2.0 adds an explicit patent grant and requires changes to attributed files to be marked — preferred for corporate-backed projects and anything that ships in a product with patent risk.

05 — More

Tools that pair well