Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

Open Source License Picker

Not sure which license to put on your project? Answer 6 simple questions below and get a recommendation — MIT, Apache-2.0, GPL-3.0, LGPL-3.0, BSD-3-Clause, MPL-2.0, AGPL-3.0 or Unlicense — with an explanation of why it fits, a copyable license header, and a comparison table.

1. Should commercial use be allowed?

2. Must people who modify your code share their changes?

3. Must people who run modified code on a server or network share it too?

Only matters when question 2 is Yes.

4. Is it fine if your code is used inside closed-source products?

5. Should the license include protection against patent claims?

6. What do you want most from the license text?

License header snippet — paste at the top of your files


                    
                

License comparison table

License Commercial use Must share changes Patent grant Closed-source linking Short / simple

How to use

  1. Answer all 6 questions honestly — the recommendation updates live as you click.
  2. Read the recommendation card to see which license fits and why it fits your answers.
  3. Copy the license header snippet and paste it at the top of your source files.
  4. Add the full license text as a LICENSE file in your project, and check the comparison table for the differences.

Disclaimer: This tool gives general guidance only and is not legal advice. Open source licenses are legal documents — talk to a lawyer for important projects.