Open Data Licenses

Open government data is published under various licenses that define how the data can be used, shared, and redistributed. Understanding these licenses is essential for building applications, combining datasets from multiple sources, and ensuring legal compliance.

License Comparison

LicenseAttribution RequiredShare-AlikeCommercial UseDerivative WorksUsed By
CC0NoNoYesYesWorld Bank
CC-BY 4.0Yes (credit to source, link to license, indicate changes)NoYesYesAustralia (data.gov.au)
CC-BY-SA 4.0YesYes (same or compatible license)YesYes (under same license)OpenStreetMap (transitioned from ODbL for some layers)
ODbL 1.0YesYes (for derivative databases)YesYes (database must remain ODbL; produced works can use any license)OpenStreetMap (primary database)
OGL v3.0Yes (acknowledge source, provide link to license where possible)NoYesYesUK government (data.gov.uk)
OGL-CanadaYes (acknowledge Government of Canada as source)NoYesYesGovernment of Canada (open.canada.ca)
Public DomainNo (courtesy attribution appreciated but not legally required)NoYesYesAll US federal agencies (Census

License Details

CC0 1.0 (Public Domain Dedication)

View full text

Waives all copyright and related rights. Data can be used for any purpose without attribution or restriction. The most permissive open data license.

Attribution:No
Share-Alike:No
Used By:World Bank, many EU datasets, Wikidata, Data.gov (recommended)
Compatibility:Compatible with all other licenses. Can be combined freely.

Creative Commons Attribution 4.0 (CC-BY 4.0)

View full text

Permits any use (including commercial) as long as appropriate credit is given to the original source. The most widely used open data license requiring attribution.

Attribution:Yes (credit to source, link to license, indicate changes)
Share-Alike:No
Used By:Australia (data.gov.au), many EU member states, World Bank (alternative), OECD
Compatibility:Compatible with CC0, CC-BY-SA 4.0. One-way compatible with ODbL (ODbL output can use CC-BY).

Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA 4.0)

View full text

Requires attribution and that derivative works be shared under the same or compatible license. Creates a copyleft obligation on derived datasets.

Attribution:Yes
Share-Alike:Yes (same or compatible license)
Used By:OpenStreetMap (transitioned from ODbL for some layers), Wikipedia/Wikidata text
Compatibility:Compatible with CC-BY 4.0 inputs. Not compatible with CC0 output (must remain CC-BY-SA).

Open Data Commons Open Database License (ODbL 1.0)

View full text

Database-specific copyleft license. Requires attribution, share-alike for derivative databases, and that any technical restrictions (DRM) be accompanied by an open version.

Attribution:Yes
Share-Alike:Yes (for derivative databases)
Used By:OpenStreetMap (primary database), some European municipal data
Compatibility:Not directly compatible with CC licenses. Produced works from ODbL databases can be released under any license.

UK Open Government Licence v3.0 (OGL)

View full text

UK government license for Crown copyright data. Permits commercial and non-commercial use with attribution. Designed to be compatible with CC-BY 4.0.

Attribution:Yes (acknowledge source, provide link to license where possible)
Share-Alike:No
Used By:UK government (data.gov.uk), Ordnance Survey Open Data, NHS Digital (some datasets)
Compatibility:Designed to be interoperable with CC-BY 4.0. Data under OGL can generally be combined with CC-BY data.

Open Government Licence - Canada

View full text

Canadian federal government open data license. Similar to UK OGL. Permits reproduction, distribution, and commercial use with attribution to the Government of Canada.

Attribution:Yes (acknowledge Government of Canada as source)
Share-Alike:No
Used By:Government of Canada (open.canada.ca), Statistics Canada
Compatibility:Compatible with CC-BY 4.0 in practice.

US Public Domain

View full text

Works produced by the US federal government are not subject to copyright protection under 17 U.S.C. Section 105. No license is needed; data is in the public domain by law.

Attribution:No (courtesy attribution appreciated but not legally required)
Share-Alike:No
Used By:All US federal agencies (Census, BLS, BEA, EPA, NOAA, USDA, etc.)
Compatibility:Universally compatible. No restrictions of any kind on US federal government works.

Practical License Guidance

Combining datasets from multiple sources

When merging data from different portals, the most restrictive license applies to the combined dataset. CC0 and public domain data can be combined with anything. CC-BY data combined with ODbL data must comply with both attribution and ODbL share-alike requirements.

When no license is specified

If a government dataset has no explicit license, do not assume it is public domain (unless it is US federal data, which is public domain by law). Contact the publishing agency to clarify terms before commercial use.

Attribution best practices

Even when attribution is not legally required (CC0, US public domain), providing source attribution is good practice. It builds trust, helps data provenance tracking, and acknowledges the effort of data publishers.