Guide

The BIMI logo format: SVG Tiny PS

Short answer

A BIMI logo must be an SVG file in the SVG Tiny PS profile: version 1.2, baseProfile tiny-ps, a title element, and only plain vector shapes. Scripts, animation, embedded photos, external links and style blocks are not allowed. Make it square with the mark centred on a solid background, keep it under 32 KB, and for Gmail set width and height in pixels, at least 96 by 96.

Last checked: . Every source is listed at the end with its own date.

Why a special format

An ordinary SVG file is closer to a small program than to a picture. It can run scripts, load other files from the internet, animate, and embed anything. A mailbox provider that fetches logos from millions of unknown domains cannot safely handle all of that. SVG Tiny PS, "portable and secure", is a cut-down profile that keeps the drawing features and removes everything that can act or reach out.

The profile is defined in an Internet-Draft and in a schema published by the BIMI Group. The schema is a closed list: an element or attribute that is not on it is not allowed. That is why files from design programs fail so often. They are valid SVG, with extras the profile does not accept.

What the file must have

  • A root svg element in the SVG namespace, with version="1.2" andbaseProfile="tiny-ps".
  • A title element with text in it, as the first element insidesvg. The draft suggests keeping it to 64 characters or fewer. Your company or brand name is the natural choice.
  • A viewBox that describes a square, so the image scales cleanly.

A minimal file that passes looks like this:

<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny-ps"
     viewBox="0 0 100 100" width="100" height="100">
  <title>Example Company</title>
  <rect width="100" height="100" fill="#0b5fff"/>
  <circle cx="50" cy="50" r="30" fill="#ffffff"/>
</svg>

What the file must not have

  • Scripts or event handlers, such as script elements or onclick attributes.
  • Embedded or linked bitmap images. The image element is banned. A PNG pasted into an SVG is the most common reason a logo cannot be converted automatically.
  • External references. Nothing may point to a file outside the document: no web fonts, no linked stylesheets, no remote images.
  • Animation, video, audio or interactivity.
  • Links (the a element) and foreignObject.
  • style elements and style attributes. Colours and strokes must be written as plain attributes such as fill="#0b5fff".
  • x and y attributes on the root element.
  • Editor leftovers: attributes in a drawing program's own namespace are not in the schema.

What remains is enough for almost any logo: paths, rectangles, circles, ellipses, lines, polygons, groups, reusable definitions, and linear and radial gradients. Text elements exist in the schema, but a logo that depends on a font being installed on the reader's device will not look the same everywhere, so convert lettering to outlines.

Design rules that are not about code

The BIMI Group's logo guidance and the draft add recommendations about the picture itself.

  • Square. A 1:1 aspect ratio.
  • Centred, with room around the mark. Providers crop the square to a circle or a rounded square. Anything in the corners is cut off. The inbox preview shows your file in both frames.
  • A solid background. Transparency may not display as you expect, and you do not control the colour behind it in light or dark mode.
  • Small file. 32 kilobytes or less, uncompressed.
  • Legible at avatar size. The logo is shown small, as an avatar. A symbol reads better at that size than a full name with a strapline.

Gmail's extra rule

Google's help page asks for the SVG width and height to be given in absolute pixels, with a minimum of 96 by 96. A file with only a viewBox, or with sizes in percentages, does not meet that. Setting both attributes to a plain number of at least 96, as in the example above, satisfies it.

Google's troubleshooting page also lists logo checks for when an image does not show: the SVG meets the BIMI requirements, it is publicly accessible, it is on the same domain as the BIMI record, and the address in the record is right.

Why an export from a design program fails

Saving as SVG from a design program gives you a file for web browsers. These are the problems our validator is built to catch:

  1. The root has version="1.1", or no baseProfile.
  2. There is no title.
  3. Colours are in a style block or in style attributes instead of plain attributes.
  4. The file carries the program's own metadata and namespaced attributes.
  5. The root has x="0px" y="0px".
  6. The artwork includes an embedded bitmap, a clipping mask or a filter effect, none of which the profile has.

The first five are mechanical and can be fixed without changing how the logo looks. The sixth needs a designer: the affected part has to be redrawn as plain shapes.

How to convert a logo

  1. Start from vector artwork. If all you have is a PNG, the logo needs to be traced or redrawn first. Automatic tracing of a small bitmap usually needs cleaning up by hand.
  2. Make the canvas square and centre the mark with a margin. Add a background rectangle that fills the canvas.
  3. Convert text to outlines and expand any effects into plain shapes.
  4. Export as SVG, choosing "presentation attributes" rather than CSS for styling if your program offers the choice.
  5. Run it through the SVG Tiny PS validator. It lists every rule the file breaks, and its converter applies the mechanical fixes: the version and profile, the title, removal of banned attributes and editor metadata. It shows you the result before and after so you can confirm nothing visible changed.
  6. Look at the converted file at small size and in both crop shapes.

Hosting the file

Put the file at an https address and use that address in the l= tag of your BIMI record. Keep the address stable. If you have a mark certificate, the logo inside the certificate and the file at this address must be the same image, so do not edit the hosted file after the certificate is issued. TheBIMI checker compares the two.

One file, used twice

The same SVG serves two purposes: it is what you host, and it is what the certificate issuer embeds. Get it right before you apply for a certificate. A change of logo afterwards means a new certificate.

Questions and answers

Can I use a PNG or JPG for BIMI?
No. The BIMI draft requires an SVG file, and the profile bans embedded bitmap images, so wrapping a PNG inside an SVG does not work either. The logo has to be drawn as vector shapes.
What size should a BIMI logo be?
SVG is resolution-independent, so the shape matters more than the size: use a square. Google asks for width and height in absolute pixels of at least 96 by 96 for Gmail. The file should be 32 kilobytes or less.
Can a BIMI logo have a transparent background?
The format allows it, but the BIMI Group's guidance warns that transparency may not display as expected and recommends a solid background, because providers place the logo on backgrounds you do not control.

Tools for this

Sources

  1. IETF Internet-Draft, SVG Tiny Portable/Secure, draft 13 (dated 31 October 2026; checked 2026-12-05)
  2. BIMI Group, Creating BIMI SVG Logo Files (dated 10 August 2020; checked 2026-12-05)
  3. IETF Internet-Draft, Brand Indicators for Message Identification (BIMI), draft 15 (dated 31 October 2026; checked 2026-12-05)
  4. Google Workspace Help, Set up BIMI (last updated 3 December 2026; checked 2026-12-05)
  5. Google Workspace Help, Troubleshoot BIMI issues (last updated 3 December 2026; checked 2026-12-05)

This page is general information. It is not legal advice, and it is not a statement from any mailbox provider or certificate issuer. Each provider decides what it displays.