Public domain / no conditions

Creative Commons Zero v1.0 Universal

A declaration waiving copyright and related rights to the maximum extent permitted by law. Widely used for data and documents, but patent rights are excluded from the waiver.

SPDXCC0-1.0

Permissions, conditions and limitations at a glance

Permissions

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

Conditions

  • None

Limitations

  • LiabilityExpressly states that there is no liability for damages.
  • Trademark useExpressly states that no trademark rights are granted.
  • Patent useExpressly states that contributors' patent rights are not granted.
  • 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?

CC0 1.0 is a public domain dedication tool released by Creative Commons (CC) in 2009. Strictly speaking, it is less a license than a waiver. The affirmer permanently waives copyright and related rights, such as neighboring rights and database rights, to the extent permitted by law (Section 2). Where the waiver is legally invalid, it grants an unconditional, royalty-free license instead (Section 3). It is widely used for datasets, documents, icons and example code.

Conditions

None. It does not even require attribution (though in academia citation is recommended as a courtesy).

What to know when using it for code

Common misconceptions

How to apply it

Put the text in LICENSE and state in the README that CC0 applies. CC also describes attaching a short notice to each file (e.g. SPDX-License-Identifier: CC0-1.0). The SPDX identifier is CC0-1.0.

When it fits

It is best suited to material you want anyone to reuse without restriction, such as public datasets, schema and configuration examples, documentation and tutorial code. For software with patent risk, 0BSD or Apache-2.0 may be a safer choice.

Can CC0-1.0 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.