Get Favicons from Any Site,in Any Size

Get Favicons makes it free, fast and easy to get high-quality favicons from any web site, in the size you want, instantly - even if that site doesn't provide an icon of its own.

Free

Get Favicons is free for developers to use in their applications. We want to be used by as many web/mobile apps as possible.

Fast

It can take several seconds to a retrieve a domain's favicon from scratch. We do the hard work in advance, so you get a high quality PNG image in milliseconds.

Easy

Use Get Favicons directly in your image tags, like you would call any other remote image.

Examples ยป


Getting Started

Get Favicons has only one endpoint:

http://getfavicons.com/api/
And only two parameters:
parameter required? example description
url yes wikipedia.org The domain whose favicon you want to display.
size no 32 The height and width of the icon to be returned. Get Favicons will ensure all your icons are the size you requested, even if the website didn't originally have an icon of that size. The default is 32.

Examples

Wiroos icon, 32 pixels. Since wiroos only has a 16 pixel icon available, we wrap it in a matching border to give you a consistent view from one icon to the next:

http://getfavicons.com/api/?url=http://wiroos.com&size=32

Wikipedia's icon, 32 pixels, in an HTML image tag:

<img src="http://getfavicons.com/api/?url=http://wikipedia.com&size=32">

If a domain doesn't have a favicon, we create a memorable default.

http://getfavicons.com/api/?url=http://example.com&size=32

With jQuery

You can also add icons by adding the "favicon" class to any <a> tag, if you use jQuery and include Get Favicons's javascript library:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
	<script src="http://getfavicons.com/static/js/getfavicons.js"></script>
	<script>favicon_links(16)</script>

	<a href="http://www.taringa.net" class="favicon">http://taringa.com</a>
	<a href="http://www.geoiptool.com" class="favicon">http://www.geoiptool.com</a>
	<a href="http://wikipedia.org" class="favicon">wikipedia.org</a>
	<a href="https://www.youtube.com/watch?v=ef-OExpQEcU" class="favicon">Copiar no es robar</a>
	

Pass the desired icon size to the favicon_links() function. It looks like this: