Public domain / no conditions

BSD Zero Clause License

A permissive license close to public domain that does not even require a copyright or license notice.

SPDX0BSD

Permissions, conditions and limitations at a glance

Permissions

  • Commercial useThe software and derivatives may be used for commercial purposes.
  • DistributionThe software may be distributed.
  • ModificationThe software may be modified.
  • Private useThe software may be used and modified privately without publishing it.

Conditions

  • None

Limitations

  • LiabilityExpressly states that there is no liability for damages.
  • WarrantyExpressly states that no warranty is provided.

Permissions, conditions and limitations are classified using data from choosealicense.com (GitHub, MIT License).

What kind of license is it?

Despite its name, 0BSD is not derived from BSD but from the ISC text, with the condition that "the above copyright notice and this permission notice appear in all copies" removed. Because it has zero conditional clauses, it is called "Zero Clause". It is an OSI-approved license, and Microsoft's TypeScript runtime helper library tslib uses 0BSD.

Conditions

None. It permits use, copying, modification and distribution for any purpose, with no obligation to keep a copyright notice or permission notice. It only contains a warranty and liability disclaimer.

How it differs from the Unlicense and CC0

Common misconceptions

How to apply it

Put the text in LICENSE and fill in [year] and [fullname]. Because there is no notice requirement you may delete the copyright line, but many keep it as a record. The SPDX identifier is 0BSD.

When it fits

It suits code meant to be copied, such as snippets, examples and templates, and small helper libraries bundled into runtimes where requiring a notice in every app would be impractical.

Can 0BSD code go into another project?

General verdicts for taking code released under this license and distributing it combined into a project under each license below. See other combinations in the compatibility checker →

Target projectVerdictNotes
Proprietary (closed-source) software AllowedThis license has no notice requirement, so the code can go anywhere.
MIT AllowedThis license has no notice requirement, so the code can go anywhere.
Apache-2.0 AllowedThis license has no notice requirement, so the code can go anywhere.
MPL-2.0 AllowedThis license has no notice requirement, so the code can go anywhere.
LGPL-2.1 AllowedThis license has no notice requirement, so the code can go anywhere.
LGPL-3.0 AllowedThis license has no notice requirement, so the code can go anywhere.
GPL-2.0 AllowedThis license has no notice requirement, so the code can go anywhere.
GPL-3.0 AllowedThis license has no notice requirement, so the code can go anywhere.
AGPL-3.0 AllowedThis license has no notice requirement, so the code can go anywhere.

The content on this site is general information, not legal advice. For actual distribution, contracts or disputes, consult a lawyer or other qualified professional.