Skip to content

PNG to JPG Converter

Upload a PNG and convert it to JPG. Since JPEG has no alpha channel, any transparent area is filled with a background color you pick — white by default, but adjustable — instead of turning black, which is what happens with a naive conversion.

  • Adjustable background color for transparent areas
  • Avoids the "transparency turns black" bug of naive conversion
  • High-quality JPEG encoding
  • Works with any image format the browser can decode
  • Runs fully client-side, nothing uploaded

Converter

Converted locally, the image never uploads

How to convert PNG to JPG

  1. 01

    Upload a PNG

    Drop it in or click to choose a file.

  2. 02

    Pick a background color

    Fills any transparent area — white by default.

  3. 03

    Download

    The converted JPG downloads immediately.

Why transparent areas need a background color at all#

JPEG has no alpha channel — every pixel is fully opaque. A PNG with a transparent background converted naively (without explicitly filling that area first) renders those pixels as black in most implementations, since an unset alpha-blended pixel defaults to black rather than the color a viewer would expect. Filling the transparent area with an explicit background color first — before drawing the image on top — avoids that surprise entirely.

Frequently asked questions

Why did my transparent PNG turn black in other converters?

JPEG has no transparency support, and a naive conversion leaves unset alpha pixels rendering as black. This tool fills transparent areas with a background color you choose before converting, so that does not happen.

Can I use a background color other than white?

Yes — the color picker accepts any color, useful for matching a specific page background.

Is the image uploaded anywhere?

No. The conversion happens entirely in your browser using the Canvas API.

Developers

UUID Generator

Generate cryptographically random UUID v4 or time-ordered UUID v7, in bulk.

Developers

Base64 Encoder & Decoder

Encode and decode Base64 with correct UTF-8 handling, including the URL-safe alphabet.

Developers

ULID Generator

Generate ULIDs — sortable by creation time like UUID v7, but Crockford Base32 instead of hex.