Calculates on this device using reference data from Toolvito.
Open Source License Comparer
Type two to six licences and see side by side what each one lets people do, what it asks of them and what it does not give. Or answer a few questions to find licences that fit, or check an SPDX expression such as MIT OR Apache-2.0.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
The calculator works in your browser. It loads checked reference data (for example time zones or official rates) from the Toolvito server; nothing you type is sent.
How to compare
- Type one licence on each line: an SPDX id (MIT, Apache-2.0, GPL-3.0-or-later) or a licence name.
- Press Compare. Each row says whether a licence permits, requires or limits something; a dash means it does not.
- Use Find a licence that fits to answer questions instead, or Check an SPDX licence expression for the licence line of a package.
Permissive and copyleft
- Permissive licences (MIT, BSD, Apache-2.0, ISC) ask mainly that the copyright and licence notice stay with the code. Others may use it in closed programs.
- Weak copyleft licences (MPL-2.0 per file, LGPL for libraries) ask that changes to the licensed files or library are shared under the same licence, but not the rest of a larger program.
- Strong copyleft licences (GPL) ask that a whole program made with the code is shared as source under the same licence. AGPL also counts use over a network.
Worked example
MIT and Apache-2.0 both permit commercial use, changes and distribution and ask for the licence and copyright notice. Apache-2.0 also gives an express patent licence, asks that changes are stated, and says it gives no trademark rights. GPL-3.0-only adds that source code must be disclosed under the same licence.
Where the data comes from
- What each licence permits, requires and limits: choosealicense.com (GitHub and contributors), licensed CC BY 3.0, at a pinned commit.
- Licence ids, names, OSI approval, FSF free (libre) flags and deprecated ids: the SPDX License List 3.29.0.
- Both come as signed reference data, checked by your browser. What you type is worked out in your browser.
Limits you should know
- The summaries are short and do not replace the licence text. This page does not give legal advice.
- Which licences may be combined in one program (licence compatibility) is a legal question that the summaries do not answer.
- Summaries exist for 47 common licences; for other SPDX licences only the SPDX facts are shown.
- To check the licences of a project’s dependencies, use the Dependency License Checker.