Skip to content
EditFlip
ENRO
Back to blog
Background

How to remove the background from a WebP image

A picture saved from a website often arrives as a WebP. Here is how to get a transparent PNG out of it, whether it was see-through already or not.

Eric Rada · Founder · · 6 min read

In short

  • Choose the WebP as it is. Auto cuts the background out, anything already see-through stays that way, and the result is a PNG.
  • Save as PNG when the background must stay transparent, and as JPG only when a white background is fine.
  • Remove a WebP background free in your browser

You right-click a picture on a website, choose to save it, and the file ends in .webp. Then the program you wanted it for does not take WebP, or it takes it and shows a background you did not expect. What you actually need is a PNG with a transparent background.

There are two different situations hiding here. Some WebP pictures are already see-through and only need to become a PNG without losing that. Others have a real background, white or a full photo, which has to be cut out. This guide shows how to tell them apart, what to do in each case on EditFlip, and which format to keep at the end.

On EditFlip, step by step

  1. Step 1

    Choose the WebP

    Go to editflip.com/remove-background and press Choose a photo, or drop the WebP on the page. There is nothing to convert first. The editor opens on Background, with see-through areas drawn as a checkerboard.

  2. Step 2

    Let Auto run

    Auto starts on its own and says Finding what is in front. It keeps the subject and clears what is behind it. Parts of the WebP that were already see-through stay see-through.

  3. Step 3

    Put back or take away by hand

    If Auto removed something you wanted, press Keep and paint over it: it comes back from the original picture. If background is left, press Erase and paint over it. The Brush slider changes the size, and each stroke can be undone.

  4. Step 4

    Apply, Done, Download

    Press Apply, then Done. The picture comes back as a PNG with “(edited)” after its name, at the same width and height as the WebP. Press Download.

What a WebP is, and why you have one

WebP is a picture format made by Google for websites. Its whole point is small files. Google's own figures say a WebP kept exact is about 26% smaller than the same picture as a PNG, and a WebP that gives up a little detail is around 30% smaller than a matching JPG. Smaller pictures mean faster pages, so many sites now serve WebP.

That is why saving a picture from a web page so often gives you a .webp file, even when the site's owner uploaded a JPG or a PNG. The site made its own lighter copy and handed you that.

Browsers open WebP without trouble. The problems start elsewhere: an older program, an upload form that lists only JPG and PNG, a print shop, a tool at work. In those places a PNG is the safe thing to hand over.

Is your WebP already transparent?

WebP can hold a see-through background, like PNG and unlike JPG. So a WebP may be transparent or not, and the file name does not tell you.

Think about how it looked on the page. A logo, an icon or a sticker that sat directly on the page's colour, with no box around it, was almost certainly transparent. A product photo in a white square, or any ordinary photo, was not: the white or the scenery is part of the picture.

On EditFlip you see it as soon as the editor opens. Areas that are already empty are drawn as the checkerboard before Auto has done anything. If the whole rectangle is filled, there is a background to cut.

Already transparent: keep it and get a PNG

One thing to know first, so you do not lose the transparency by accident. The Convert tile for a WebP on EditFlip makes a JPG, and a JPG cannot be see-through, so the empty parts come out white. That is the right choice only when you want a white background.

To end up with a PNG, take the picture through Remove background. What was empty in the WebP stays empty, and the result is always a PNG.

Auto will still look for a subject, and with a picture that is already cut out it may clear something you wanted, such as a soft shadow or a small detached piece. Paint over those spots with Keep and they return exactly as they were in the WebP. Then press Apply and Done.

With a background: cutting it out

For a WebP with a real background, the job is the same as for any photo. Auto finds what is in front and clears the rest. It does best with one clear subject that stands out from the background: a person, a shoe, a bottle, a pet.

Pictures saved from websites are often small, since the site shrank them to load quickly. A small picture leaves less room for a clean edge, and fine things like hair or thin straps can come out a bit soft. If the site offers a larger version of the picture, for example when you open it on its own, save that one.

Zoom in and check the edge before you press Apply. Erase with a small brush clears leftover bits of background, and Keep restores anything that was cut away. Up to eight strokes can be undone.

Which format to save in

PNG is the answer whenever the background has to stay transparent. It holds transparency, keeps the picture exactly as it is, and opens in practically every program, document editor and upload form. This is what Remove background gives you.

JPG is right only when you do not need transparency. It makes a small file and is accepted everywhere, but every empty part becomes white. If that is what you want, a white background behind a product for instance, convert the PNG or the WebP to JPG and you are done.

Staying in WebP makes sense for one case: the picture is going onto your own website, and the site handles WebP. EditFlip does not save WebP files, so for that case keep the original. For sending to people and for documents, PNG causes the fewest surprises.

Size and quality after the change

The PNG has the same width and height as the WebP. Nothing is sharpened or blurred. If the WebP was a compressed one, its small flaws are carried over as they are: turning it into a PNG does not bring lost detail back, it only stops more from being lost.

Expect a bigger file. WebP is built to be small and PNG is built to be exact, so the PNG of a photo can be several times heavier than the WebP it came from. For a flat logo or an icon the difference is much smaller.

When a form sets a limit, press Make smaller on the result. It shows the size before and after, and then lets you pick a target such as 1 MB or 500 KB. The background stays see-through.

Problems and their fixes

Renaming the file from .webp to .png does not convert it. Inside it is still a WebP, and a program that cannot read WebP will still refuse it, or show an error. The picture has to be saved again in the new format.

The background came back white somewhere along the way. Something re-saved the picture as a JPG: a chat app, a copy and paste, or the Convert to JPG tile. Go back to the PNG and send it as a file or a document, or use Send with one link, which passes on the PNG itself.

The checkerboard is in the picture. If the squares are still there after you place the PNG on a coloured slide, they were drawn into the image you saved, most likely a preview rather than the real file. Run it through Remove background and erase them like any other background.

Choose the WebP, let Auto clear the background, fix it with Keep and Erase, and download a transparent PNG at the same size. Free, no account, and the picture is not uploaded.

Remove a WebP background on EditFlip →

Questions

How do I convert a WebP to a PNG with a transparent background?

Choose the WebP on EditFlip's Remove background page. Auto clears the background, you fix it with Keep and Erase, then press Apply, Done and Download. The result is a PNG, and anything that was already see-through stays that way.

Can a WebP image be transparent?

Yes. WebP can hold a see-through background, like PNG. Whether a given WebP is transparent depends on the picture, not on the format.

Why did my transparent WebP get a white background?

It was converted to JPG, which cannot be see-through, so the empty parts were filled with white. Use Remove background instead, which gives a PNG.

Why do pictures from websites save as WebP?

WebP files are smaller than JPG and PNG, so pages load faster. Many sites make a WebP copy of every picture and serve that.

Can I just rename .webp to .png?

No. Renaming changes the name, not what is inside. The picture has to be saved again as a PNG.

Will the PNG be bigger than the WebP?

Usually yes, sometimes several times bigger for a photo. Press Make smaller on the result if you need a lighter file. The transparency is kept.

Should I save as PNG or JPG?

PNG when the background must stay transparent. JPG only when a white background is fine and you want a small file.

Is my picture uploaded?

No. Everything runs in your browser, on your own phone or computer.

Do it right in your browser.
Free, no account. Your files stay on your device.
Remove a WebP background