PNGToolbox

Local batch tool

Add a white background to a PNG — one click, whole batch

Last reviewed: 7 November 2026

Marketplaces want product photos on a pure white background; your cutouts are transparent. This tool drops every PNG in a batch onto the background you choose — white, black, or an exact custom colour — and keeps the file a PNG, so no further loss is added on top of the flattening. Files are processed one by one in your browser.

Flatten transparency

Pick a background, flatten, verify

Flattening reportMeasured in your browser
0 files
PNG

Your measured results appear here

Each row reports the original size, the flattened size, and a direct download.

Measured sizes

What flattening does to the file — measured

Removing the alpha channel removes work from the compressor. We flattened two transparent images from our published corpus onto pure white and saved each result both ways:

Test image PNG with alpha Flattened white PNG Flattened JPG at q85
Product cutout (1,400 × 1,400)1,703.6 KB738.3 KB (−56.7%)80.2 KB
Logo (800 × 800)6.0 KB5.5 KB (−8.3%)29.5 KB (+392%)

Source: measured on 7 November 2026 with Pillow 12.3.0 on the published corpus at ./assets/bench/. Two conclusions. Flattening onto white shrinks the PNG itself, because the compressor no longer stores an alpha plane — the cutout dropped by more than half while staying lossless. And the JPG column is only smaller for photographic content: for the logo it is nearly five times larger and adds compression artefacts. Flatten to PNG here; go to JPG only when the file is photographic and someone else's size limit demands it (PNG to JPG with fill choice).

For marketplaces

White backgrounds and the listing checklist

Large marketplaces standardise on a pure white product background because it removes background distractions and renders identically on every device. The practical checklist before you upload:

  1. Flatten, don't fake. A transparent PNG that "looks white" in your viewer renders as a broken image or a black box on platforms that do not support transparency. Flatten it here so the white is baked in.
  2. Check the edges at 100%. Anti-aliased edges blend with the fill colour. On white that is invisible; on a custom colour a slight halo can appear — zoom in on the busiest edge before batch-exporting.
  3. Keep the transparent master. Flattening is one-way. Keep the original cutout; the flattened file is a derivative for the listing.
  4. Mind platform-specific rules. Requirements like minimum pixel size or maximum file weight differ per marketplace and change over time — verify on the platform's own seller pages, not on a summary article.

Our longer guides cover the surrounding workflow: transparent product images explains the whole cutout-to-listing pipeline, and PNG for e-commerce covers format rules per use case. For the reverse operation, see making a background transparent.

Questions

White background FAQ

Why is the output still a PNG instead of a JPG?

Because flattening and compressing are separate decisions. Flattening already shrinks the PNG (see the measured table); encoding to JPG would add loss on top and is only worth it for photographic files with a strict size limit. PNG keeps the result artefact-free.

My image has a soft drop shadow. What happens to it?

Shadows are partly transparent pixels. They blend with your chosen background: on white the shadow survives as a grey gradient baked in; on black it effectively disappears. Check the preview row after flattening.

Can I match a specific brand colour?

Yes — choose "Custom colour" and pick the exact value. Use the colour's hex value from your design tool rather than eyeballing the picker, or the flattened file will show as a visible rectangle against the real background.

Are my images uploaded?

No. Flattening runs locally in this browser with the canvas API — your files are never transmitted to a server.

Ready to flatten?

Drop a batch of cutouts, pick white, and download marketplace-ready PNGs — measured, private, and free.

Open the tool