Command Palette

Search for a command to run...

7 min read

Open source licenses in plain words

MIT, Apache, GPL, CC0, CC BY — what you actually may do with free software and assets, explained without lawyer vocabulary.

MIT — do almost anything, keep the notice

MIT is the shortest popular license and the most permissive. You may use, copy, modify, merge, publish and sell software that uses MIT code, including inside closed, paid products. The one real condition: keep the copyright notice and the license text with the code.

In practice, that means if your app uses an MIT library, you owe the author nothing except the little credits file most apps tuck into an About screen. That is the whole deal, and it is why MIT is everywhere.

  • A great default: maximum freedom, minimal homework
  • The license includes a no-warranty line — if it breaks, it is on you

Apache 2.0 — MIT plus a patent peace treaty

Apache 2.0 grants the same everyday freedoms as MIT, with two additions. First, contributors explicitly grant you a license to any patents they hold that cover their contribution — a promise not to sue, which matters to companies. Second, if you modify the licensed files, you should state that you changed them.

It is a longer document, and a favorite of foundations and larger projects for exactly those reasons. For a regular user or a small team, the day-to-day experience is nearly identical to MIT: use it, ship it, keep the notice.

  • Same freedom as MIT, plus explicit patent protection
  • Note significant changes when you edit Apache-licensed files

GPL — share your changes when you distribute

The GPL family is "copyleft". You may use, study and modify GPL software freely — for anything, including commercial work. The turning point is distribution: if you ship software built on GPL code to other people, you must ship that combined work under the GPL too, and offer its source code.

For personal use, internal tools or scripts that never leave your machine, this costs you nothing at all. It becomes a real decision when you are building a product you plan to sell or distribute in binary form — which is why some companies simply disallow GPL libraries in closed projects.

  • Free forever for personal use; contagious when you distribute
  • Building a closed product? Check the license before adding a GPL library

CC0 and public domain — no strings at all

CC0 is the authors waving goodbye to their rights on purpose. You may use the material for anything — commercial work included — with no credit required. It is the closest thing to "this belongs to everyone now".

You will find it all over the free-asset world: sound effects, textures, images, 3D models, datasets. Crediting the creator is still a kind thing to do, and creators appreciate it — but legally, nothing is asked of you.

  • Use it anywhere, even commercially, credit optional
  • Still verify the file came from the real source — CC0 says nothing about malware

CC BY — free, just name the creator

Creative Commons Attribution is the workhorse of free asset libraries. You may copy, share and adapt the material — commercially too — as long as you credit the creator. A one-line caption with the author's name and a link is usually enough.

Read the letters that follow BY, because they change the deal: NC means no commercial use, ND means no edits allowed, and SA means your adapted version must carry the same license. "CC BY 4.0" is friendly; "CC BY-NC-ND" is much stricter than it looks at a glance.

  • Credit the creator and you are covered
  • NC, ND and SA after BY each add a restriction — read them

Freeware is not open source

Freeware costs nothing, and that is where the resemblance ends. With freeware you get a finished program, not the source code, and the license usually says: use it as-is, do not redistribute, no promises. Many excellent tools are freeware — it is just a different kind of free.

Open source means you get the code and defined rights to use, modify and share it. The valuable part was never the price — it is what you are allowed to do. "Free" tells you the cost; the license tells you the rules. Always read the second one.

  • Price and permissions are two different questions
  • License unclear? Assume the strictest reading, or ask the author