ETEvoraTools
Image Conversion

PNG to JPG

PNG to JPG converts decoded pixels to a JPEG download, optionally resizing width and using the entered quality. JPEG can suit photographs, but it cannot preserve alpha transparency, palette structure, 16-bit samples, PNG chunks, or exact lossless pixels. The current canvas is not prefilled with a matte color, so transparent regions can become dark.

Runs locally — files stay on your device
Quick answer

What happens to transparent PNG areas?

JPEG has no alpha; in this implementation transparent canvas pixels can be encoded against black.

PNG and JPEG preserve different image properties

PNG supports lossless pixels and alpha, while JPEG is lossy and opaque. Conversion is a new rendering, not a container rename.

How it works

The browser decodes the image, draws it at original or requested width, and exports image/jpeg with default quality 82 unless changed.

Key concepts

Alpha needs explicit compositing

A background should be drawn before JPEG export when a white or branded matte is intended.

JPEG artifacts favor some content

Photos usually tolerate them better than sharp UI edges.

When to use it

  • Convert an opaque photograph to JPEG.
  • Create a broadly supported photographic output.
  • Reduce a large photo-like PNG after comparison.

When not to use it

  • Do not use for transparent assets.
  • Do not expect screenshots or text graphics to stay lossless.
  • Do not preserve PNG color and metadata chunks.

Worked examples

Opaque photo

Input
photo.png
Expected output
photo.jpeg

JPEG may be smaller.

Transparent icon

Input
icon.png
Expected output
Opaque JPEG with altered transparent regions

Alpha is discarded.

16-bit PNG

Input
High-bit-depth source
Expected output
Browser canvas representation

Original sample depth is not preserved.

Common mistakes

Expecting transparency

JPEG cannot store it. Correction: Use PNG or WebP.

Renaming the extension

A format change requires decoding and encoding. Correction: Use the generated file.

Assuming smaller output

Some simple PNGs are already efficient. Correction: Compare byte size and quality.

Best practices

  • Use an opaque source or pre-composite intentionally.
  • Inspect edge artifacts.
  • Retain the PNG master.

Related operations and differences

JPG to PNG

Choose JPG to PNG when you need to convert JPG images to PNG locally.; use PNG to JPG specifically for png.

PNG to WebP

Choose PNG to WebP when you need to convert PNG images to efficient WebP files.; use PNG to JPG specifically for png.

WebP to PNG

Choose WebP to PNG when you need to convert WebP images to widely compatible PNG.; use PNG to JPG specifically for png.

Image Compressor

Choose Image Compressor when you need to reduce image file size with adjustable quality.; use PNG to JPG specifically for png.

Image Resizer

Choose Image Resizer when you need to resize images to exact dimensions locally.; use PNG to JPG specifically for png.

Add Text Watermark to Image

Choose Add Text Watermark to Image when you need to place a text watermark in the lower-right corner.; use PNG to JPG specifically for png.

Limitations and privacy

  • JPEG output only.
  • No matte selector, metadata, animation, color-profile, bit-depth, or palette preservation.
  • Browser decoding and encoding determine results.

Selected images are decoded and processed locally in this browser.

Frequently asked questions

Is transparency retained?

No.

Is conversion lossless?

No.

Will JPEG always be smaller?

No.

Are PNG metadata chunks retained?

No.

References