License Generator

What Is Open Source License Generator?

Open Source License Generator helps you choose and generate the right license for your project. It covers five licences: MIT, ISC, Apache 2.0, BSD 3-Clause and GPL 3.0, and outputs each one in full, word for word as published in the SPDX License List, with only your year and name filled in.

How to Use This Tool

Pick one of the five licences and enter your name and year to fill in the copyright line, then copy the text or download it as a file named LICENSE for the root of your repository. For GPL 3.0 the licence is left untouched (its own terms forbid changes) and a second box gives the filled-in notice to put at the top of each source file. Everything runs in your browser.

Why Use Open Source License Generator?

Choosing the wrong open source license can have real legal consequences — from unexpected copyleft requirements to patent liability. This page explains the common licences in plain English and gives you the official text to ship. It’s free, instant, and requires no legal knowledge. For a detailed walkthrough, see our step-by-step guide.

Common Use Cases

Open-sourcing a personal project and picking between MIT, Apache 2.0, BSD, and GPL based on what you actually want users to be able to do with the code. Adding a LICENSE file to an internal repo so future contributors and acquirers know the IP posture without having to ask. Switching a project's license at a maintainer transition and needing the canonical text rather than a paraphrase — license bodies are not free-form, and small wording variations matter legally.

Drafting a dual-licensed setup where the same code ships under AGPL for community use and a commercial license for closed-source distribution — you need both license bodies ready, with the notice sections customized. Also useful when vendoring third-party code: dropping their LICENSE alongside your own makes the attribution explicit instead of buried in commit history where future audits won't find it.

Worked example: the generated files against the official licence texts

A licence file only works if it contains the licence. Until October 12, 2026 this tool produced shortened versions (MIT and ISC without their warranty disclaimers, Apache 2.0 and GPL 3.0 as one-paragraph notices). It now ships the canonical texts from the SPDX License List 3.29.0 (September 16, 2026), the reference used by GitHub, npm and package scanners. We generated each licence in Chromium with the name "Jane Q. Example" and the year 2026 and compared it word by word with the SPDX file:

LicenceTool wordsSPDX wordsWhat is missing
MIT170169Only <year> <copyright holders> replaced
ISC118116Only <year> <owner> replaced
BSD 3-Clause222220Only <year> <owner> replaced
Apache 2.01,5801,581Only [yyyy] [name of copyright owner] in the appendix replaced
GPL 3.05,6445,644None: identical (your name goes in the separate source-file notice)

Frequently Asked Questions

Which license?+
MIT is most popular for simplicity. Apache 2.0 adds patent protection. GPL requires derivatives to be open source.
Is a license required?+
Without one, code is under exclusive copyright. A license explicitly grants permissions.
Change later?+
Only for future versions. Past releases stay under their original license.
MIT vs ISC?+
Functionally equivalent. ISC is slightly shorter. Both allow unrestricted use with attribution.
Which license should I choose for my open-source project?+
MIT and Apache 2.0 are the most permissive and widely-accepted — use MIT for maximum simplicity, Apache 2.0 if you want explicit patent grant language. GPL family for copyleft. The generator includes a comparison chart.
What’s the difference between MIT and Apache 2.0?+
Both are permissive (let others use, modify, redistribute commercially). Apache 2.0 adds explicit patent grant, NOTICE file requirement, and contribution clauses. MIT is shorter and simpler; Apache is more legally explicit.
Can I dual-license my project?+
Not in one step: the generator writes one licence at a time. For a dual licence such as MIT or Apache-2.0, generate each text, save them as LICENSE-MIT and LICENSE-APACHE, and add a sentence to your README saying users may choose either.
Does the license need to match in package.json?+
Yes. Set the "license" field in package.json (or equivalent for your language) to the SPDX identifier (e.g., "MIT", "Apache-2.0"). Mismatches confuse downstream consumers and license-detection tools.

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service