Software License Generator

Create a LICENSE file for your project: MIT, Apache 2.0, GPL v3, LGPL, AGPL, MPL 2.0, BSD, ISC, Unlicense, CC0 and more – official texts with your name and year.

Tool

Was this tool useful?

About this tool

About Software License Generator

Add a proper licence to your code, library or content in seconds. Choose from 15 common licences with a short plain-English summary of each, enter the copyright holder and year, and download a LICENSE file with the official text from the SPDX licence list. You also get the SPDX header for source files and the line for package.json, composer.json or pyproject.toml.

How it works

Texts come from the SPDX License List; placeholders such as <year> and <copyright holders> are filled in.

Example

MIT, “Copyright (c) 2026 Ayesha Khan” → a ready LICENSE file plus “SPDX-License-Identifier: MIT”.

How to use this tool

  1. Choose the licence.
  2. Enter the copyright holder, year and project name.
  3. Download the LICENSE file and add the SPDX line.

Frequently asked questions

Which licence should I choose?

MIT or Apache-2.0 if anyone may use your code freely (Apache adds a patent grant); GPL if changes must stay open; AGPL if that should also apply to web services; CC licences for content, not code.

Is this legal advice?

No – for commercial or company projects, check with a lawyer.

Is my data uploaded?

No. Everything is processed in your browser and stays on your device.

Does the Software License Generator send my data to a server?

No. The Software License Generator runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.