BGPeel

Turn a Magenta or Chroma Key Background into a Transparent PNG

AI image generators don't give you a transparent background for game sprites or icons. Instead, generate on a solid color like magenta or green, then remove just that color to get a clean transparent PNG.

→ Try it on BGPeel

Which background color should I use?

The key is a color that barely appears in the object.

In the prompt, ask for no shadows or gradients, e.g. “solid magenta (#FF00FF) background, no shadow, no gradient”, for cleaner results.

How to use it

  1. Drop images or a folder onto BGPeel.
  2. The background color and type are detected automatically. Click “Convert”.
  3. Check the results on a checkerboard, black or white preview, then download them all as a zip.

Real results

Three monsters generated with Nano Banana on a requested magenta background, processed with BGPeel's default settings. All three were requested as #FF00FF, yet the actual backgrounds were #FC01FB, #FA25FE and #D506D9; auto-detection measured each image's own color and removed it. The sparkle mark in the corner went with the background, and background enclosed by the object, such as the gaps between the plant's vines, became transparent too.

Plant, slime and spirit monsters on magenta, before and after background removal
Top: originals (magenta background). Bottom: BGPeel results with default settings (the checkerboard is transparency).

Which background color removes best is compared on the same characters in the background color test.

How is this different from just deleting the color?

If you delete the background color with an editor's magic wand, a pink or green fringe stays around the object, because edge pixels are partly mixed with the background. BGPeel measures how much background is mixed into each pixel, makes it only that transparent, and subtracts the mixed-in background color to restore the object's own color. It can also remove glows attached to the background.

If the result isn't quite right

If a background-colored line remains around the object or its edges get trimmed, see the settings guide at the bottom of the tool page and adjust “Fine-tuning”. You can then reconvert only the cards that need it.