To remove background from a PNG and keep a clean transparent PNG, isolate the subject, convert the selection to a non-destructive mask, refine the edge, then export with transparency enabled. Painting the background white does not make it transparent.
The free background remover below lets you choose a photo and download a transparent PNG; it needs JavaScript. You can also open the tool on its own page. Use a desktop editor when hair, glass, or a busy scene needs a mask.
Choose a method that fits the image
| Image | Good starting method | Likely refinement |
|---|---|---|
| Product on a plain, contrasting background | Automatic subject or foreground selection | Small mask corrections around corners |
| Hard-edged object or logo | Path or shape-based selection | Minimal feathering; inspect straight edges |
| Hair, fur, foliage or translucent fabric | Foreground/subject selection plus edge refinement | Decontaminate edge color and inspect fine detail |
| Busy background with similar colors | Manual mask painting or combined selections | Zoomed review on multiple backgrounds |
Step-by-step background removal
- Start from the highest-quality original. Repeatedly editing a small or heavily compressed source makes clean edges harder.
- Duplicate the layer or preserve the original. Keep a reversible working file before destructive edits.
- Select the foreground. Use an automatic subject tool, foreground-selection tool, paths or manual selection according to the image.
- Create a layer mask. A mask hides pixels without immediately deleting them, so mistakes remain editable.
- Refine at 100% zoom. Check hard edges, holes inside the subject, hair and semi-transparent pixels. Too much feathering creates a soft halo.
- Inspect on light and dark test layers. A leftover white fringe may disappear on white but become obvious on a dark page.
- Export as PNG with transparency enabled. Verify the exported file by opening it over a colored background.
A concrete mask workflow in GIMP
- Open the image and duplicate its layer. Use Free Select or Paths for a firm outline, or Foreground Select for a more complex subject.
- Make sure the selection contains the subject, then choose Layer → Mask → Add Layer Masks and initialize the mask from Selection.
- Click the mask thumbnail. Paint black to hide unwanted areas and white to restore parts of the subject.
- Hide the untouched original layer. Add a colored layer underneath temporarily to inspect edges, then hide that test layer before export.
- Keep an XCF working copy; export a separate PNG and reopen it to check transparency.
The GIMP mask documentation explains mask initialization; its background separation guide covers selection methods.
Why masks are safer than Delete
A mask stores visibility separately from the image pixels. You can reveal an area that was hidden by mistake, soften one section without blurring the entire subject, and preserve partial transparency along antialiased edges. Apply or rasterize the mask only when a later workflow specifically requires destructive pixels.
Fix common background-removal problems
A white or colored outline remains
The original background color has contaminated semi-transparent edge pixels. Contracting the mask aggressively often cuts into the subject. First try edge-color decontamination, careful mask painting or a very small inward adjustment, then inspect on contrasting backgrounds.
Hair and fur look cut out
A hard selection discarded partially covered pixels. Use an edge-refinement or foreground-selection tool and retain varied alpha values instead of forcing every edge pixel to fully opaque or fully transparent.
The checkerboard appears in the exported image
A checkerboard shown by an editor normally represents transparency, but a checkerboard copied from a preview or screenshot is made of real pixels. Toggle the editor's transparency grid and inspect the layer stack before export.
The exported PNG still has a solid background
Confirm that the background layer is hidden, the mask is active, and the export option preserves transparency. Reopen the exported file in another editor and place a color layer underneath it.
Which tool should you use?
Desktop editors are useful for manual masks, repeatable export settings and sensitive files that should remain local. Browser tools can be convenient for simple cutouts, but automation may struggle with hair, glass, shadows and foreground colors similar to the background. Review the tool's data-handling terms before uploading confidential or client material.
PNG export checklist
- The visible subject has no accidental holes.
- Edges look acceptable on both light and dark backgrounds.
- The canvas bounds and padding are intentional.
- Transparency is enabled in export.
- The final file was reopened and checked, not just the editor preview.
For the format details behind the workflow, read how PNG alpha transparency works. More practical methods are collected under Design workflows.
If the problem is a remaining outline, use the edge-halo checklist. If gray squares remain, check whether the checkerboard is baked in before repeating automatic removal.