Skip to content
  • There are no suggestions because the search field is empty.

SVG Tiny PS logo requirements

The BIMI logo must be an SVG Tiny PS file: a small, self-contained SVG profile with no scripts, links, or embedded images. Exporting "SVG" from a design tool isn't enough on its own. You need the right root attributes, a <title>, nothing interactive or external, and, for Gmail, absolute pixel dimensions of at least 96 × 96.

SVG Tiny PS ("Portable/Secure") is still a draft specification, and the profile may yet get smaller, so check the current requirements before a redesign. The BIMI record's l= tag allows only SVG (or gzip-compressed SVGZ), and the certificate requirements use the same profile. Gmail adds its own rules on top. For a non-technical overview, see SVG Tiny PS: essential facts for marketing directors on our main site.

BIMI logo requirements: what the file must contain

The root <svg> element needs exactly these three attributes (§2.1):

xmlns="http://www.w3.org/2000/svg"
version="1.2"
baseProfile="tiny-ps"

The version="1.2" value trips people up. It's simply a value the profile requires. The format is still SVG Tiny PS, and it's baseProfile="tiny-ps" that marks it as one. A file with baseProfile="tiny" isn't Tiny PS.

It also needs:

  • <title>: present, not empty, and only once, as a direct child of <svg>. It SHOULD be 64 characters or fewer. Use your organization's name.
  • <desc> (optional): if you include it, it can't be empty. Add one for accessibility.
  • At least two colors when rendered (§2.4).

What the file can't contain

These are disallowed outright:

  • raster <image> elements (no embedded PNG or JPEG)
  • <switch>
  • multimedia (audio or video)
  • interactivity
  • links, internal or external
  • scripts
  • animation

Some attributes SHOULD NOT appear at all, and must have a fixed value if they do: zoomAndPan="disable", externalResourcesRequired="false", focusable="false", snapshotTime="none", playbackOrder="all", timelineBegin="onLoad".

Google's summary adds one rule that is easy to miss: no x= or y= attributes on the root <svg> element.

The profile is deliberately tight for security. It cuts SVG down to locally defined, static vector graphics, and files should be self-contained, because the author can't know whether the reader's client is online.

BIMI logo size and shape

File size. Keep the file as small as possible, and do not exceed 32 kilobytes, measured uncompressed. 32 KB is not a hard protocol maximum, but receivers may set their own limits and may refuse to display an oversized logo. One validator error shows what happens when a file is far too big: SVG_FETCH_ERROR: Could not fetch SVG (Size of response body exceeds the maximum allowed of 65535). Stay well under 32 KB.

Pixel size (Gmail). These are Gmail requirements, in addition to the profile:

  • A minimum height and width of 96 pixels.
  • Dimensions in absolute pixels, for example width="96" height="96". Relative values such as width="100%" don't work.

Gmail recommendations:

  • Center the logo in a square.
  • Use a solid background. Google warns that "transparent backgrounds might not display as expected."
  • Keep the file at 32 KB or smaller.

The SVG Tiny PS draft says the same about transparency: you have "no control over how the logo is ultimately displayed." Clients may crop the logo, so keep the mark inside a safe central area with some margin.

A minimal file that follows the rules

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny-ps"
     width="400" height="400" viewBox="0 0 400 400">
  <title>Example, Inc.</title>
  <desc>Logo for Example, Inc.</desc>
  <rect width="400" height="400" fill="#0b5d5b"/>
  <circle cx="200" cy="200" r="120" fill="#ffffff"/>
</svg>

It's square, with absolute dimensions above 96 px, a solid background, two colors, and the required root attributes and <title>. There are no x/y attributes on the root, and nothing external.

How to get a compliant BIMI SVG

  1. Start from a vector master, not a PNG. If you only have a raster logo, trace it into vector paths, for example with Illustrator's Image Trace or Inkscape's Trace Bitmap. Don't embed the bitmap, because that's a disallowed <image> element.
  2. Simplify. Merge shapes, reduce path points, keep gradients simple, and convert text to paths so the file doesn't depend on fonts. Embedded font glyphs are allowed only for characters actually drawn.
  3. Strip the extras, such as metadata a design tool adds. An optimizer such as SVGO can help.
  4. Set the root by hand. Add version="1.2", baseProfile="tiny-ps", absolute width/height, and the <title>. Remove x/y from the root.
  5. Validate it with a third-party BIMI or SVG validator. We don't offer one.
  6. Check it in a browser at small sizes, around 20–40 px, so you know the mark still reads at avatar size.

The logo and the certificate must match

If you use a VMC or CMC, the SVG you submit to the certificate authority is embedded in the certificate. Your SVG file (logo) and VMC or CMC are embedded in the PEM file. When a BIMI record has both l= and a=, the receiver must check that the logo at l= is identical to the one in the certificate.

So finalize the logo before you apply. If the logo changes later, plan for a new certificate, and confirm the process with your certificate authority. For a CMC, the logo you submit also has to match what was on your website, on the same domain, at least 12 months earlier in the Internet Archive. That's the prior-use route; the official requirements list additional CMC routes. More on choosing: Is VMC still worth it now that CMC exists?

Common mistakes

  • baseProfile="tiny" or a missing baseProfile.
  • A missing or empty <title>, or two <title> elements.
  • An embedded PNG or JPEG inside the SVG.
  • x/y on the root element, or width="100%".
  • A transparent background that disappears on dark backgrounds.
  • Live text that depends on fonts instead of paths.
  • The mark too close to the edges, so it's clipped when cropped.
  • Fixing the SVG but not the certificate that still embeds the old version.

The rest of the BIMI checklist (DMARC, record, hosting, certificate) is in BIMI requirements checklist. If the file is right and the logo still doesn't show, see Why your BIMI logo is not showing. Where the logo fits in the rollout: How to move from DMARC enforcement to BIMI.

Free DMARC account

Your logo needs DMARC enforcement first

Monitor DMARC on the way to quarantine or reject. Once you're there, our team can help with your VMC or CMC and your BIMI record.

  • DMARC results per sender before you enforce
  • A clear view of what still fails alignment
  • Help with your VMC or CMC and BIMI record

Create a free DMARC accountTalk to an expert

FAQ

Can we use our PNG logo?

No. It has to be vector SVG in the SVG Tiny PS profile, and embedded raster images are not allowed.

Why does the file say version="1.2"?

The profile requires that attribute value. The format is SVG Tiny PS, which is what baseProfile="tiny-ps" declares.

What size should the BIMI logo be?

For Gmail, at least 96 × 96 px in absolute pixels (required). Google also recommends a square logo and a file of 32 KB or smaller.