About the PNG to JPG Converter
Use this PNG to JPG converter for photos, website images, email attachments, forms and other files that need JPG format. Add one PNG or several PNG images, set the JPEG quality, choose a background colour for transparent areas, and download the results. The tool runs in your browser, so your files are never uploaded. Converted images download straight to your device. JPG cannot store transparency. If a PNG has transparent pixels, the tool places them over your selected background colour. JPEG compression can reduce detail, especially around small text, sharp lines and flat graphics. A higher quality setting usually keeps more detail but can create larger files. Batch conversion and ZIP download help when you have several images. Unlike upload-based converters, this browser-based process keeps the file handling on your device.
How to use it
- 1Select one or more PNG files.
- 2Set the JPG quality with the slider.
- 3Choose a background colour for transparent areas.
- 4Convert the images and download JPG files or a ZIP.
Worked example
Example: Convert a 1,200 x 800 PNG with transparent areas, set quality to 85, and choose white as the background. The result is a 1,200 x 800 JPG with transparent pixels replaced by white. Several converted files can download as one ZIP.
How it works
1Decode PNG: Read PNG chunks, decompress the image data using PNG DEFLATE compression, undo scanline filters, and produce RGB or RGBA pixelsPNG is lossless and may contain an alpha channel2Flatten transparency: For each pixel, with alpha from 0 to 1, use C_out = alpha * C_foreground + (1 - alpha) * C_backgroundApply this separately to red, green and blue channels3Convert colour representation: Convert RGB to a luminance and chrominance representation such as YCbCrChroma subsampling may be applied4JPEG encode: Split the image into 8x8 blocks, apply the discrete cosine transform, quantize DCT coefficients according to encoder quality tables, zigzag-scan coefficients, apply run-length and Huffman entropy coding, and write a JPEG file5Browser implementation: Draw the decoded pixels to an HTML canvas and call canvas.toBlob(callback, image/jpeg, quality)Browser quality uses a number from 0 to 1, but its mapping to JPEG quantization depends on the browser encoderSource: W3C PNG specificationITU-T T.81 JPEG coding standardITU-T T.871 JFIF specification. Last checked 4 November 2026.
What it is good for
- Process many PNG files in one session.
- Choose JPEG quality and a background colour.
- Keep files on your device and download results directly.
- JPG cannot preserve transparency, so transparent pixels need a solid background colour.
- JPEG compression can soften text, sharp edges and simple graphics.
Questions people ask
Are JPG and JPEG the same?
Yes. JPG and JPEG refer to the same image format. JPG is the shorter file extension used by many systems.
Does converting PNG to JPG reduce quality?
Usually, yes. JPEG uses lossy compression, which discards some image information. The change may be hard to see in photos but more visible around text and sharp edges.
What happens to a transparent PNG background?
JPG has no transparency channel. Transparent pixels are placed over the background colour you select before the JPG is created.
What JPG quality should I choose?
Start around 80 to 90 for web photos. Use a higher setting when fine detail matters, but expect a larger file. The visible result depends on the image and browser encoder.
Will the JPG keep the PNG dimensions?
A direct conversion keeps the original width and height. For example, a 1,200 x 800 PNG produces a 1,200 x 800 JPG.
Is renaming PNG to JPG enough?
No. Renaming changes only the filename extension. The image must be decoded and re-encoded as JPEG.
Is this PNG to JPG converter private?
Yes. FreeToolr runs the conversion in your browser, and the files are never uploaded. Results download straight to your device.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.