Glossary

Dataset licensing: open data licences compared

Dataset licensing decides whether you may use, share or sell work built on a public dataset, and on what conditions.

By

Updated

Definition

Dataset licensing is the permission a dataset's rights holder grants to everyone who receives it, usually through a standard open licence such as CC BY, CC0, ODbL or CDLA, setting whether commercial use, credit and share-alike apply.

What dataset licensing covers

One licence for every user

When a dataset is published on a portal, a research site or a repository such as Hugging Face, it usually carries a standard licence. That licence is a one-to-many permission: anyone who downloads the data gets the same terms, without signing anything or talking to the owner.

One licence, every user: open dataset licensing has no negotiation step.

Open licence or negotiated contract

This page is about those public licences. Our entry on data licensing covers the other meaning: a negotiated contract between one seller and one buyer. Brokers deal mostly in that kind, but meet open licences constantly inside sellers' datasets.

Open dataset licences compared

Compiled by DataBroker from each licence's legal text (section numbers in brackets) and Creative Commons' AI training guidance. Checked 2026-11-09. A summary, not legal advice.
LicenceCommercial useCredit requiredShare-alikeTrained models and results
CC BY 4.0Yes (s. 2(a))Yes: creator, licence link, note changes (s. 3(a))NoLicence applies only where copyright permission is needed, per Creative Commons
CC BY-SA 4.0YesYes (s. 3(a))Yes: shared adaptations under BY-SA or a compatible licence (s. 3(b))Creative Commons says shared models or outputs based on SA content would need the same licence
CC BY-NC 4.0No: only uses not primarily for commercial advantage (s. 1(i))Yes (s. 3(a))NoEvery stage, training included, must avoid commercial gain
CC0 1.0Yes: rights waived for any purposeNoNoNo conditions; patent and trademark rights not waived
ODbL 1.0Yes, stated explicitly (s. 3.1)Yes, including a notice on publicly used produced works (s. 4.3)Yes: publicly used derivative databases (s. 4.4)A produced work isn't a derivative database (s. 4.5b), but needs the notice
ODC-By 1.0Yes, stated explicitly (s. 3.1)Yes (s. 4.2, 4.3)NoProduced works need only the attribution notice
CDLA-Permissive 2.0YesShare the licence text with the data (s. 2.1)NoNo restrictions on results, machine learning models included (s. 3.1)
CDLA-Sharing 1.0Yes: no added limits on commercial use (s. 3.3)Yes: keep provider attribution (s. 3.1(c))Yes: published data and enhanced data under the same agreement (s. 3.1(a))No obligations on results (s. 3.5)
Fewest conditions on the left, most on the right, from the table above.

ODbL vs CC BY

What each one protects

CC BY is a general licence for any copyrighted material, and its section 4 also licenses database rights where they exist. The ODbL is written for databases only: it covers the database's structure and database rights, and section 2.4 says it does not cover the individual contents, which may have their own licences.

Where they differ in practice

CC BY asks for credit and nothing more. The ODbL adds share-alike: a derivative database you use publicly must stay under the ODbL, and you must offer a copy of it or of your changes (s. 4.6). Internal use inside an organisation isn't public use (s. 4.5c).

ODbL sections 4.4 and 4.6. Internal use doesn't start this chain.

So the usual answer to ODbL vs CC BY: CC BY is easier to build a commercial product on, while the ODbL keeps improvements to the database itself open. Neither stops you charging for a product or a map made from the data.

The Community Data License Agreement

Written for data

The Community Data License Agreement (CDLA) family was written for data rather than adapted from content licences, and it speaks directly about computational results.

CDLA-Permissive 2.0

CDLA permissive terms are short: use, modify and share the data, and pass the licence text along when you share it. Section 3.1 imposes no restriction on results, which section 5.4 defines to include machine learning models.

CDLA-Permissive 2.0 s. 3.1 and CDLA-Sharing 1.0 s. 3.5.

CDLA-Sharing 1.0

The sharing version adds share-alike for the data: if you publish the data or an enhanced version, it goes out under the same agreement with attribution kept. Results of computational use stay free of obligations (s. 3.5).

Dataset licensing and usage rights for AI training

Creative Commons' own guidance is that its licences apply only when copyright permission is needed. If a use falls under fair use or another exception, the licence terms don't apply. Where they do apply, attribution can be as light as a link to the dataset.

Creative Commons' guidance on CC-licensed works and AI training.

Five checks before training

  1. 1

    Find every licence

    Check the dataset card, the files and any terms of use on the site that hosts the data. Mixed datasets often carry several.

  2. 2

    Check commercial use

    Non-commercial terms such as CC BY-NC rule out training a model you sell, according to Creative Commons' guidance.

  3. 3

    Check share-alike

    BY-SA, ODbL and CDLA-Sharing can require you to release derived data, and in BY-SA's case possibly models, under the same licence.

  4. 4

    Check the contents separately

    Database licences such as the ODbL and ODC-By don't license the individual items inside the database.

  5. 5

    Check for personal data

    No copyright licence settles privacy law. Names, emails or images of people need their own lawful basis.

What an open licence doesn't settle

Four gaps

  • Whether the publisher had the right to license the data at all. CC0, the CC licences and the CDLA all come without warranties.
  • Privacy. A dataset of people's records is still personal data, whatever its copyright licence says.
  • Platform terms. A site's terms of use can limit scraping or bulk download separately from the dataset licence.
  • Exclusivity. Open data can't be sold as exclusive, which is why buyers pay for proprietary data instead.

For a broker, the point is practical: a seller's dataset built partly on open data may carry share-alike or non-commercial terms that pass to the buyer. Trace them in the rights check, next to data ownership. For code, use our open-source licence checker.

Sources

9 sources · checked Nov 9, 2026

  1. Creative Commons: CC BY 4.0 legal codeGrant, attribution, database rights, no added restrictions · Checked
  2. Creative Commons: CC BY-SA 4.0 legal codeShareAlike section 3(b) and database rights · Checked
  3. Creative Commons: CC BY-NC 4.0 legal codeNonCommercial definition and limits · Checked
  4. Creative Commons: CC0 1.0 legal codeWaiver, fallback licence, patents and trademarks, no warranties · Checked
  5. Creative Commons: Using CC-licensed works for AI trainingWhen CC terms apply to training; BY, SA, NC and ND in training · Checked
  6. Open Data Commons: ODbL 1.0Scope, commercial use, attribution, share-alike, produced works · Checked
  7. Open Data Commons: ODC-By 1.0Commercial use, attribution, scope · Checked
  8. CDLA-Permissive 2.0Sharing condition, results, warranty · Checked
  9. CDLA-Sharing 1.0Share-alike, results, commercial use · Checked

Dataset licensing FAQ

Can I use a CC BY dataset commercially?

Yes. CC BY 4.0 has no non-commercial limit. Credit the creator, link the licence, say if you changed the data, and add no terms that restrict others.

What is the difference between ODbL and CC BY?

CC BY asks only for credit. The ODbL also requires share-alike for derivative databases you use publicly, and it covers the database rather than its individual contents.

Can I train an AI model on CDLA-Permissive data?

CDLA-Permissive 2.0 places no restrictions on results, and it names machine learning models as results. You still have to pass the licence text along if you share the data itself.

Can I sell a dataset licensed under CC0?

CC0 waives copyright and database rights for any purpose, commercial included. But anyone can get the same data free, so buyers pay only for what you add, such as cleaning or labels.

Does an open licence mean the data is free of personal information?

No. A copyright licence says nothing about privacy law. Data that identifies people needs a lawful basis whatever its licence.

Related

  • Data licensing

    Data licensing lets a buyer use a dataset under written conditions while the seller keeps control, which is how most data deals are structured.

  • Dataset

    What is a dataset, beyond a big file? Records, a schema, metadata, documentation and the rights to use them.

  • Open source license checker

    An open source license checker for a whole repository: it finds every licence it can and flags those to review before selling the code.

  • Hugging Face datasets alternatives for AI teams

    Hugging Face datasets alternatives come in two kinds: other free hubs and loaders, and licensed sources that sell clear commercial rights.

  • Data ownership

    Data ownership is about who can lawfully control, use and license a dataset, which matters far more in a deal than who holds the file.

  • AI data licensing

    AI data licensing deals differ in two ways that matter most: how the owner gets paid, and which uses the buyer is allowed.

Free tool

Try the open source license checker

An open source license checker scans a codebase for licence files, package licence fields and per-file licence headers, so you can see which licences cover the code and its dependencies.

  • Free
  • No sign-up
  • Runs in your browser