{ License Generator }

// generate open source licenses in one click

Generate MIT, Apache 2.0, GPL, BSD, ISC and more open source licenses instantly. Browser-based, free, no sign-up required.

BADGE PREVIEW
License badge
📄

Your license will appear here

Select type, fill in your name and year

HOW TO USE

  1. 01
    Choose a license

    Pick from 15 popular open source licenses — permissive, copyleft, or Creative Commons.

  2. 02
    Fill in your details

    Enter your name (or organization) and the copyright year. Year ranges like 2020-2025 are supported.

  3. 03
    Copy or download

    Click Copy to paste into your project, or Download to get a ready-to-use LICENSE file.

FEATURES

15 Licenses Auto-fills year Badge preview Download as FILE Compat notes 100% free

USE CASES

  • 📦 Open source projects on GitHub / GitLab
  • 🛠️ NPM / Composer / PyPI packages
  • 🎨 Design assets & creative work (CC)
  • 🏢 Corporate internal tools (Apache 2.0)
  • 🔓 Public domain dedications (Unlicense, CC0)

WHAT IS THIS?

A software license tells others what they can and cannot do with your code. Choosing the wrong license — or omitting one — can expose your work to legal ambiguity. This tool generates the exact, up-to-date text for the most widely used open source licenses, ready to drop into any project.

RELATED TOOLS

FREQUENTLY ASKED QUESTIONS

Which license should I choose for my project?

For maximum adoption, MIT or ISC are the most permissive and widely understood. Apache 2.0 is better for larger projects as it includes an explicit patent grant. GPL v3 is ideal if you want derivatives to remain open source.

Can I use MIT-licensed code in a commercial product?

Yes. MIT, Apache 2.0, BSD, ISC, and the Unlicense all explicitly allow commercial use with no royalties. You must retain the original copyright notice.

What is the difference between GPL v2 and GPL v3?

GPL v3 adds protections against tivoization (hardware restrictions), an explicit patent termination clause, and compatibility with more other open source licenses. Most new projects should prefer GPL v3.

Is this tool 100% free? Do I need to sign up?

Completely free, no sign-up, no watermarks. All license text is generated directly in your browser — nothing is sent to a server.

Can I use a year range like 2020-2025?

Yes. Simply type the range (e.g. 2020-2025) into the Year field. This is common practice for long-running projects and is legally valid.

Where should I put the LICENSE file in my project?

Place the LICENSE file in the root of your repository alongside README.md. GitHub, GitLab, and npm automatically detect and display it on your project page.

Free Online License Generator for Open Source Projects

Picking the right open source license is one of the most important decisions you make when releasing software. A missing or incorrect license leaves your code in legal limbo — contributors don't know what they're allowed to do, and companies may avoid your project entirely.

Permissive vs. Copyleft Licenses

Permissive licenses (MIT, Apache 2.0, BSD, ISC) allow anyone to use, modify, and distribute your code — even in proprietary software — as long as they include your copyright notice. Copyleft licenses (GPL, AGPL, LGPL) require that any distributed modifications also be released under the same license, keeping the ecosystem open.

The MIT License — Most Popular Choice

The MIT License is the most widely used open source license in the world. It is short, permissive, and compatible with virtually every other license. It requires only that the copyright notice and license text be included in all copies or substantial portions of the software.

Apache 2.0 — Best for Enterprise

Apache 2.0 includes an explicit patent grant, making it the preferred choice for enterprise environments and projects where patent risk is a concern. It is compatible with GPL v3 and is used by major projects like Android, Kubernetes, and TensorFlow.

Creative Commons for Non-Code Assets

If you are releasing documentation, datasets, design assets, or other non-software content, Creative Commons licenses (CC0, CC BY, CC BY-SA) are the appropriate choice. CC0 effectively places your work in the public domain with no restrictions whatsoever.

☕