Can I remove the transparent border?
Use Trim Transparent PNG to crop empty outer margins. This inspector measures alpha and previews the image without changing the original.
Runs in your browser. No file uploads for processing.
Compare PNG edges on white and black, and count transparent, partial and opaque pixels without uploading the image.
Loading tool...
The browser opens the file on your device. PNGs up to 16 MiB and 8 million pixels are supported, with neither side above 8,192 pixels.
Compare the same image over white and black to spot halos. The alpha map uses black for alpha 0, white for alpha 255 and shades of gray in between. For example, a pixel with alpha 128 is counted as partially transparent and appears mid-gray in the map.
The JSON records dimensions, transparent, partly transparent and opaque totals, and a histogram of decoded alpha levels. It does not include image pixels, filenames, or embedded metadata.
The tool processes inputs in your browser. Account features and usage analytics are separate.
Use Trim Transparent PNG to crop empty outer margins. This inspector measures alpha and previews the image without changing the original.
Open the PNG and check the transparent and partly transparent counts. A file can have an alpha channel yet show zero in both if every pixel is opaque.
In the decoded 8-bit alpha channel, fully transparent is 0, fully opaque is 255, and 1–254 are partly transparent. The histogram counts each value.
The white and black matte previews make many fringing artifacts easier to spot. The tool does not classify or remove halos automatically.
No. The display uses the browser’s decoded image and alpha, not the stored RGB samples underneath pixels whose alpha is zero.
No. The browser decodes it and draws the previews on your device. The optional JSON download contains aggregate counts and dimensions, not the image.
Still PNGs up to 16 MiB, 8 million pixels, and 8,192 pixels on either side. Files using 16-bit color samples and animated PNGs are not supported.