← All license families

CC-BY-SA-4.0

Creative Commons Attribution-ShareAlike 4.0 International Public License

Weak copyleftSPDX: CC-BY-SA-4.0ScanCode: Copyleft Limited

In one sentence

Changes to the licensed files stay open; the rest of your program usually does not have to be. Read before embedding.

Using CC-BY-SA-4.0 code

You can

  • Use the library in a larger work that has a different license, including a proprietary one
  • Distribute the combined work commercially

You must

  • Publish your changes to the licensed files under the same license
  • Keep notices, and tell recipients where to get the licensed source
  • Preserve the recipient's ability to relink or replace the library (LGPL)

You cannot

  • Take modifications to the licensed files private
  • Add restrictions that block the rights this license grants downstream

This is not legal advice. Your obligations depend on how you use the code and your jurisdiction. Consult counsel for production risk.

Check a repository

Paste any public GitHub repository to see whether it really is CC-BY-SA-4.0, with the evidence behind the answer.

Browse popular CC-BY-SA-4.0 repositories →

The license itself

Other weak copyleft licenses