How to make a PNG background transparent

Remove a background, inspect the cutout on light and dark surfaces, and export a transparent PNG that holds up in your design.

Green bottle on its original pink background and on a transparency checkerboard after background removal

Remove background

On this page

Start with the original image

Use the largest clean copy you have. A screenshot or a social-media download can introduce blocky edges around the subject before you even remove the background. Pick a source where the subject is in focus and fully inside the frame. Leave some room around the top and sides if you intend to reuse the cutout in several layouts.

Look at the transition between the subject and the background before deciding how much cleanup to do. A bottle with a sharp outline can work with an automatic first pass. Hair, mesh, glass and fabric fringe have areas where the old background shows through or blends into the subject. Plan to inspect those areas individually.

Remove the background and inspect the result

  1. Open the image in a background-removal tool and run an initial pass.
  2. View the result against the checkerboard. In most image editors the checkerboard represents transparent pixels in the preview.
  3. Zoom in on corners, gaps between parts of the subject and narrow details such as handles.
  4. Restore any missing piece of the subject and erase any leftover background with small adjustments.
Magnified comparison of a bottle edge with a colored fringe and a cleaned edge
Check for a colored fringe where the original background met the subject.

Test the cutout on light and dark colors

Temporarily place a light layer and then a dark layer behind the subject. Pale halos show up more clearly on dark backgrounds, while dark fringes are easier to see on white. A third test on the actual color of your design helps you judge whether a small edge imperfection will be visible at the intended size.

Preserve subtle transitions where they belong. The soft edge of a blurred object and the partial coverage of a strand of hair are both useful details. If you erase every semi-transparent pixel, the result can look jagged. Keep your edits close to the problem rather than applying the same amount of cleanup to the whole outline.

Export a PNG with transparency

Hide or remove the temporary background layers before export. Select PNG and retain transparency or the alpha channel if the exporter offers that setting. The alpha channel records how much of each pixel should be visible. This lets the same cutout blend into a slide, product banner or web design without a solid rectangle behind it.

The same bottle cutout placed on a light card and on a dark green card
Try the cutout on the actual surfaces where it will be used.

Reopen the exported file in an image editor that supports layers. Put a color behind it and check that the color shows through around the subject and through any open gaps. This verifies the exported file itself. Viewing it on a website that uses a white preview background leaves the result ambiguous.

Keep a reusable master

Save a transparent master at the original working resolution. Export smaller copies for specific layouts afterwards. For a logo, icon or overlay, crop the transparent space to make placement predictable. For a product image set, keep the margins consistent so several products align in a grid.

If the final destination requires a solid white image, keep the transparent master and make a separate export. The guide to preparing product photos on white walks through framing several products at a consistent scale.