Skip to content

A free and open database of all the licenses, in particular all the open source software licenses

Notifications You must be signed in to change notification settings


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation

ScanCode LicenseDB

LicenseDB is likely the largest collection of software licenses available on Earth and maybe beyond.

LicenseDB is a free and open database of mostly all the software licenses, in particular all the open-source software licenses, with over 2000 curated licenses texts and their metadata.

LicenseDB is built from the ScanCode Toolkit license dataset. ScanCode Toolkit is a leading open source code scanner and license detection engine.

LicenseDB is an essential reference license resource for license compliance and SBOMs. LicenseDB includes all the SPDX and OSI licenses together with an extended curated collection of other licenses and license metadata. These licenses are carefully reviewed and curated and continusouly updated by an open community of contributors.

LicenseDB is available as a web site, an JSON or YAML API and a git repository making it easy to reuse and integrate in tools that need a database of reference software licenses.


The web site is published at: You can search the licenses by name, key and other attributes.

This is updated daily by a GitHub action with updates from scancode-toolkit develop, if any.


The index is available at either:

The index contains a list of the license keys with key metadata and links to the license details and texts using this license key as an identifier:

This index and the static website is also available offline with ScanCode Toolkit as a console script available at configure/install. Sample command:

scancode-license-data --path PATH


This git repository contains the full history of the generated HTML and JSON API documents:

This git repository contains the original and editable source files:



To re/generate the HTML and API content run the following script:

$ ./etc/scripts/


SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0 Copyright (c) nexB Inc. and others. ScanCode is a trademark of nexB Inc.

ScanCode LicenseDB data is licensed under the Creative Commons Attribution License 4.0 (CC-BY-4.0). Some licenses, such as the GNU GENERAL PUBLIC LICENSE, are subject to other licenses. See the corresponding license text for the specific license conditions.

ScanCode LicenseDB software is licensed under the Apache License version 2.0. You may not use this software except in compliance with the License. You may obtain a copy of the License at: Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

ScanCode LicenseDB is generated with ScanCode Toolkit. The database and its contents are provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content from ScanCode LicenseDB should be considered or used as legal advice. Consult an attorney for any legal advice.

Visit for support.

ScanCode Toolkit is a free Software Composition Analysis tool from nexB Inc. and others. Visit for support and download.