Skip to content

<img Style="" Src="https://www.google.com/s2/fa... Apr 2026

: The only mandatory parameter. It specifies the website for which you want to retrieve the icon.

: An optional parameter to request a specific size (e.g., 16, 32, 64, or 128 pixels).

: If a site does not have a favicon or the API cannot reach it, it returns a generic globe or page icon as a fallback. Limitations for Developers <img style="" src="https://www.google.com/s2/fa...

The service works via a simple using the following structure: https://google.com

While convenient, reviewers from Logo.dev and dev.to highlight several risks for production use: : The only mandatory parameter

: It cannot retrieve icons from local hostnames (like localhost ) or private IP addresses.

The URL https://www.google.com/s2/favicons belongs to , an unofficial and undocumented service that allows developers to retrieve the favicon (website icon) for any public domain. It is widely used in dashboards, browser extensions, and applications to add visual brand identification to external links. Key Features and Parameters : If a site does not have a

: While there are no strict published rate limits, aggressive usage may lead to requests being throttled. Get favicons from any domain using a hidden google API