Open source licence generator
Get the text of the MIT, BSD, ISC, Apache-2.0 or Unlicense licence with your year and name filled in.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/license-generate \
-H 'Content-Type: application/json' \
-d '{"input":{"license":"ISC","holder":"Sam Rivera","year":2026}}'
import json, urllib.request
body = {'input': {'license': 'ISC', 'holder': 'Sam Rivera', 'year': 2026}}
request = urllib.request.Request("https://setget.net/v1/tools/license-generate", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/license-generate", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"license":"ISC","holder":"Sam Rivera","year":2026}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "license-generate",
"input": {
"license": "ISC",
"holder": "Sam Rivera",
"year": 2026
}
}
{
"input": {
"license": "ISC",
"holder": "Sam Rivera",
"year": 2026
}
}
Endpoint: POST /v1/tools/license-generate. Over MCP: run_tool with slug: "license-generate".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
license |
string | no | The licence, by its SPDX name. Apache-2.0 returns the short notice, not the full licence text. One of: MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0, Unlicense. Default: "MIT". |
holder |
string | no | Copyright holder: your name or organisation. Not needed for the Unlicense. |
year |
integer | no | Copyright year, usually the year of first publication. Not needed for the Unlicense. From 1900 to 2200. |
Examples
Input
{
"license": "ISC",
"holder": "Sam Rivera",
"year": 2026
}Result
{
"text": "ISC License\n\nCopyright (c) 2026 Sam Rivera\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n",
"license": "ISC",
"filename": "LICENSE",
"complete": true
}MIT
Input
{
"license": "MIT",
"holder": "Example Ltd",
"year": 2026
}Result
Different every time. Press the example button above to see one.
Public domain dedication; no name needed
Input
{
"license": "Unlicense"
}Result
Different every time. Press the example button above to see one.
Questions
- Which licence should I pick?
- MIT and ISC are short and permissive. BSD-3-Clause adds a rule against using your name for endorsement. Apache-2.0 adds a patent grant. The Unlicense gives the work to the public domain. This is not legal advice.
- Why is the year not filled in for me?
- The tool gives the same answer for the same input, so it never reads the clock. Enter the year.
- Why is Apache-2.0 not the full text?
- The full licence is about 11,000 characters and must be copied exactly, so the tool returns the official short notice and tells you where to download the full text.
Related tools
- .gitignore generatorBuild a .gitignore for the languages, editors and operating systems you use, merged without duplicates.
gitignore-generate - robots.txt generatorBuild a robots.txt: allow or block all crawlers, add your own rules, block AI crawlers and list sitemaps.
robots-txt-generate - ASCII banner text generatorTurn short text into large five-line banner letters for terminals, READMEs, logs and code comments.
ascii-banner - ASCII table generatorRender headers and rows as a box-drawing or plain ASCII table for terminals, logs and code comments.
ascii-table - Background pattern generatorMake seamless SVG background patterns (dots, grid, stripes, checker or waves) with your colours and scale.
pattern-image - Barcode generatorMake a Code 128, EAN-13 or UPC-A barcode as SVG, with the check digit worked out or verified for you.
barcode-generate