devpocket.dev

Open Source License Generator

Choose an open source license and generate a complete LICENSE file with SPDX snippets.

Runs locally
Loading tool…

How to use

Choose a license, enter the copyright year and one or more holders, and optionally enable a year range. Add the project name for GNU source-file notices. The LICENSE text updates locally as you type. Copy it or download it as LICENSE, then use the displayed SPDX identifier in package.json. The comparison table is a quick orientation only; read the complete terms before publishing your project.

FAQ

How do I choose an open source license?

Start with the obligations you can accept: permissive licenses impose few reuse conditions, MPL applies copyleft at file level, and GPL or AGPL require broader source sharing in covered cases.

What is the difference between MIT and Apache 2.0?

Both are permissive. Apache 2.0 includes an explicit patent grant and additional notice and change-marking terms; MIT is shorter and does not state an explicit patent grant.

When does AGPL differ from GPL?

AGPL adds a remote-network interaction condition: operators of a modified network program must offer its corresponding source to remote users as described in section 13.

Does the generator upload project details?

No. License generation, comparison, copying, and file download all happen in your browser without network requests.

Related tools