Which open-source licenses let you sell a product?
MIT, Apache, GPL, AGPL, BUSL, SSPL and 51 more, grouped by what they allow for three common plans: sell a closed-source app that ships the code, run it as a paid hosted service (SaaS), and keep your changes private. Plain English, not legal advice.
- Sell a closed-source app: ✓ Yes
- Paid hosted service (SaaS): ✓ Yes
- Keep your changes private: ✓ Yes
Permissive: keep the copyright notice and license text; otherwise do what you want. (BSD-4-Clause also requires an advertising credit.)
- Sell a closed-source app: ✓ Yes
- Paid hosted service (SaaS): ✓ Yes
- Keep your changes private: ✓ Yes
Permissive with a patent grant: keep LICENSE and NOTICE files and mark files you changed.
- Sell a closed-source app: ⚠ Conditions
- Paid hosted service (SaaS): ✓ Yes
- Keep your changes private: ⚠ Conditions
Weak copyleft: if you distribute it, changes to these files (or this library) must be shared; your own code can stay closed. Hosting without distributing triggers nothing.
- Sell a closed-source app: ⚠ Conditions
- Paid hosted service (SaaS): ⚠ Conditions
- Keep your changes private: ⚠ Conditions
Copyleft with network-use clauses: providing it as a service can count as distribution, so share your changes to it.
- Sell a closed-source app: ✗ No
- Paid hosted service (SaaS): ✓ Yes
- Keep your changes private: ⚠ Conditions
Strong copyleft: if you distribute software containing it, your whole program must be GPL. Running it only on your server (SaaS) does not trigger this - but GPL JavaScript sent to users' browsers is distribution.
- Sell a closed-source app: ✗ No
- Paid hosted service (SaaS): ⚠ Conditions
- Keep your changes private: ⚠ Conditions
Network copyleft: you can host it (even for money), but users who interact with it must be offered your full modified source. Closed-source SaaS is not allowed; private changes are fine only if nobody outside uses them.
- Sell a closed-source app: ✗ No
- Paid hosted service (SaaS): ✗ No
- Keep your changes private: ⚠ Conditions
Source-available / non-commercial, not open source: commercial or competing hosted use is restricted or needs a paid license from the author.
- Sell a closed-source app: ⚠ Conditions
- Paid hosted service (SaaS): ✗ No
- Keep your changes private: ⚠ Conditions
Source-available: offering it as a hosted/managed service that competes with the author is forbidden. Other uses may be allowed - BUSL repos often add an 'Additional Use Grant'; read it. Converts to open source after a few years (BUSL/FSL).
- Sell a closed-source app: ⚠ Conditions
- Paid hosted service (SaaS): ⚠ Conditions
- Keep your changes private: ✓ Yes
Creative Commons is meant for content, not code: credit the author. Fine for docs/data, awkward for software.
- Sell a closed-source app: ✗ No
- Paid hosted service (SaaS): ⚠ Conditions
- Keep your changes private: ⚠ Conditions
Share-alike content license: adaptations you distribute must use the same license. Meant for content, not code.
- Sell a closed-source app: ✗ No
- Paid hosted service (SaaS): ✗ No
- Keep your changes private: ✗ No
No-derivatives: you may share it unchanged with credit, nothing else.
- Sell a closed-source app: ⚠ Conditions
- Paid hosted service (SaaS): ⚠ Conditions
- Keep your changes private: ⚠ Conditions
A font / database / documentation license, not a software license: usually fine to use and bundle (fonts can't be sold on their own; ODbL derived databases must stay open). Read it for your case.
- Sell a closed-source app: ✗ No
- Paid hosted service (SaaS): ✗ No
- Keep your changes private: ✗ No
No license = all rights reserved. You may read it, but not copy, modify or host it without the author's permission.
- Sell a closed-source app: ? Unclear
- Paid hosted service (SaaS): ? Unclear
- Keep your changes private: ? Unclear
GitHub couldn't identify this license (custom text, or several licenses like 'MIT OR Apache-2.0'). Read the LICENSE file yourself - custom licenses often add non-commercial or no-hosting clauses.
Paste a GitHub repo and get these three answers for its actual license, plus warnings (no license file, license changed, dual licensing). Free, runs in your browser.
Not legal advice. Licenses have exceptions and versions matter; read the license text and ask a lawyer before you ship something that depends on it.