IMAGE function and a Logo.dev CDN URL. You need no add-on or extension.
Get your API keys
Your dashboard has a publishable key for the Logo.dev CDN and a secret key for the Logo.dev API. Every plan includes both.
Add a logo to a cell
Put a CDN URL inIMAGE, and replace LOGO_DEV_PUBLISHABLE_KEY with your publishable key:
ticker path. See ticker lookup.
If column A holds brand names instead of domains, wrap the cell in ENCODEURL() so spaces and special characters survive. See name lookup.
To change the format or theme, add CDN parameters to the URL.
Fill a whole column
ARRAYFORMULA applies one formula to every row. It skips empty cells, and it fills new rows as you add domains to column A:
Set the logo size
By default, a logo fills as much of the cell as it can. To make the logo smaller, make the row or column smaller, or set a custom size with the second argument ofIMAGE:
This formula shows a logo 20 pixels wide and 20 pixels high:
size parameter in the URL sets the image’s resolution, not its size in the cell. Keep size larger than the size you show, so that the logo stays sharp.
A custom size sets both sides, so a logo that is not square stretches. To keep its shape, use mode 1 and change the cell size.
Replace Clearbit logo formulas
If your spreadsheet used the Clearbit Logo API (logo.clearbit.com), which has shut down, change the base URL to img.logo.dev and add your token:
logo.clearbit.com to img.logo.dev. Then add ?token=LOGO_DEV_PUBLISHABLE_KEY after the domain. The Clearbit migration guide covers the rest.
Troubleshooting
FAQs
Why do logos stop loading after I restrict my key to my domains?
Why do logos stop loading after I restrict my key to my domains?
IMAGE requests send no Referer header, so a key with
domain restrictions rejects them.
Turn off domain restrictions on the key that your sheets use.Can I make a logo clickable?
Can I make a logo clickable?
Not directly. Google Sheets does not link images. Put a
HYPERLINK
formula to the company’s website in the next column.