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.
Static PNG input · Chosen alpha background · Opaque JPEG output
Convert a static PNG into JPEG without leaving transparency to chance. Pick the color that replaces the alpha channel, adjust the browser encoder quality, and inspect the real output before downloading.
input PNG · RGBA
background #ffffff
output JPEG · RGB
Transparent pixels become opaquePreview the chosen background
Convert one PNG or a local batch of up to 20
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
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.
A new lossy encoding
The validated PNG is decoded at its intrinsic pixel dimensions. Its compressed byte size does not predict how much memory the decoded canvas requires.
The selected opaque color is painted first, then the PNG is drawn over it. This explicitly resolves transparent and translucent pixels.
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
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
Convert when the destination requires JPEG
A photographic PNG may shrink substantially as JPEG, although the result is lossy. Compare fine texture, gradients, and the measured byte size.
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.
Keep PNG when small type, one-pixel lines, or limited flat colors must remain crisp. JPEG artifacts can offset any size benefit.
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 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.
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
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.
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.
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.
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.
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.
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.