You asked your designer for your logo and the folder holds an SVG, a PNG, a JPG and perhaps a PDF. Which goes on the website, which on your Instagram profile, which on letterhead? The wrong file shows up as a blurry logo or one inside a white box.
The short answer: the master file of your logo should be a vector (SVG); keep a transparent PNG beside it for everyday use; do not choose JPG for a logo. Below, each format is explained with official documentation.
What is the difference between vector and pixel files?
Logo formats fall into two groups:
- Vector: shapes are described by drawing commands (lines, curves) and redrawn at whatever size is shown. SVG is in this group.
- Pixel (raster): a fixed grid of coloured dots. Enlarge it and the dots show. PNG, JPG and WebP are in this group.
The W3C describes SVG as a language for two-dimensional graphics; per the specification it supports “vector graphic shapes (e.g., paths consisting of straight lines and curves)”, images and text (W3C: SVG 2 introduction). That makes it a sound source file for a logo.
When is SVG the right choice for a logo?
According to MDN, SVG suits images that can be represented by drawing commands, especially when the rendered size is unknown or varies, since it scales smoothly to the size needed. The same page says to prioritise the vector version of an icon whenever one exists (MDN: Image file type and format guide).
SVG is therefore the first choice for:
- the website header and footer (the same logo on a phone and a large screen),
- anywhere the logo is shown at different sizes,
- the master file a designer or printer will rework later.
Google Images supports SVG too; the supported formats are BMP, GIF, JPEG, PNG, WebP, SVG and AVIF (Google: Image SEO best practices).
One caveat: when an SVG is shown through <img>, browsers disable JavaScript for security and do not load external resources such as images and stylesheets (MDN: SVG as an image). A logo made of shapes is unaffected; an SVG that relies on external files may look unexpected. Ask your designer for a self-contained SVG with the text converted to outlines.
PNG and transparent backgrounds: when do you need them?
The W3C defines PNG as a lossless format for static and animated raster images with an optional alpha (transparency) channel (W3C: PNG Specification). MDN likewise recommends PNG when transparency is needed, and lossless encoding for logos and line art.
In practice PNG helps with:
- upload fields that do not accept SVG (many social media and shop panels, presentation software),
- a logo placed over a coloured or photographic background,
- email signatures and documents.
A PNG is a pixel file, so export it at the largest size you will use; enlarging a small PNG blurs it. For platform dimensions see social media image sizes.
Why is JPG a poor fit for a logo?
According to MDN, JPEG is lossy, has no alpha channel and suits photographs; applying lossy compression to content that needs sharpness, such as diagrams or charts, can produce unsatisfactory results. A logo is sharp edges and lettering. Saved as JPG, edges can pick up fringes and the background cannot be transparent, so you see a white box around the logo.
If a JPG is all you have, treat it as a stop-gap and ask the designer for a vector or transparent PNG. A pixel file does not carry the drawing information; the safest vector is the one you get from the designer in the first place.
Can you use WebP for a logo?
WebP can be lossy or lossless and supports transparency. According to MDN, lossless WebP images are typically 26% smaller than the same image as PNG. The same page advises that if only raster versions are available you choose WebP but provide a PNG or JPEG fallback.
If you have the SVG, use it; think of WebP as a smaller sibling of PNG.
Which format for a favicon?
For the small icon in the browser tab and in Google results, Google supports BMP, GIF, ICO, PNG, JPEG, PPM and TIFF. A favicon must be square (1:1) and at least 8×8 px; larger than 48×48 px is recommended. It is added to the page head with a <link rel="icon"> tag (Google: Favicon in Search).
MDN says ICO files should not be used in web content and that a PNG with a <link> element is preferred for favicons. So ask for a simplified square PNG.
What does Google need to show your logo?
If you provide a logo in organisation structured data, Google requires an image of at least 112×112 px, with a crawlable and indexable URL, in a supported file format, that looks as intended on a purely white background. A mostly white or grey logo may not display as intended on white (Google: Organization structured data).
Which files should you ask your designer for?
Treat this table as a starting point; the use decides the format.
| File | Use |
|---|---|
| SVG (text converted to outlines) | Master file; website |
| PNG, transparent, large | Social media, presentations, documents |
| Light and dark background versions | Legibility on different backgrounds |
| Square version (icon) | Profile picture, favicon |
| Format your printer asks for | Ask the printer, then have it prepared |
Ask the printer which format it accepts when you commission the job; it varies by printer.
Quick checklist
- Master logo file is a vector (SVG) with text converted to outlines
- Transparent PNG at the largest size you will use
- Light and dark background versions
- A simple square PNG for the favicon
- No JPG used for the logo
- The logo is visible on a white background too
If you would like the logo files and brand set prepared together, see the digital design service.