# Software License

> The legal text that says what others may do with your code.

**Field:** Software Development  
**Category:** Product & Releases  
**Also known as:** Software Licence, License, Licence, LICENSE File

## Think of it like

Think of it like the rules printed on a ticket. They say what you may and may not do with it.

## Definition

A software license is the legal text that says what others may do with your code. It answers questions like: can I use it, change it, sell it or share it? Code with no license is, by default, not free to reuse at all. Most projects put the text in a file called LICENSE at the top of the repo. Common ones are MIT, Apache 2.0 and the GNU GPL.

## Example

Lucy finds a handy library on GitHub with no LICENSE file. She cannot safely use it at work. She asks the author to add one.

## Why it matters

Using code against its license can mean legal trouble. Picking the right license decides how others may use yours.

## Common mistake

Assuming code on GitHub is free to use because it is public. Public is not the same as licensed.

## Three principles

- **Rules for use.** Use, change, share, sell.
- **No license, no rights.** Public is not free.
- **A LICENSE file.** At the top of the repo.

## Related terms

- [Open Source Software](https://learn.benibix.com/term/development/open-source)
- [MIT License](https://learn.benibix.com/term/development/mit-license)
- [GNU General Public License (GPL)](https://learn.benibix.com/term/development/gnu-gpl)
- [Proprietary Software](https://learn.benibix.com/term/development/proprietary-software)
- [Permissive License](https://learn.benibix.com/term/development/permissive-license)
- [Copyleft](https://learn.benibix.com/term/development/copyleft)
- [SPDX License Identifier](https://learn.benibix.com/term/development/spdx-license-identifier)

## Taught in

- [Open Model Licenses](https://learn.benibix.com/learn/ai-models-providers/open-model-licenses): AI Models and Providers, 8/13

---

Source: https://learn.benibix.com/term/development/software-license
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
