Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  

Translations: (No guarantee that the translations are up-to-date)

Further informations:

  • Badges are made with Shields.io.
  • Github has a new autodetection for LICENSE files, which shows the license at the repo overview
  • Shields.io has autogenerated license badges: https://img.shields.io/github/license/<Github-Username>/<Repository>
  • Really nice: https://choosealicense.com/ (if you are unsure, which license to choose)

Want to add a License?

Comment this gist or write me an E-Mail (lukas@himsel.me)

Apache

Apache 2.0 License

License
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Boost

Boost Software License 1.0

License
[![License](https://img.shields.io/badge/License-Boost%201.0-lightblue.svg)](https://www.boost.org/LICENSE_1_0.txt)

BSD

BSD 3-Clause License

License
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

BSD 2-Clause License

License
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)

Creative Commons

Choose on CreativeCommons.org

CC0

License: CC0-1.0
[![License: CC0-1.0](https://licensebuttons.net/l/zero/1.0/80x15.png)](http://creativecommons.org/publicdomain/zero/1.0/)

License: CC0-1.0

[![License: CC0-1.0](https://img.shields.io/badge/License-CC0%201.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)

Attribution 4.0 International

License: CC BY 4.0
[![License: CC BY 4.0](https://licensebuttons.net/l/by/4.0/80x15.png)](https://creativecommons.org/licenses/by/4.0/)

License: CC BY 4.0
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)

Attribution-ShareAlike 4.0 International

License: CC BY-SA 4.0
[![License: CC BY-SA 4.0](https://licensebuttons.net/l/by-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-sa/4.0/)

License: CC BY-SA 4.0
[![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-sa/4.0/)

Attribution-NonCommercial 4.0 International

License: CC BY-NC 4.0
[![License: CC BY-NC 4.0](https://licensebuttons.net/l/by-nc/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc/4.0/)

License: CC BY-NC 4.0
[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/)

Attribution-NoDerivates 4.0 International

License: CC BY-ND 4.0
[![License: CC BY-ND 4.0](https://licensebuttons.net/l/by-nd/4.0/80x15.png)](https://creativecommons.org/licenses/by-nd/4.0/)

License: CC BY-ND 4.0
[![License: CC BY-ND 4.0](https://img.shields.io/badge/License-CC%20BY--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nd/4.0/)

Attribution-NonCommmercial-ShareAlike 4.0 International

License: CC BY-NC-SA 4.0
[![License: CC BY-NC-SA 4.0](https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

License: CC BY-NC-SA 4.0
[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

Attribution-NonCommercial-NoDerivatives 4.0 International

License: CC BY-NC-ND 4.0
[![License: CC BY-NC-ND 4.0](https://licensebuttons.net/l/by-nc-nd/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

License: CC BY-NC-ND 4.0
[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC%20BY--NC--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

Eclipse

Eclipse Public License 1.0

License
[![License](https://img.shields.io/badge/License-EPL%201.0-red.svg)](https://opensource.org/licenses/EPL-1.0)

GNU

GNU GPL v3

License: GPL v3
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

GNU GPL v2

License: GPL v2
[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)

GNU AGPL v3

License: AGPL v3
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)

GNU LGPL v3

License: LGPL v3
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)

GNU FDL v1.3

License: FDL 1.3
[![License: FDL 1.3](https://img.shields.io/badge/License-FDL%20v1.3-blue.svg)](https://www.gnu.org/licenses/fdl-1.3)

IBM

IBM Public License Version 1.0

License: IPL 1.0
[![License: IPL 1.0](https://img.shields.io/badge/License-IPL%201.0-blue.svg)](https://opensource.org/licenses/IPL-1.0)

ISC

ISC License (ISC)

License: ICL
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)

MIT

The MIT License

License: MIT
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Mozilla

Mozilla Public License 2.0

License: MPL 2.0
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)

Open Data Commons

Attribution License (BY)

License: Open Data Commons Attribution
[![License: Open Data Commons Attribution](https://img.shields.io/badge/License-ODC_BY-brightgreen.svg)](https://opendatacommons.org/licenses/by/)

Open Database License (ODbL)

License: ODbL
[![License: ODbL](https://img.shields.io/badge/License-ODbL-brightgreen.svg)](https://opendatacommons.org/licenses/odbl/)

Public Domain Dedication and License (PDDL)

License: ODbL
[![License: ODbL](https://img.shields.io/badge/License-PDDL-brightgreen.svg)](https://opendatacommons.org/licenses/pddl/)

Perl

The Perl License

License: Artistic-2.0
[![License: Artistic-2.0](https://img.shields.io/badge/License-Perl-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)

The Artistic License 2.0

License: Artistic-2.0
[![License: Artistic-2.0](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)

SIL

SIL Open Font License 1.1

License: Open Font-1.1
[![License: Open Font-1.1](https://img.shields.io/badge/License-OFL%201.1-lightgreen.svg)](https://opensource.org/licenses/OFL-1.1)

Unlicense

The Unlicense

License: Unlicense
[![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)

WTFPL

The Do What the Fuck You Want to Public License

License: WTFPL
[![License: WTFPL](https://img.shields.io/badge/License-WTFPL-brightgreen.svg)](http://www.wtfpl.net/about/)

Zlib

The zlib/libpng License

License: Zlib
[![License: Zlib](https://img.shields.io/badge/License-Zlib-lightgrey.svg)](https://opensource.org/licenses/Zlib)

@Helmasaur

This comment has been minimized.

Copy link

@Helmasaur Helmasaur commented Mar 26, 2017

Awesome Gist ! I forked it to translate it in French (: .

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Mar 26, 2017

J'ai ajouté le lien de votre Gist à ce fichier!

@Helmasaur

This comment has been minimized.

Copy link

@Helmasaur Helmasaur commented Mar 28, 2017

Merci beaucoup !

Oh and by the way, liste is a femine word so it's cette liste and not ce liste (; .

@vobject

This comment has been minimized.

Copy link

@vobject vobject commented Apr 21, 2017

The GPLv2 badge should link to https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html

Great collection of badges btw.

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Apr 22, 2017

Thanks 👍

@akzhan

This comment has been minimized.

Copy link

@akzhan akzhan commented May 12, 2017

Perl license (known as Artistic 2.0):

License: Artistic-2.0

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented May 13, 2017

I have added the two! 👍

@sheljohn

This comment has been minimized.

Copy link

@sheljohn sheljohn commented Jun 22, 2017

You should use httpS where possible

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Jul 9, 2017

@sheljohn I've just changed it

@durimkryeziu

This comment has been minimized.

Copy link

@durimkryeziu durimkryeziu commented Oct 21, 2017

What about this:
License: Unlicense

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Oct 30, 2017

@durimkryeziu Thanks 👍

@kakekcoding

This comment has been minimized.

Copy link

@kakekcoding kakekcoding commented Nov 14, 2017

Thanks

@crazygit

This comment has been minimized.

Copy link

@crazygit crazygit commented Nov 28, 2017

Thanks # @

@hkmoon

This comment has been minimized.

Copy link

@hkmoon hkmoon commented Dec 1, 2017

Thank you for sharing it!

I found that [ is missing in front of License: CC BY-NC 4.0] in the CC BY-NC 4.0 markdown code.

@justinjk007

This comment has been minimized.

Copy link

@justinjk007 justinjk007 commented Dec 19, 2017

Does anyone know why the GNU GPL V3 badge just broke all of a sudden ?

@Seluj78

This comment has been minimized.

Copy link

@Seluj78 Seluj78 commented Dec 19, 2017

I follow @justinjk007, GPL V3 broke
License: GPL v3

@justinjk007

This comment has been minimized.

Copy link

@justinjk007 justinjk007 commented Dec 19, 2017

I fixed the badge this should be the correct link, this is very weird because the other badges works

License: GPL v3
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Can you make a PR on gist ¿

@tandavala

This comment has been minimized.

Copy link

@tandavala tandavala commented Jan 19, 2018

i follow

License: MIT

@davidB

This comment has been minimized.

Copy link

@davidB davidB commented Jan 31, 2018

In the creative commons family: CC0 1.0

License: CC0-1.0

License: CC0-1.0

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Feb 2, 2018

@davidB thanks for suggestion 👍

@Gaboso

This comment has been minimized.

Copy link

@Gaboso Gaboso commented Jun 15, 2018

AWESOME gist
I forked and translated into Portuguese 🇧🇷

@JethroLee

This comment has been minimized.

Copy link

@JethroLee JethroLee commented Aug 13, 2018

@lukas-h : AWESOME gist 👍

I also forked and translated into Chinese 🇹🇼 https://gist.github.com/JethroLee/dd777676d30064fa62a65f514d23f601

@gofishwbeeler

This comment has been minimized.

Copy link

@gofishwbeeler gofishwbeeler commented Aug 14, 2018

Awesome work! I also forked it for work usage.

@hawk911

This comment has been minimized.

Copy link

@hawk911 hawk911 commented Sep 25, 2018

Thank. It's excellent!

@arcanosam

This comment has been minimized.

Copy link

@arcanosam arcanosam commented Oct 31, 2018

Awesome. thank you for sharing! 👍

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Dec 2, 2018

Thank you all for your contributions & feedback. 👍 👍 👍

@Gaboso & @JethroLee I've linked both of your translations - many thanks!

@barrouh

This comment has been minimized.

Copy link

@barrouh barrouh commented Dec 8, 2018

Thank you very much for sharing.

@micah-akpan

This comment has been minimized.

Copy link

@micah-akpan micah-akpan commented Jan 22, 2019

Thank you for sharing!

@henricook

This comment has been minimized.

Copy link

@henricook henricook commented May 10, 2019

Out of interest, what dictates the colors of the badges?

@mchiasson

This comment has been minimized.

Copy link

@mchiasson mchiasson commented May 19, 2019

@henricook it's the third keyword that dictates the colour.

https://img.shields.io/badge/<Title>-<Type>-<Color>.svg

You can chose whichever colour you want, really. Example:

![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)
License: MIT

![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
License: MIT

![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)
License: MIT

![License: MIT](https://img.shields.io/badge/Person%20of%20the%20Year-henricook-hotpink.svg)
License: MIT

As for the colour selections in this particular gist, I have no idea how they were picked... 😕

The examples here uses different colours: https://shields.io/category/license

@henricook

This comment has been minimized.

Copy link

@henricook henricook commented May 19, 2019

Epic, thanks! :-D

@gdjohn4s

This comment has been minimized.

Copy link

@gdjohn4s gdjohn4s commented May 23, 2019

Thanks !! I was looking for this!
I forked to translate in italian for friends.

@lijiansong

This comment has been minimized.

Copy link

@lijiansong lijiansong commented Jun 24, 2019

No badge for License WTFPL?

@SeppPenner

This comment has been minimized.

Copy link

@SeppPenner SeppPenner commented Jun 24, 2019

Thanks. This is great!

@anthony-langford

This comment has been minimized.

Copy link

@anthony-langford anthony-langford commented Oct 12, 2019

I would love to see WTFPL added.

@mutebironald

This comment has been minimized.

Copy link

@mutebironald mutebironald commented Oct 29, 2019

Thanks.

@mahabal

This comment has been minimized.

Copy link

@mahabal mahabal commented Nov 22, 2019

@lijiansong

I would love to see WTFPL added.

@anthony-langford

No badge for License WTFPL?

shields.io generates badges on the fly using this URL: https://img.shields.io/badge/<LABEL>-<MESSAGE>-<COLOR>.svg (go to their website to see how to customize them further).

So to make one for WTFPL (brightgreen color) would be like: https://img.shields.io/badge/License-WTFPL-brightgreen.svg, and an example to add it to you GitHub is just: [![License: WTFPL](https://img.shields.io/badge/License-WTFPL-brightgreen.svg)](http://www.wtfpl.net/about/), which looks like:

License: WTFPL

@dadyarri

This comment has been minimized.

Copy link

@dadyarri dadyarri commented Dec 7, 2019

Thanks very handy, I have forked it for translate to Russian.

@lijiansong

This comment has been minimized.

Copy link

@lijiansong lijiansong commented Dec 8, 2019

@mahabal Nice 👏

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Dec 17, 2019

@lijiansong @anthony-langford @mahabal Finally I've added the WTFPL!

@anthony-langford

This comment has been minimized.

Copy link

@anthony-langford anthony-langford commented Dec 17, 2019

Nice License: WTFPL

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Dec 27, 2019

Added ISC License License: ISC

@josenriagu

This comment has been minimized.

Copy link

@josenriagu josenriagu commented Feb 2, 2020

Beautiful! Thanks a lot

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Feb 2, 2020

@josenriagu You're welcome! 😄

@josenriagu

This comment has been minimized.

Copy link

@josenriagu josenriagu commented Feb 3, 2020

@josenriagu You're welcome! 😄

Take a look, I implemented it in the furry-winner😊

@6londe

This comment has been minimized.

Copy link

@6londe 6londe commented Feb 6, 2020

Added ISC License License: ISC

@lukas-h typo in ISC link. ( is missing!

@teo330

This comment has been minimized.

Copy link

@teo330 teo330 commented Feb 20, 2020

@lukas-h thanks for the gist (even if I found it after I discovered the Shields.io site 😇).
BTW I forked and translated it in italian, here's the link https://gist.github.com/teo330/9a8f8c2097fc0005755ae5e3465b4b0c (I added few more lines on how to make the license detection automated and a reference to the Creative Commons licenses)

@josenriagu

This comment has been minimized.

Copy link

@josenriagu josenriagu commented Feb 21, 2020

👏 👏

@lukas-h thanks for the gist (even if I found it after I discovered the Shields.io site 😇).
BTW I forked and translated it in italian, here's the link https://gist.github.com/teo330/9a8f8c2097fc0005755ae5e3465b4b0c (I added few more lines on how to make the license detection automated and a reference to the Creative Commons licenses)

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Apr 8, 2020

@teo330 btw your list is linked in the description and I mentioned the autodetect badges from shields io
;)

@yoonbae81

This comment has been minimized.

Copy link

@yoonbae81 yoonbae81 commented May 1, 2020

Thanks, I couldn't understand the explanation in shield.io.

@FrederickBor

This comment has been minimized.

Copy link

@FrederickBor FrederickBor commented May 3, 2020

Thanks for this helpful information, I just forked it and translated it in Spanish (Here's the link)

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented May 4, 2020

@FrederickBor Your link is in the description :)

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Jun 11, 2020

Added

  • SIL Open Font License 1.1
  • Boost Software License 1.0

  • Typo & better descriptions
@NaytSeyd

This comment has been minimized.

Copy link

@NaytSeyd NaytSeyd commented Jun 22, 2020

@lukas-h 👍

I forked and translated into Turkish 🇹🇷 https://gist.github.com/NaytSeyd/bcfbc0a82ba49fdab64c375db458665a

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Jun 22, 2020

@NaytSeyd, I added it.
Please check typo, because I don't trust Google translate.

@NaytSeyd

This comment has been minimized.

Copy link

@NaytSeyd NaytSeyd commented Jun 22, 2020

@NaytSeyd, I added it.
Please check typo, because I don't trust Google translate.

It would be more accurate if you type "Bu liste Türkçe" 😄

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Jun 22, 2020

@NaytSeyd thx

@omzi

This comment has been minimized.

Copy link

@omzi omzi commented Jul 17, 2020

Thanks a lot!

@AtieP

This comment has been minimized.

Copy link

@AtieP AtieP commented Jul 24, 2020

amazing, thanks a lot!

@anyaegbufrancis

This comment has been minimized.

Copy link

@anyaegbufrancis anyaegbufrancis commented Aug 8, 2020

Perfect! Thank you!

@Git-Harshit

This comment has been minimized.

Copy link

@Git-Harshit Git-Harshit commented Sep 15, 2020

Amazing collection of badges! However, I am not able to get to use a badge from these, for my requirement. I want to have a small collection of badges for adding a handy, direct, click to contact options (like for Email, LinkedIn, Discord, and rest).

It'd be great if these badges could also be included in the collection. Any help is appreciated.

@lukas-h

This comment has been minimized.

Copy link
Owner Author

@lukas-h lukas-h commented Sep 15, 2020

@Git-Harshit please look at shields.io, where you can build any badges you desire ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.