Skip to content
EditFlip
ENRO
Back to blog
Background

Which image formats support a transparent background?

PNG, WebP, GIF and SVG can be see-through, JPG cannot. Here is how each one does it and which to pick.

Eric Rada · Founder · · 6 min read

In short

  • PNG, WebP, GIF and SVG can have a transparent background. JPG cannot, in any program.
  • PNG is the safe choice for a cut-out photo or a logo: it opens everywhere and keeps soft edges.
  • Make a transparent PNG free in your browser

If you need a picture with a see-through background, save it as PNG. PNG keeps full transparency, including soft, half see-through edges, and every phone, computer and program opens it. WebP does the same in a smaller file. GIF can be see-through too, but only in an on-or-off way, so its edges look rough. SVG is see-through by nature, but it is a format for drawings and logos, not for photos.

JPG has no transparency at all. The moment a see-through picture is saved as JPG, the empty area is filled with a colour, usually white. That is the single most common reason a logo arrives with a white box around it. The rest of this guide explains why, format by format, and how to get a transparent file out of a photo.

On EditFlip, step by step

  1. Step 1

    Choose the picture, in any format

    On EditFlip, open the Remove background page and press Choose a photo. A JPG, PNG, WebP or iPhone HEIC all work. It does not matter that the format you start from cannot be see-through, because the result is saved in one that can.

  2. Step 2

    Let Auto clear the background

    Auto finds the subject and takes the rest away. The cleared area shows as a checkerboard. That pattern is not part of the picture: it is how editors show that there is nothing there.

  3. Step 3

    Fix the edge, then Apply and Done

    Use Keep to paint back anything that was cut and Erase to remove leftovers. Press Apply, then Done. The file that comes back is always a PNG, whatever you started with, at the picture's own width and height.

  4. Step 4

    Download it and keep it a PNG

    Press Download. If the file is too heavy, press Make smaller on it: a transparent PNG stays a PNG and stays see-through. Do not press Convert to JPG unless you want a white background, because JPG fills the empty area with white.

What a transparent background really is

A picture on a screen is a grid of tiny dots called pixels. In an ordinary photo each pixel stores three numbers, for red, green and blue. Together they give its colour.

A format that supports transparency stores a fourth number for each pixel, saying how solid it is. This is called the alpha channel. At zero the pixel is fully see-through and whatever is behind the picture shows. At the top value it is fully solid. Values in between give a pixel that is partly see-through, which is what makes the edge of hair, smoke, glass or a soft shadow look natural on any background.

So transparency is not a colour, and it is not white. It is extra information that the file format either has room for or does not.

PNG: the one that works everywhere

PNG is the standard answer. It can hold a full alpha channel with 256 levels of see-through for every pixel, so edges come out smooth. It does not throw away detail when it saves, which keeps text, logos and sharp lines crisp.

Every browser, phone, office program and design tool opens a PNG and respects its transparency. That is why cut-out tools, EditFlip included, give their result as a PNG.

The cost is size. A photo saved as PNG is often several times heavier than the same photo as JPG, because nothing is thrown away. For a logo or an icon the file is small. For a large cut-out photo it can reach many MB.

WebP: the same thing in a lighter file

WebP is a newer format made for the web. It supports the same full alpha channel as PNG, and it can save in two ways: one that keeps every detail, and one that drops a little detail, like JPG does, while still keeping the transparency.

That second way is its big advantage. A cut-out photo as WebP can be much lighter than as PNG, which helps a web page load faster. All current browsers show WebP.

Outside the browser, support is less even. Some older programs, printing services and upload forms still do not accept WebP. If you are sending the picture to someone else, or putting it in a document, PNG is the safer choice.

GIF: see-through, but only on or off

GIF is old, and its transparency is simple. Each pixel is either fully solid or fully see-through, with nothing in between. One colour of the picture's palette is marked as the see-through one.

Because there are no half see-through pixels, curved edges come out jagged, and a GIF made for a white page shows a pale fringe when it is placed on a dark one. A GIF is also limited to 256 colours, which makes photos look grainy.

GIF still has one job where it is common: short, simple animations. For a still picture with a see-through background, PNG is better in every way.

SVG: drawings that are see-through by nature

SVG works differently from the other three. It does not store pixels. It stores a description of shapes: a circle here, a curve there, this text in this colour. The program that opens it draws those shapes at whatever size is needed.

Anything the file does not draw is simply empty, so an SVG has a see-through background unless someone has put a rectangle behind everything. It also stays sharp at any size, from a tiny icon to a poster, and the files are small.

That makes SVG the best format for logos, icons and diagrams. It is not a format for photos, though. A photo has no shapes to describe, only millions of pixels. If you have a logo only as a photo or a screenshot, a cut-out gives you a transparent PNG, not an SVG.

Why JPG has no transparency

JPG was designed for one thing: photographs in small files. It stores colour for each part of the picture and nothing else. There is no fourth number, no alpha channel, and no setting in any program that can add one. A rectangle of solid pixels is all a JPG can be.

This is why a see-through picture changes when it is saved as JPG. The program has to put some colour in the empty area. Most choose white, some choose black. On EditFlip, Convert to JPG fills it with white.

It also explains a common surprise: a picture with a checkerboard background downloaded from a web search is often a plain JPG where the checkerboard is part of the image. Real transparency only shows as a checkerboard inside an editor.

The change also goes one way only. Once a logo has been saved as a JPG, the white around it is made of real white pixels. Converting that JPG back to PNG gives a PNG with a white background, because there is nothing left to tell the format which pixels were empty. The background has to be removed again.

Which one to choose, and other formats you may meet

For a cut-out photo, a signature or a logo you will paste into a document, a slide or a design: PNG. For pictures on your own website where loading speed matters: WebP. For a logo or icon that you have as a drawing: SVG. For a simple animation: GIF. For an ordinary photo with nothing see-through in it: JPG, since it gives the smallest file.

A few other formats can hold transparency too. AVIF, a recent web format, supports an alpha channel. TIFF, used in printing, can as well. BMP, the old Windows format, is normally saved without it.

Whatever you pick, remember that transparency can be lost on the way. Taking a screenshot of a see-through picture, or sending it through an app that turns every picture into a JPG, gives you a solid background again. Send the file itself, as a file or document, when the see-through part matters.

Turn a JPG, WebP or HEIC photo into a PNG with a see-through background. Auto does the first pass, the brushes fix the rest. Free, no account, nothing uploaded.

Remove a background on EditFlip →

Questions

Which image format has a transparent background?

PNG, WebP, GIF and SVG can have one. PNG is the most widely supported and the usual choice. JPG cannot be transparent.

Can a JPG have a transparent background?

No. The JPG format has no place to store transparency. To get a see-through background, the picture has to be saved as PNG or WebP.

Is PNG or WebP better for transparency?

Both keep full transparency with soft edges. WebP gives smaller files and suits websites. PNG opens in every program, so it is safer for documents and sharing.

Why does my transparent GIF have rough edges?

In a GIF every pixel is either fully solid or fully see-through. Without half see-through pixels, curves and soft edges look jagged.

Does renaming a .jpg to .png make it transparent?

No. Renaming changes only the name. The background has to be removed first, and the result saved as a real PNG.

Why did my PNG get a white background?

It was probably converted to JPG somewhere, by a save option or by an app that re-packs pictures. JPG fills see-through areas with a colour.

Does HEIC from an iPhone support transparency?

Photos taken with the iPhone camera have no see-through areas. To get one, remove the background; the result comes as a PNG.

How do I turn a photo into a transparent PNG?

Choose it on the EditFlip Remove background page, let Auto clear the background, press Apply and Done, and download the PNG.

Do it right in your browser.
Free, no account. Your files stay on your device.
Make a transparent PNG