Skip to content
ToolsMastar

Fill a Transparent Background with Color

Replace transparent areas of a PNG or WebP with a solid background color.

Input:
PNG, WEBP, AVIF, GIF
Output:
JPG, PNG, WEBP
Max size:
50 MB
Runs:
In your browser (no upload)

What the Image Background Color does

Replace the transparent background of a PNG, WebP, AVIF or GIF image with a solid color, for example white for marketplaces that do not accept transparency.

Options

  • Background color and output format (JPG, PNG or WebP).

Good to know

This fills existing transparency. It does not detect or remove a background from a photo.

How to use the Image Background Color

  1. 1

    Drag your PNG, WEBP, AVIF, GIF file into the upload area, or click it to browse your device.

  2. 2

    Adjust the options to suit your needs — the defaults work well for most files.

  3. 3

    Click “Run Image Background Color” to start processing.

  4. 4

    Preview the result, then download it. Batch results can be downloaded together as a ZIP.

Supported formats

  • PNG is a lossless format that supports full transparency. Best for screenshots, logos and graphics with sharp edges. More about the PNG format.
  • WebP is a modern format from Google supporting lossy and lossless compression plus transparency, typically 25–35% smaller than JPG. More about the WebP format.
  • AVIF is a next-generation format based on the AV1 codec, offering excellent compression and HDR support. More about the AVIF format.
  • GIF supports simple animation and up to 256 colors per frame. It is universally supported but produces large files. More about the GIF format.
  • JPG (JPEG) is a lossy format ideal for photographs. It has no transparency and is supported everywhere. More about the JPEG / JPG format.

Frequently asked questions