{"head":{"title":"What Is an Open Source License? Definition and Types","description":"An open source license sets the terms for using, changing and sharing open source code. Permissive vs copyleft, what it means for you, and mistakes.","canonical":"https://oceanlab.in/glossary/open-source-license"},"crumbs":[{"name":"Home","path":"/"},{"name":"Glossary","path":"/glossary"},{"name":"open source license","path":"/glossary/open-source-license"}],"slug":"open-source-license","term":"Open source license","aka":["OSS license","open-source licence"],"category":"Buying software","short":"The terms under which open source code may be used, changed and shared, including what you owe in return.","body":[["Almost every product is built on open source libraries. Each comes with a licence. The Open Source Initiative keeps the Open Source Definition and a list of licences that meet it, and SPDX gives each common licence a standard short identifier, such as MIT or Apache-2.0."],["Licences fall into two broad groups. Permissive licences, such as MIT, BSD and Apache 2.0, let you use the code in closed products, mostly asking you to keep copyright and licence notices. Copyleft licences, such as the GPL family, require that if you distribute software built on the code, you share your source under the same terms. Some copyleft licences extend this to software offered over a network."]],"why":["Licences decide what you can do with your own product. A copyleft component in the wrong place can force you to publish code you meant to keep private, and buyers or investors often ask for a licence list during due diligence. It also affects ",{"href":"/glossary/ip-assignment","text":"IP assignment"},", because the client owns the custom code but the open source parts stay under their own licences."],"example":["Before a funding round, a SaaS company runs a licence scan. It finds a library under a network copyleft licence inside its core service. The team swaps it for a permissively licensed alternative before the investors' review, rather than during it."],"inBuild":["A list of open source components and their licences belongs in the build's handover pack, next to the IP assignment."],"mistakes":[["Never checking licences of indirect dependencies, which is where surprises usually hide."],["Treating \"free to download\" as \"free to use any way you like\"."],["Removing licence notices from shipped code, which most licences require you to keep."]],"related":[{"href":"/glossary/ip-assignment","label":"IP assignment","detail":"The part of a contract that transfers ownership of code, designs and other work from the people who made them to the client."},{"href":"/glossary/handover","label":"Handover (software handover)","detail":"Moving the code, accounts, documents and know-how of a product from the team that built it to the team that will run it."},{"href":"/glossary/vendor-lock-in","label":"Vendor lock-in","detail":"When leaving a supplier, platform or tool would cost so much time or money that you are effectively stuck with it."},{"href":"/glossary/saas","label":"SaaS (software as a service)","detail":"Software you use over the internet, usually by subscription, while the provider runs the application and everything under it."}],"tools":[],"links":[{"href":"/questions/who-owns-the-code","label":"Who owns the code when you hire a software agency?","detail":"Question"},{"href":"/software","label":"Software by industry","detail":"Systems we build per industry, with guides and tools."}],"sources":[{"title":"Open Source Initiative, The Open Source Definition","url":"https://opensource.org/osd","checkedAt":"2026-10-25"},{"title":"Open Source Initiative, OSI approved licenses","url":"https://opensource.org/licenses","checkedAt":"2026-10-25"},{"title":"SPDX License List","url":"https://spdx.org/licenses/","checkedAt":"2026-10-25"}],"legal":true,"updatedAt":"2026-10-25"}