HeyDreaming

Free · processed in your browser · free account to download

Make a Transparent PNG from Any Photo

Loading the tool…

Drop a product, portrait, logo or object photo into the box to knock out the background and save a PNG with a real alpha channel. The cutout runs on your device, so the photo is not uploaded.

How do I make the background of a picture transparent and save it as a PNG?

Drop your JPG, PNG, WebP, AVIF or HEIC file (up to 30 MB) into the box above. The background is removed in your browser; the first run takes a few seconds to get ready. It isolates the foreground subject and displays the cutout over a gray-and-white checkerboard so you can check the edges. The full-resolution transparent PNG is built on its own; press Download to save it.

How it works

01

Choose the image

Drag a JPG, PNG, WebP, AVIF or HEIC (.heif) file up to 30 MB into the box, or click to browse. One image is processed at a time.

02

Let the tool cut out the subject

The cutout is made in your browser tab, so the photo is not uploaded. The first run takes a few seconds longer while the tool gets ready.

03

Check the checkerboard preview

Slide the divider across the preview (up to 1200 px on the long side) to verify that background areas show the checkerboard and foreground edges stay intact.

04

Download the PNG

The full-size image (capped at 4096 px on the long side) is rendered on its own once the preview is ready; click Download to get your -no-bg.png file.

Why transparent PNGs need an alpha channel

A standard JPG stores only red, green and blue values for each pixel, so every part of the rectangle must be painted with a visible color. Even when a picture looks like it sits on a blank backdrop, a JPG or a flat screenshot bakes that white or gray box into the image — and sometimes bakes a fake checkerboard pattern right into the pixels.

A transparent PNG adds a fourth channel called alpha, which stores an opacity number from 0 (completely see-through) to 255 (solid) for every pixel. When you place the saved PNG onto a website, slide deck, label layout or video timeline, the 0-alpha background disappears and the soft intermediate alpha values blend the subject's edges smoothly into whatever sits behind it.

How the cutout is computed and saved

The tool scales a working copy of your image to 1024×1024 pixels and analyses it in your browser tab to find the subject and build a mask. Raw alpha values at or below 8% are clamped to 0, values at or above 92% are clamped to 255, and the transition band in between is linearly rescaled so the background is completely clear without turning the subject edge into a jagged stair-step.

The mask is then scaled up and applied to the full-size picture: back to the photo's dimensions (up to 4096 px on the long side) and applied on an HTML canvas. Because PNG is lossless and carries four channels, converting a compressed JPG, WebP, AVIF or HEIC photo into a transparent PNG usually increases the file size in bytes. The output is written in standard 8-bit sRGB without EXIF or GPS tags.

What makes a clean transparent PNG

Products shot on a table, headshots, clothing on a hanger, stickers and solid graphics with clear separation between the subject and the room behind it produce the sharpest masks. If you drop in an image that already had a solid white or colored backdrop — such as a supplier JPG or a flat logo — the model still looks for the object shape rather than deleting every white pixel inside the subject itself.

Very thin strands of hair, transparent glass, smoke and wire cages are only partly opaque in reality, and because the model evaluates the whole frame at 1024×1024, fine gaps inside those areas may stay partly filled. Always inspect the full-size PNG after saving if your layout places the cutout over a dark background.

What this tool does not do

It does not remove a single solid color by hex code (chroma key), provide a manual eraser or restore brush, or keep camera EXIF metadata and wide-gamut color profiles.

See all free tools

Keep exploring

Related free tools

Questions

Transparent PNG: FAQ

Is my photo uploaded when I make a transparent PNG?

No. Your photo is processed on your device and is not uploaded. Usage events such as tool runs and file sizes are sent to Google Analytics, never the image.

Why does the preview show a gray and white grid?

The checkerboard is only drawn behind the preview on screen so you can tell transparent areas apart from white parts of your subject. The downloaded PNG file does not contain the grid.

Will white areas inside my product or logo turn transparent?

Usually no. Unlike a magic-wand color eraser that deletes every white pixel, the cutout looks for the main foreground object and keeps interior white shirts, labels and highlights opaque.

Why is the new PNG file larger than my JPG?

JPG compresses photos with lossy math and has no alpha channel. PNG is lossless and stores red, green, blue and alpha for every pixel, which usually takes more bytes. You can run the saved file through the PNG compressor to shrink it.

What happens if my image has no clear subject?

If the model produces an empty mask where no pixel reaches at least 50% opacity, the tool stops and reports that no subject was found rather than handing you a blank PNG.

Can I make a transparent GIF instead of a still PNG?

This page handles still photos (JPG, PNG, WebP, AVIF and HEIC/HEIF) and saves a still image, a PNG by default. To knock out the backdrop of an animated GIF frame by frame, use the GIF background remover.