LICENSE Generator.
Create a LICENSE file with the verbatim text of MIT, Apache-2.0, BSD, ISC, MPL-2.0, 0BSD or the Unlicense.
Runs in your browserAbout LICENSE Generator
LICENSE Generator gives you the exact text of a popular open source license as a LICENSE file, with your copyright line filled in. Choose MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD, MPL-2.0 or the Unlicense, enter the copyright holder and year, and download the file into the root of your repository, where GitHub, GitLab and package registries detect it automatically. The texts are reproduced verbatim from the official license files (only line wrapping may differ), never paraphrased, because a reworded license is a different and untested legal document. Short permissive licenses (MIT, BSD, ISC, 0BSD) carry a copyright line that the tool completes, for example "Copyright (c) 2026 Jane Doe". Apache-2.0, MPL-2.0 and the Unlicense have no copyright line in the license text itself and are reproduced unchanged; for Apache-2.0 you add the short boilerplate notice from its appendix to your source files or a NOTICE file. Typical mistakes: editing the license wording, forgetting to also declare the license in package.json or composer.json with its SPDX identifier, using a year range that never gets updated, and naming an individual when the code belongs to an employer. Only the licenses whose official text could be included verbatim are offered; GPL family licenses are not included here. This tool is not legal advice, so ask a lawyer when the choice matters for your business.
How to Use
- Pick a license and enter the copyright holder and year.
- Check the summary and download the LICENSE file.
- Commit it to the repository root and set the same SPDX id in your package manifest.
Frequently Asked Questions
Is the license text exact?
Yes. Each text is copied from an official license file; only the copyright placeholder is filled in and line breaks may differ from other copies.
Which license should I choose?
MIT and ISC are short and permissive; Apache-2.0 adds an explicit patent grant; MPL-2.0 requires changes to licensed files to stay open; 0BSD and the Unlicense impose almost no conditions. This is general information, not legal advice.
Why is the GPL not offered?
Only licenses whose official text is reproduced verbatim are included. Get GPL texts from gnu.org.
Is anything sent to a server?
No. The file is created in your browser.
Related Tools
Fill in a short form and get a clean README.md with badges, features, installation, usage and license sections.
Combine .gitignore templates for languages, frameworks, editors and operating systems into one file.
Build a Conventional Commits message with scope, body, breaking change and footers, plus the git command.
Render Markdown to HTML with live preview.
Generate UUID v4, UUID v7, and ULID identifiers.
Generate secure, random passwords with entropy info.