Back to blog

Logo File Formats for Web: What to Use and Why

Pixelated print beside a crisp stencil edge

Use an SVG for your website logo, and keep a transparent PNG as the backup. SVG stays sharp on every screen, loads quickly and works for a logo made of shapes and text. PNG is the safe fallback when only a flat image exists. JPEG is the weakest choice for a logo. The catch for most new businesses is that the format is only half the job: you also need to be handed the right files in the first place. When we build a site at Newbusinesswebsites.ie, the logo is one of the first things we ask about, because a blurry or boxed-in logo makes a new business look less established than it is.

Newbusinesswebsites
Give Your Website a Sharper First Impression
NewBusinessWebsites.ie builds practical websites for Irish businesses, with professional design that helps visitors trust your brand and get in touch.
Visit

TL;DR

  • SVG first. It scales to any size without going soft, which suits a logo shown on phones, laptops and large monitors.
  • PNG second. Use a transparent PNG when SVG is not an option, exported at roughly twice the size it displays.
  • Avoid JPEG for logos. It has no transparency, so you get a white box behind the logo, and its compression smudges edges and text.
  • Keep a full set of files. A vector master, SVG and PNG versions, and light and dark colour variants cover the website, social media, print and email.
  • Check what you were given. If your designer sent only a JPEG or PNG, ask for the vector original before the website is built.

Table of Contents

Vector and raster: the one idea that explains everything

Every logo file is one of two kinds.

A raster file is a grid of coloured pixels. A vector file is a set of mathematical instructions for shapes and lines. Helloprint’s explanation of raster and vector puts it the same way: vectors are better for logos and icons because they scale without losing quality, while raster images can become pixelated if enlarged too far.

Vector and raster files compared when enlarged

Think of a photograph versus a stencil. Blow a photograph up to the size of a van door and it breaks into squares. A stencil can be cut at any size and the edges stay crisp.

Google’s own developer guidance says the same for the web: vector formats suit logos, text and icons because they stay sharp at every resolution and zoom level, whereas raster images turn jagged and blurry when scaled up.

For your website this matters for a practical reason. Your logo appears small in a phone header, bigger on a desktop, and sometimes very large on a high-resolution screen. A vector adapts to all of them from one file.

The formats you will actually meet

Designers and printers use a long list of extensions. For a website you only need to understand four, plus a few that belong to the master set.

Format Type Transparent background Best use for your business
SVG Vector Yes Website header, footer and anywhere on screen
PNG Raster Yes Fallback on the website, email signatures, social profiles
JPEG (JPG) Raster No Photos, not logos
PDF, EPS, AI Usually vector Varies Printing, signage, and as the editable master

SVG: the first choice for your website

MDN, the web developers’ reference run by Mozilla, describes SVG as ideal for images shown at unknown or varying sizes. That is exactly the situation of a logo on a responsive website.

There is a second benefit. Adobe explains that an SVG is written as text rather than pixels, so screen readers and search engines can analyse it, and SVG files are usually smaller and quicker to load. Speed on mobile matters for a local business, where many visitors arrive from a phone search.

SVG is for graphics, not photographs. A logo that contains a photograph, or very heavy effects such as many gradients and shadows, is better kept as PNG.

PNG: the reliable fallback

PNG supports transparency, so your logo sits cleanly on a coloured header or over a photo. MDN notes that PNG is preferred over JPEG when transparency is needed, because JPEG has no alpha channel (the part of an image that records which areas are see-through).

PNG is the right pick when:

  • your logo only exists as a flat image and no vector original was ever made;
  • a platform will not accept SVG uploads, which is common for email signatures and some social media profile fields;
  • the logo includes photographic or textured elements.

Adobe adds that PNGs have wider browser and operating-system support than SVG, which is why they remain the safe all-rounder.

JPEG: fine for photos, poor for logos

A JPEG cannot be transparent, so a logo saved this way carries a solid rectangle behind it. On a white page you may not notice. The moment you place it on a coloured banner, or add a dark version of your site, the box shows.

JPEG compression also works by discarding detail, which tends to fuzz the sharp edges and fine lettering that logos are made of. Use JPEG for photographs of your work, your team or your premises, and keep it away from the logo.

AI, EPS and PDF: the master files

These are mostly not for uploading to a website. They are the source artwork a printer, sign maker or web designer works from. Your SVG and PNG versions are exported from them. If you have one of these, the hard part is done.

Which format for which job

Here is a simple rule set for a new Irish business with one logo and several places to use it.

  1. Website header and footer: SVG, with a transparent PNG as backup.
  2. Favicon (the tiny icon in the browser tab): a simplified square version of your mark. It is displayed very small, so a full logo with a strapline will not read.
  3. Email signature: a modestly sized PNG. Many email programmes handle SVG badly.
  4. Social media profile: PNG, usually in a square or circular crop, so keep a version of the logo that works inside a circle.
  5. Vans, signs, uniforms, printed stationery: the vector master or a print-ready PDF, supplied by your logo designer.
  6. Invoices and quotes: PNG at a sensible size.

Logo sizes for a website

People often search for exact pixel sizes, so here is what is worth knowing and what is not.

With SVG, the file has no fixed pixel size. You set the display size in the page, and the logo stays sharp. What matters is the shape: a wide, horizontal logo suits a header better than a tall stacked one.

With PNG, export larger than you display it. Modern phones and laptops pack more physical pixels into each screen pixel, so a PNG shown at its exact size looks soft. Contentful’s guide recommends PNG at twice the display resolution when SVG is not available. In practice, if the logo appears 200 pixels wide on the page, export it 400 pixels wide.

Keep the file light. As a real-world example, one large Irish group’s published guidelines for header and footer brand logos specify about 250 × 80 pixels, a maximum of 100 KB and SVG. A small business logo can comfortably sit well below that. If your logo file is over a megabyte, something has gone wrong in the export.

Compress before upload. MDN’s performance guidance points to free optimisation tools for both formats: SVGOMG for SVGs and ImageOptim or Squoosh for PNGs. Squeezing a PNG typically costs nothing visible.

Do not bake text into your logo image elsewhere on the site. Google’s guidance warns that text inside images cannot be selected, searched or zoomed. Your logo is the exception, because it is a brand mark, but your phone number or opening hours belong in real text.

Logo sizes for a website

Getting the logo to look right on the page

The file format is the first decision, not the last. Three habits make a visible difference.

Have a light and a dark version. A full-colour logo that works on white can vanish on a dark footer. Keep a white or reversed version too. If your site has a dark header or a coloured banner, this is not optional.

Describe it in alt text. Alt text is the short description read aloud to people using screen readers, and shown if the image fails to load. Public bodies treat this as standard: Dublin City Council’s brand guidelines require digital logo uses to include appropriate alt text and to meet minimum digital pixel dimensions. For your own site, the business name is usually enough.

Match the colours everywhere. A logo should have specific screen colour values (RGB or HEX codes) and print values, so the red on your van matches the red on your website. Ask for these in writing when your logo is designed.

The files a new business should always have

Many owners discover the problem months later. A friend, a past web designer or an online marketplace supplied a single JPEG, and now the sign maker wants a vector file. At that point, the logo may need to be redrawn.

A sensible full set looks like this:

  • the editable vector master (AI, EPS or similar);
  • an SVG for the web;
  • transparent PNGs in full colour, black and white;
  • a print-ready PDF;
  • the colour values for screen and print;
  • a square or simplified version for favicons and social profiles.

Save them in one clearly named folder and back it up somewhere other than a single laptop. If you want a method for organising your logo files by use, with separate folders for web, social and print, that habit saves a lot of searching later.

One warning about SVG: the extension alone does not prove a file is truly vector. Some SVG files simply wrap a flat image inside the format. Open the file at a very large zoom: if the edges stay clean, it is a genuine vector.

If you do not have a logo yet

A lot of new businesses reach this topic before they have any logo at all. That is the easiest moment to get it right, because the files can be created properly from the start rather than rescued later.

We offer a Logo Starter Package from €149 and a Logo & Brand Starter Package from €249, both one-off prices, alongside our websites. Doing the logo and the site together means the logo is prepared for the place it will actually be used first: your website.

If your current logo is a blurry JPEG

If you already have a website with a pixelated logo, there are two routes. If an original vector file exists, find it and use it. If it does not, the logo needs to be recreated as a vector from the existing image. Either way, once a clean master exists, every other version is a quick export.

This is a common trigger for a website redesign. A refreshed site with a crisp logo, a mobile-friendly layout and clear enquiry options often changes how professional a business looks. Our guide to making a website mobile friendly covers the layout side, and our rebrand website plan is useful if your logo is changing at the same time.

Perspective

We build websites for new businesses, sole traders and small firms across Ireland, and the logo is rarely the glamorous part of a project. It is the part that quietly goes wrong.

The usual story is simple. A business owner has a logo from years ago, perhaps from a relative or a quick online service, and it exists as one small image. It looks acceptable on a business card. On a website header, on a phone, next to a coloured banner, it looks fuzzy and boxed in. Customers cannot say what is wrong, but they register that something feels amateur.

Our view is that a small business should not have to learn the vocabulary of vectors and rasters to avoid this. You should be able to tell the person building your site what your business does and have the technical choices handled sensibly. That is why we work with a direct line between you and the person building the site, with fixed quotes and no jargon.

If you are starting out, sorting the logo and the website together is the cleanest route: one set of colours, one set of files, one look across your site, your Google Business Profile and your van. That is what our logo starter packages and website packages are set up for.

niall

What a website project with us looks like

Our websites are priced as fixed one-off fees: the Launch Website is €499, the Business Website is €799 and the Growth Website starts from €1,295. Hosting, technical care and minor updates are covered by monthly care plans: Website Care at €29 per month, Business Growth Care at €49 per month, or Website Care + SEO Growth at €99 per month. Logo packages start from €149.

If you want your logo, colours and site to look right from day one, see the full pricing or how the process works.

Newbusinesswebsites

FAQ

SVG, because it stays sharp at any size and is usually light to load. If SVG is not accepted, use a transparent PNG exported at about twice the size it will be displayed. Keep JPEG for photographs.

PNG. It supports a transparent background, so the logo sits cleanly on any colour, and it keeps edges and text crisp. JPEG adds a solid box behind the logo and its compression can blur fine detail.

What file size should my logo be?

As small as it can be while staying sharp. A published example from an Irish group sets a header logo at around 250 × 80 pixels and under 100 KB, and a simple logo will often be far lighter. Compressing the file before upload keeps your pages quick.

What are vector logo files?

Vector files describe your logo as shapes and lines rather than pixels, so they can be enlarged to any size without going blurry. Common vector formats are SVG, AI, EPS and PDF. Every business should hold at least one, as it is the source for all other versions.

Do I need different logo versions for light and dark backgrounds?

Yes, in most cases. A full-colour logo can disappear on a dark header or footer, so keep a white or reversed version alongside the main one. Having both ready also makes a redesign much quicker.

Sources

WhatsApp