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:
| Licence | Tool words | SPDX words | What is missing |
|---|---|---|---|
| MIT | 170 | 169 | Only <year> <copyright holders> replaced |
| ISC | 118 | 116 | Only <year> <owner> replaced |
| BSD 3-Clause | 222 | 220 | Only <year> <owner> replaced |
| Apache 2.0 | 1,580 | 1,581 | Only [yyyy] [name of copyright owner] in the appendix replaced |
| GPL 3.0 | 5,644 | 5,644 | None: identical (your name goes in the separate source-file notice) |
- Ship the whole text. Apache 2.0 §4 and GPL 3 §4 both require giving recipients a copy of the licence, and the MIT, ISC and BSD warranty disclaimers are what protect you as the author, so keep every paragraph. Paragraph breaks follow the SPDX files (one line per paragraph); rewrapping lines does not change the licence.
- Where the copyright line goes. MIT, ISC and BSD put it at the top of the licence. Apache 2.0 puts it in the appendix boilerplate, which is also what you paste (in comment form) at the top of source files. GPL 3.0 has no place for it in the licence: use the source-file notice, and replace its first line with your program's name and purpose.
- Five licences are offered. MIT, ISC, Apache 2.0, BSD 3-Clause and GPL 3.0. Mozilla Public License and Creative Commons licences are not included, and there is no question-based recommendation.
- Match the SPDX identifier. Use the same licence in
package.json("license": "MIT"),Cargo.tomlorpyproject.tomlso scanners and registries report it correctly. - Not legal advice. Licence choice affects patents, contributions and relicensing; ask a lawyer for commercial projects.
Sources
Checked on .
- SPDX License List and license-list-data (canonical licence texts)
- spdx/license-list-data 3.29.0 (CC0-1.0): the text files this tool ships
- choosealicense.com (GitHub): licence texts and comparisons
- Apache License 2.0, section 4 (Redistribution)
- GNU General Public License v3.0, section 4 (Conveying Verbatim Copies)
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools