License Generator
Generate the exact text of a MIT, Apache 2.0, GPL 3.0, BSD 3-Clause, or ISC license with your name and year filled in. Runs entirely in your browser.
License
Short and permissive: do almost anything with the code, just preserve the copyright notice.
Permissions
- Commercial use
- Modification
- Distribution
- Private use
Conditions
- License and copyright notice
Limitations
- Liability
- Warranty
Common Use Cases
About License Generator
Every open-source (and most closed-source) codebase needs a LICENSE file that spells out, in the license's own exact legal wording, what other people are allowed to do with the code. Getting that wording right matters: tools like GitHub's license detector, package registries, and dependency-scanning software match against the license's official text, not a paraphrase, so a hand-typed or subtly-reworded license can fail to be recognized even if the intent is identical.
This generator bundles the verbatim, official text of five of the most common open-source licenses: the MIT License, the Apache License 2.0, the GNU General Public License v3.0 (GPL-3.0), the BSD 3-Clause "New" License, and the ISC License. Pick a license from the dropdown to see a short summary of what it permits, requires, and limits, then fill in your name (or your organization's) and the year, and the generator fills those into the license's own copyright line the moment you type, everywhere that license expects them, leaving the rest of the legal text completely untouched.
Each license has different permissions, conditions, and limitations. MIT, BSD 3-Clause, and ISC are short, permissive licenses that mainly just require keeping the copyright notice intact. Apache 2.0 is also permissive but adds an explicit patent grant from contributors and a requirement to document changes. GPL-3.0 is a strong "copyleft" license: anyone who distributes a modified version of your code has to release their source under the same license too. The summary panel next to the picker is there to help you compare them at a glance, not to replace reading the actual license or asking a lawyer if the choice matters for your project.
Once you're happy with the result, copy it to your clipboard or download it directly as a file named "LICENSE", the exact filename GitHub, GitLab, and most package registries look for at the root of a repository. Everything is assembled with plain JavaScript running in your browser tab; nothing you type is ever uploaded to a server, logged, or stored.
Frequently Asked Questions
Which license should I pick?
Is the license text exactly the official wording?
What should I name the downloaded file?
Can I use a company name instead of a person's name?
Is anything I type here sent anywhere?
Related Tools
View all Generators.gitignore Generator
Build a merged, deduped .gitignore by checking off any combination of language, editor, and OS templates (Node, Python, VS Code, macOS, and more).
.htaccess Generator
Assemble a working Apache .htaccess file by checking off common recipes: force HTTPS, www redirects, gzip compression, browser caching, and a custom 404 page.
robots.txt Generator
Build a robots.txt file with per-bot allow/disallow rules, a sitemap URL, and one-click presets for Googlebot, GPTBot, and other common crawlers.