getFavicon

Retrieves the relevant favicon for a URL, or returns a default icon should it not be able to find it. Works better than the Google version as it will find favicons specified by an HTML page's <link> element. Feel free to hotlink, although it would be nice if you could email me if you're going to make more than a couple of requests a second.

Instructions

To retrieve a favicon you can hotlink it at...

http://getfavicon.appspot.com/[URL]

Notice the URL contains the protocol (http or https). For example...

http://getfavicon.appspot.com/http://www.google.com

This works well in an <img> tag...

<img src="http://getfavicon.appspot.com/http://www.google.com" alt="Google" width="16" height="16" />

URL Generator

Examples

More examples

Stats

Updated every minute

Icons served
15.4 million
Cache hit rate
93.37%
Unable to find favicon
16.35%

Implementations

Known problems

Credit

By Jason Cartwright

Built using