Skip to main content
Logo Link URLs return image bytes directly. Pair them with Google Sheets’ built-in IMAGE() formula and any cell becomes a logo. Logo Link in Google Sheets

Prerequisites

  • A Context.dev account with a Logo Link publicClientId (prefix brandLL_). Copy it from the Logo Link dashboard.

Basic usage

Use the built-in IMAGE() function with a Logo Link URL:
=IMAGE("https://logos.context.dev/?publicClientId=brandLL_xxx&domain=stripe.com")

Dynamic domains

Reference a cell containing the domain instead of hardcoding it. If cell A2 holds stripe.com:
=IMAGE("https://logos.context.dev/?publicClientId=brandLL_xxx&domain=" & A2)
Drag the formula down a column to fetch logos for an entire list of domains.

Sizing

The second argument of IMAGE() controls how the logo fits inside the cell. From Google’s IMAGE() reference:
ModeValueBehavior
Fit to cell (default)1Resizes the image to fit inside the cell, maintaining aspect ratio
Stretch2Stretches or compresses the image to fill the cell, ignoring aspect ratio
Original size3Leaves the image at original size; may cause cropping
Custom size4Specify custom height and width in pixels as additional parameters
=IMAGE("https://logos.context.dev/?publicClientId=brandLL_xxx&domain=stripe.com", 2)
For mode 4:
=IMAGE("https://logos.context.dev/?publicClientId=brandLL_xxx&domain=stripe.com", 4, 120, 200)
Adjust row height and column width so logos display at a reasonable size. Mode 1 (fit to cell) usually looks best. Icons and monograms are square; wordmarks may be wider.

Fallbacks

If a logo isn’t published for a domain, Logo Link automatically returns a generated monogram based on the domain name. Note that the monogram is an SVG, which Sheets’ IMAGE() can’t render (see Limitations), so for unknown domains the cell may stay blank rather than show the fallback.

Limitations

  • No SVG. Google Sheets’ IMAGE() does not render SVG files. Most Logo Link responses for known brands are PNG, but the monogram fallback is SVG and won’t render, so pass a known domain when you can.
  • No Google Drive URLs. IMAGE() cannot load images from drive.google.com. Logo Link’s logos.context.dev host is fine.
  • No volatile functions inside the URL. IMAGE() rejects NOW(), RAND(), and other volatile functions in the base URL.

Next steps

Microsoft Excel

Same workflow in Excel for Microsoft 365 and Excel for the web.

Logo Link reference

All Logo Link URL options and the publicClientId setup.

Zapier integration

Programmatic enrichment for Google Sheets rows beyond logos.

Logo Link dashboard

Grab your publicClientId and lock it to your own domain.