Convert one PNG or a local batch of up to 20

Flatten alpha intentionally, then encode JPEG

Select validated static PNGs, choose a background color and quality, then compare every source and encoded result. The tool accepts PNG input only and verifies each actual signature before decoding.

Loading the PNG to JPG converter…

Enable JavaScript to select, validate, composite, preview, and download a JPEG. Transparency, metadata, and format limitations remain readable below.

JPEG cannot store alpha

Every transparent pixel needs a background color

A PNG can describe opacity from fully transparent to fully opaque. JPEG can describe color, but not that separate alpha value.

Before JPEG encoding, the tool fills the output canvas with the selected background and draws the decoded PNG over it. Fully transparent areas become the background color. Partially transparent edges are blended with that same color, which matters around logos, icons, cut-out products, shadows, and anti-aliased text.

Choose the background that matches the final placement. A white matte can create a pale fringe when the JPEG is later shown on black; a black matte can create a dark fringe on white. Once flattened, the original transparency cannot be reconstructed from the JPEG alone.

Alpha channel
A per-pixel opacity value supported by PNG but not JPEG.
Compositing
Combining source color and opacity with a chosen opaque background.
Edge matte
The background color blended into partially transparent boundary pixels.
Opaque output
Every JPEG pixel has a color; none remains transparent.

A new lossy encoding

Quality is a browser encoder input, not a guaranteed percentage

  1. 1

    Decode PNG pixels

    The validated PNG is decoded at its intrinsic pixel dimensions. Its compressed byte size does not predict how much memory the decoded canvas requires.

  2. 2

    Composite the background

    The selected opaque color is painted first, then the PNG is drawn over it. This explicitly resolves transparent and translucent pixels.

  3. 3

    Encode and measure JPEG

    The browser receives the chosen quality value. The resulting blob is checked for the JPEG MIME type, measured, and previewed; a silent format fallback is treated as an error.

JPEG commonly suits continuous-tone photographs. It can be a poor match for screenshots, line art, tiny text, or flat-color diagrams because block and ringing artifacts become conspicuous at hard edges. Converting does not promise a smaller file: content and encoder behavior decide the measured result.

Pixels survive; ancillary records generally do not

Metadata, orientation, and the 96 dpi caveat

PropertyConversion behaviorWhat to use instead
Pixel dimensionsThe decoded width and height are used for the output canvas.Treat these dimensions as authoritative for screens.
Text and profile metadataSource PNG chunks and descriptive metadata are not copied through the Canvas path.Archive the original and add required records later with a metadata-aware editor.
OrientationThe output represents the pixels as decoded and drawn by the browser.Visually verify width, height, and orientation before publishing.
Print resolutionCanvas exports typically use 96 dpi where the format supports resolution metadata.Set the intended physical size or dpi later in print-production software.

Dpi metadata does not add image detail. A 2400 × 1600 image contains the same number of pixels whether a file labels it 72, 96, or 300 dpi; the label changes the implied physical print size, not the screen pixel grid.

Strict input identity

PNG validation and conversion limits

CheckContractWhy it exists
Magic bytesThe file must begin with the PNG signature.A .png extension or image/png declaration alone is not proof of format.
Static imageAnimated PNG is rejected rather than reduced to one frame.JPEG cannot preserve animation or timing.
Input sizeAt most 25 MiB of encoded source data.Input bytes are checked before the more expensive decode.
Pixel countAt most 40 megapixels, measured as width × height.Decoded RGBA data and the output canvas can be much larger than the PNG file.
Other formatsJPEG, WebP, HEIC, AVIF, and unknown signatures are rejected here.Dedicated tools make format-specific transparency and animation behavior explicit.

Convert when the destination requires JPEG

Good uses and cases where PNG should stay PNG

Photo stored as PNG

A photographic PNG may shrink substantially as JPEG, although the result is lossy. Compare fine texture, gradients, and the measured byte size.

Opaque upload requirement

If a service accepts JPEG only, choose its page background before conversion so a transparent logo does not receive an unexpected black or white matte.

Screenshot or diagram

Keep PNG when small type, one-pixel lines, or limited flat colors must remain crisp. JPEG artifacts can offset any size benefit.

Editable transparent asset

Keep the original PNG as the master. A flattened JPEG cannot restore alpha, source chunks, or the exact pre-encoded pixels.

Conversion within the tab

The selected PNG is processed locally

The browser reads the selected PNG, validates its signature, decodes its pixels, composites the chosen background, and creates the JPEG blob in the current tab. The tool does not intentionally post those image bytes to a remote conversion endpoint.

This is a bounded processing statement, not a claim about every part of the device. Loading the site makes normal page requests, and browser extensions, security software, synced download folders, backups, and later upload destinations can handle the source or result separately. Preserve the original when provenance, alpha, or metadata matters.

Need to keep transparency?

JPEG is the wrong destination when an alpha channel is required. Resize or compress to PNG/WebP instead.

Open the Image Resizer →

Format-specific answers

PNG to JPG FAQ

What happens to PNG transparency when it becomes JPG?

JPEG has no alpha channel. The converter composites every transparent and partially transparent PNG pixel over the background color you select, so that appearance becomes permanent in the JPG.

Is converting PNG to JPG lossless?

No. JPEG encoding is lossy and can soften edges or add artifacts around text, diagrams, and flat-color graphics. The quality setting guides the browser encoder but does not promise a fixed visual score or file size.

Will a JPG always be smaller than the PNG?

No. Photographs often become smaller, but simple or already optimized PNG graphics can produce a similar or larger JPEG. Compare the measured output size and preview instead of relying on the extension.

Does the converted JPG keep PNG metadata and print resolution?

Source metadata is not copied by the Canvas conversion path. Browser-generated JPEG metadata is limited, and Canvas exports typically use 96 dpi where resolution metadata is supported, so rely on pixel dimensions and set print metadata later in a dedicated editor.

Which PNG files can this converter accept?

It accepts a validated static PNG up to 25 MiB and 40 megapixels. Animated PNG, HEIC, AVIF, renamed files with the wrong signature, and images the browser cannot decode are rejected.

Is the PNG sent to a conversion server?

The PNG is decoded, composited, encoded, previewed, and downloaded in the current browser tab without intentionally sending its image bytes to a conversion service. Page requests, extensions, device services, synced folders, and later sharing remain separate boundaries.