PNG to JPG Converter Online

Convert PNG to JPG with adjustable quality and a background colour for transparent pixels. All processing happens in the browser — your images never upload.

cloud_upload

Drop a PNG file here, or click to browse

Processed locally — never uploaded

image

Converted JPG will appear here.

What is a PNG to JPG converter?

A PNG to JPG converter re-encodes a Portable Network Graphics image as a JPEG — typically to shrink the file by 5–10× when transparency is not needed. PNG uses lossless compression and supports an alpha channel; JPEG uses lossy DCT compression and is opaque only. The trade-off is quality versus size: a 4 MB photo PNG often becomes a 350 KB JPG that no human eye can tell apart.

This converter uses the browser's built-in HTML5 Canvas toBlob API. The PNG is decoded by the browser, drawn to an off-screen canvas, and re-encoded as JPEG with the quality you choose. Because JPEG cannot store transparency, transparent PNG pixels are flattened against a background colour you pick. All processing happens in the browser — your images never upload.

How to convert PNG to JPG — 4 steps

  1. Drop a PNG file. Drag a PNG into the drop zone above or click to browse. The file is read locally with FileReader — no upload happens.
  2. Choose quality and background. Use the quality slider (0.5–1.0; default 0.92) and the background colour picker. Background fills any transparent pixels.
  3. Click Convert. Canvas re-encodes the image as JPEG. The output and file-size comparison appear instantly.
  4. Download. Click Download to save the JPG with the same base name and .jpg extension.

Sample input and what the tool produces

Input PNG

File:        screenshot.png
Format:      PNG (RGBA, 8-bit)
Dimensions:  1920 × 1080
File size:   2.4 MB
Transparent: Yes (300 pixels)

Output JPG (quality 0.92, white bg)

File:        screenshot.jpg
Format:      JPEG (YCbCr, 4:2:0)
Dimensions:  1920 × 1080
File size:   285 KB
Saved:       -88%

Quality Slider

Pick anywhere from 0.5 (heavy compression) to 1.0 (max quality). Default 0.92 matches Photoshop High export.

Background Colour

Transparent PNG pixels are flattened against your chosen colour — white, brand hex, or anything else.

Browser-Only

Files are decoded and re-encoded entirely in your browser. Confidential screenshots never leave your device.

Common use cases

  • check_circleShrinking a photo PNG before uploading to a website or CMS that has a JPG-only requirement
  • check_circleReducing email attachment size when sharing screenshots with non-technical recipients
  • check_circleOptimising blog images — a 4 MB hero PNG becomes a 350 KB JPG with no visible difference
  • check_circleConverting marketing photography exports for use in social media (LinkedIn, Twitter prefer JPG)
  • check_circleFlattening transparent PNG mockups against a brand background for product previews
  • check_circleReducing print-ready images to web-acceptable sizes without losing perceptual quality
  • check_circlePreparing thumbnails for image galleries where bandwidth matters more than perfection
  • check_circleLightening legacy PNG screenshots in support tickets, design reviews, and bug reports

PNG vs JPG vs WebP vs AVIF

FormatCompressionTransparencyBest forBrowser support
PNGLosslessYes (alpha)Logos, screenshots, line artUniversal
JPGLossy (DCT)NoPhotos, large opaque imagesUniversal
WebPLossy or losslessYesModern web (25–35% smaller than JPG)Chrome, FF, Safari 14+
AVIFLossy (AV1-based)YesPhotos with smallest size (40–50% smaller than JPG)Chrome 85+, FF 93+, Safari 16+

Need a different conversion?

Convert between PNG, JPG, WebP, or to/from Base64 — all browser-side, no upload.

Frequently Asked Questions

Is my image uploaded to your servers?

No. Conversion runs entirely in your browser using HTML5 Canvas and the native toBlob API. The PNG is read with FileReader, drawn to an off-screen canvas, and re-encoded as JPEG — all on your CPU, in your tab. Open DevTools → Network and click Convert: zero requests are made. Photos with private faces, screenshots of internal dashboards, and confidential mockups never leave your device.

Why does my transparent PNG turn black or white when converted to JPG?

JPG does not support transparency — every pixel must have a colour. When you convert a PNG with transparent pixels, those pixels need a background colour to blend into. Some converters default to black (the unwritten canvas value), others to white. This tool gives you a colour picker so you choose: white for screenshots over light themes, black for dark mode UIs, brand colours for product mockups, or any custom hex.

What quality setting should I pick?

For photos: 0.85–0.92 is the sweet spot — visually lossless to most viewers at 30–50% the file size of 1.0. For screenshots and UI shots: stay at 0.95+ because JPEG artefacts on text are very visible. For thumbnails or social media previews: 0.7–0.8 is fine. The slider in this tool ranges 0.5 (heavy compression, visible blocking) to 1.0 (max quality, larger file). Default is 0.92, the value Photoshop uses for "High" quality export.

When should I convert PNG to JPG?

Convert PNG to JPG when: (1) the source is a photograph — JPG compresses photos 5–10× smaller than PNG with imperceptible quality loss; (2) you do not need transparency — JPG has no alpha channel; (3) you need to upload to a system that requires JPEG (some printing services, older CMS); (4) you are optimising for file size in HTML email or page weight. Keep PNG for: logos, icons, screenshots with text, anything with sharp edges or transparency.

Does converting PNG to JPG lose quality?

Yes — JPEG is a lossy format. The encoder discards high-frequency detail using DCT (Discrete Cosine Transform), perceptual masking, and chrominance subsampling to achieve compression. The loss is invisible at quality ≥ 0.9 for most photos but becomes obvious on text, line art, or gradients (banding). Re-saving a JPEG repeatedly compounds the loss — generation loss. For lossless conversion in the other direction, use the JPG to PNG tool linked below.

Can I batch-convert multiple PNGs?

This tool converts one PNG at a time so you can preview the result and tune quality / background per image. For batch automation use a script: in Node.js, sharp(input).jpeg({quality: 92}).toFile(output); on the command line, ImageMagick magick *.png -quality 92 -background white -flatten %d.jpg or for a single file cwebp / mogrify. Browser-side batch conversion is on the roadmap.

How big a PNG can this tool handle?

The constraint is browser memory and the maximum canvas dimensions. Most browsers support canvases up to 16,384 × 16,384 px (Chrome) or 11,180 × 11,180 px (Safari). A 4K (3840×2160) PNG at full RGBA is ~33 MB in memory and converts in well under a second on any modern device. For 50 MP+ photos, expect a 1–3 second pause and significant RAM usage. There is no server-imposed file size limit because no upload happens.

PNG to JPG Converter Online — Free Browser-Based Image Tool