Licence Chooser
Compares common open-source licences by obligation and compatibility and emits the LICENSE file.
Compares the common open-source licences side by side — what each permits, requires and limits — and produces the licence text with your name and year filled in. The comparison data and the texts are choosealicense.com’s, unedited.
Compare
| Licence | Permissions | Conditions | Limitations |
|---|---|---|---|
| MIT |
|
|
|
| Apache-2.0 |
|
|
|
| GPL-3.0 |
|
|
|
| LGPL-3.0 |
|
|
|
| AGPL-3.0 |
|
|
|
| MPL-2.0 |
|
|
|
| BSD-2-Clause |
|
|
|
| BSD-3-Clause |
|
|
|
| ISC |
|
|
|
| Unlicense |
| none |
|
Comparison data and texts from github/choosealicense.com@d6277c04899c (choosealicense.com). A comparison aid, not legal advice.
MIT License
A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
How to use it
Read the comparison table
Three columns: what you may do, what you must do, and what is not granted. The rough shape of the field is MIT/BSD/ISC asking almost nothing, Apache-2.0 adding a patent grant, and the GPL family requiring the same licence downstream.
Click a row to see its text
The full licence text appears below with a short description of what it is for.
Fill in the year and holder
Only some licences have those fields. Where they do not, the copyright notice belongs in your source files or README instead, and the page says so.
Save it as LICENSE
A file named `LICENSE` at the repository root is what GitHub, npm and most scanners look for.
Common questions
Is this legal advice?
No. It is a comparison aid built on choosealicense.com’s summaries, and those summaries are themselves approximations. When real money or a real dispute is involved, ask a lawyer rather than a web page.
What is the difference between GPL and AGPL?
The AGPL closes the network gap: under the GPL, running modified software as a hosted service is not distribution and triggers no obligation to share source. The AGPL makes network use count. That single difference is why some companies ban it outright.
Can I change licence later?
For code you wrote alone, yes — though anyone who already received it under the old terms keeps them. Once other people have contributed, you need their agreement, which is why relicensing an established project is usually a months-long piece of admin.
What if I do not add a licence at all?
Then default copyright applies and nobody has permission to use, copy or modify your code — public on GitHub or not. "No licence" is the most restrictive option, not the most permissive one.
Feed it from
Next
These accept what this tool produces, so the result can go straight in.
.gitignore Generator
Builds a .gitignore by combining language, framework and editor templates, with duplicates merged.
Semver Range Tester
Checks which versions satisfy a range, compares two versions and sorts a list in precedence order.
Base64 Encoder & Decoder
Encodes and decodes Base64 and Base64URL for text or files, handling UTF-8 correctly.
curl to Code
Converts a curl command into fetch, axios, Python requests, Go, PHP or PowerShell.
Text Hash
Computes MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 of a string, with an uppercase and Base64 output option.
JSON ⇄ CSV
Flattens nested JSON into columns or rebuilds objects from a table, with a dot-path column naming rule.