LicensePlain 中文 visits —
Plain-language licence reference

Which licence fits your code?

Eighteen licences, explained the same way every time: what it lets you do, what it makes you do, and the one thing people get wrong. No account, no paywall, and the tables work without JavaScript.

The eighteen

Every card opens the same shape of answer, so two licences can be read side by side.

Apache License 2.0

Permissive

MIT plus an explicit patent grant a NOTICE-file convention and a rule that modified files must be marked.

YesNothing

BSD 2-Clause License

Permissive

MIT in different words: keep the notice and the disclaimer and do what you like with the code.

YesNothing

BSD 3-Clause License

Permissive

BSD-2 plus a no-endorsement clause: you may not use the authors' names to promote your fork.

YesNothing

ISC License

Permissive

MIT and BSD-2 collapsed into two sentences — functionally the same permissions.

YesNothing

MIT License

Permissive

The shortest licence people actually read: keep the copyright line and you can do almost anything else with the code — including shipping it inside a closed product.

YesNothing

zlib License

Permissive

A short permissive licence that also forbids removing the origin notice and requires altered versions to be marked as altered.

YesNothing

Eclipse Public License 2.0

Weak copyleft

Module-level copyleft with a patent grant and a commercial-friendly linking story. Its secondary-licence option can allow GPL distribution in some configurations, but the FSF still treats EPL-2.0 as incompatible with the GPL.

YesDistribution

GNU LGPL v2.1

Weak copyleft

Weak copyleft for libraries: you can link it into a closed application as long as users can replace the library.

YesDistribution

GNU LGPL v3.0

Weak copyleft

LGPL v2.1 rewritten on top of GPLv3 — same linking allowance plus patent terms and a route to convert to GPLv3.

YesDistribution

Mozilla Public License 2.0

Weak copyleft

File-level copyleft: files you modify must stay MPL while the rest of your project can be licensed however you want.

YesDistribution

GNU AGPL v3.0

Strong copyleft

GPLv3 plus section 13: if users interact with your modified version over a network you must offer them the source.

YesNetwork use

GNU GPL v2.0

Strong copyleft

You may sell software under it but if you distribute a derivative work you must hand recipients the source under the same licence.

YesDistribution

GNU GPL v3.0

Strong copyleft

Same copyleft as v2 plus an explicit patent grant user-protection against locked firmware and compatibility with Apache-2.0.

YesDistribution

CC0 1.0 Universal

Public domain

Creole's public-domain dedication written for data and content but also used for code.

YesNothing

The Unlicense

Public domain

A public-domain dedication: the author gives up copyright interest so the code can be used with no conditions at all.

YesNothing

Business Source License 1.1

Source available

Source-available: you get the code but production use is limited until the change date (at most four years) when it converts to an open licence.

PartlyNothing

Elastic License 2.0

Source available

Source-available: you may use copy modify and distribute it but not provide it to others as a managed service.

PartlyNothing

Server Side Public License v1

Source available

Source-available with a service clause: offering it as a service means releasing the entire service stack not just the program.

PartlyNetwork use

See all licences in a table


Where the trouble starts

Three failure modes account for most of the licence questions people actually ask.

Apache-2.0 into GPL-2.0

The one compatibility answer that surprises people: two permissive-looking projects that cannot be merged, because Apache's patent and indemnity terms count as extra restrictions under GPL-2.0.

Read the comparison

The AGPL network trigger

No distribution required. If outside users talk to your modified version over a network, section 13 asks you for the source — and a download link is enough.

What AGPL requires

“Open source” on the tin

BUSL, SSPL and Elastic-2.0 ship their source and are still not open source. The distinction matters the moment a procurement form asks the question.

Source-available explained

Reading a licence in five minutes

  1. Find the outbound licence.The LICENSE file, or the license field in package.json / pyproject.toml. If the file is missing, the code is all rights reserved by default — not public.
  2. Decide what you are doing with it.Linking, copying, modifying and serving are four different questions, and copyleft answers them differently.
  3. Check the disclosure clause.“Nothing”, “distribution” or “network” is the single line that decides whether your build pipeline needs to publish source.
  4. Check the patent and trademark clauses.Only some licences grant patents. None of the common ones grant trademarks.

Still stuck between two? The chooser asks four questions and names one licence; the compatibility matrix answers the “can I mix these” question with a one-way table.

Questions

Is every licence on this site open source?

No. 14 of the 18 carry OSI approval. BUSL-1.1, SSPL-1.0 and Elastic-2.0 are source-available rather than open source, and CC0 is a public-domain dedication that OSI has never approved.

Can I use MIT code in a GPL-3.0 project?

Yes. Permissive code can move into a copyleft project, and the combined work goes out under GPL-3.0. The reverse is not true.

Do I need a lawyer to pick a licence for my own project?

Not for the common cases. Pick MIT or Apache-2.0 for libraries you want adopted widely, and read the obligations page once so you can answer the question later.

What if a repository has no licence file?

Then you have no permission to copy, modify or redistribute it. Public visibility is not a licence.

Does AGPL apply to internal tools?

Section 13 is triggered by users interacting over a network. An internal tool used only by your own staff normally is not, but that is a fact-specific call.