Product
Developers
Docs Pricing Blog Startups FREE Star on GitHub20

Guide

PNG company logos for email (Gmail, Outlook)

Gmail and Outlook block SVG, so use a PNG: https://logoapi.sh/stripe.com.png. Every logo has one. Free. No key. No signup.

Add .png to the logo URL. Updated 2026-11-03

<img src="https://logoapi.sh/stripe.com.png?size=256&bg=white" alt="Stripe" width="128">

Paste this into Claude, Cursor or Codex

Your AI tool writes the email markup. It will not add a key.

prompt
For logos in an HTML email, use an img tag with src https://logoapi.sh/{domain}.png, for example https://logoapi.sh/stripe.com.png?size=256&bg=white. Gmail and Outlook block SVG, so use the PNG. No API key and no signup. Do not add a key or a token.

Request

GET/{domain}.png

The default is 512 px on the longest side, with a transparent background. The icon is /icon/{domain}.png.

OptionEffect
?size=Snaps to 128, 256, 512 or 1024. For example 300 gives 256.
?bg=whiteReturns the PNG on a white background.
<img src="https://logoapi.sh/stripe.com.png?size=256&bg=white" alt="Stripe" width="128">
<img src="https://logoapi.sh/icon/github.com.png" alt="GitHub" width="32" height="32">
Stripe logo as PNG

Response

A PNG rendered from the SVG. It carries X-Logo-Format: png-render.

Brands with only a PNG logo serve that original file unchanged: no resize, no bg, no header.

Errors

StatusWhen
404Colour versions are SVG only: /dark/{domain}.png returns 404, as do /white/, /black/ and /grey/.
429Too many requests. Wait for Retry-After.

FAQ

Why use PNG and not SVG in email?

Gmail and Outlook block SVG, so every logo also has a PNG.

Which sizes can I get?

128, 256, 512 or 1024 px on the longest side. Other values snap to the nearest, so 300 gives 256. The default is 512.

Do I need an API key or an account?

No. There is no key and no signup. Logo requests set no cookies.

More guides

See the full API reference