Favicon embed code and badge

Need the icon of another website in a link list, bookmark page, dashboard or Notion-style doc? The FaviconDL API returns the best icon it can find for any domain, so a single <img> tag is enough. It is free and needs no API key.

1. Show any site's favicon with one img tag

<img src="https://favicondl.com/api/extract?url=github.com&amp;size=32"
     width="16" height="16" alt="" loading="lazy">

Live example: github.com · wikipedia.org

Tip: keep alt="" when the site name is already written next to the icon, so screen readers do not read it twice, and keep width/height so the layout does not jump while icons load.

2. Markdown (README, docs, wikis)

![](https://favicondl.com/api/extract?url=github.com&size=32) [GitHub](https://github.com)

GitHub and most Markdown renderers will show the icon inline. GitHub proxies images through its own cache, so a changed favicon may take a while to update.

3. "Favicons by FaviconDL" badge

If FaviconDL saves you time, a small credit helps other developers find it. Preview:

Favicons by FaviconDL

HTML

<a href="https://favicondl.com/"><img src="https://favicondl.com/badges/favicons-by-favicondl.svg"
   width="168" height="28" alt="Favicons by FaviconDL"></a>

Markdown

[![Favicons by FaviconDL](https://favicondl.com/badges/favicons-by-favicondl.svg)](https://favicondl.com/)

Plain text link

Favicons via <a href="https://favicondl.com/">FaviconDL</a>

Fair use