JPG to PNG Converter

Convert JPEG photos to lossless PNG in your browser.

Your image is processed entirely in your browser. It is never uploaded to a server.

In-depth guide

JPG to PNG: what the conversion does and does not do

Convert decoded JPEG pixels to PNG, understand file-size changes and transparency, and check the browser tool's orientation, metadata and pixel limits.

Last verified: Sources: W3C · MDN Plain-text version of this guide

Key figures at a glance

Pixels after conversion
Lossless storage of the canvas pixels
Detail already lost in JPEG is not restored. Browser decoding, colour handling and any resizing happen before PNG encoding.
Source: W3C
File-size change
Depends on the image and encoder
PNG may be much larger for photographs. No fixed compression ratio is guaranteed.
Transparency
None gained
JPEG has no alpha channel, so the PNG is fully opaque.
Source: MDN
Canvas area limit
16,777,216 pixels
Larger images are scaled down proportionally before conversion.

What converting JPG to PNG really does

A typical JPEG photo uses lossy compression. This tool decodes the JPEG into a browser canvas and writes those canvas pixels to a lossless PNG. Existing blocky edges or colour smudges remain. Browser colour handling and any resizing occur before encoding, so this is not an archival copy of the original file or scene.

That is useful, but it has limits. The conversion cannot bring back sharpness, and it cannot add transparency.

When it is worth doing

  • You are going to edit the picture several times. Every JPEG save compresses again. Work in PNG, then export to JPEG once at the end.
  • A form or app asks for PNG. Some upload screens, game engines and design tools accept only PNG.
  • You are annotating a screenshot saved as JPG. Drawing text and arrows on a PNG does not add a new round of compression.
  • You want a safe archive of an edited JPEG that will not change if you open and save it again.

Changing format does not sharpen a blurry photo. Check the result and its file size before replacing your original.

Size you can expect

File size depends on image content, dimensions and the encoder. There is no reliable fixed multiplier. Use the downloaded file's size for upload limits.

Input or requirement What to expect
Detailed JPEG photo PNG may be much larger without looking sharper
Flat graphic or text PNG can be efficient; compare the actual outputs
A form requires PNG Check both the format and file-size limit

Changing the extension alone does not convert a file. Download the generated PNG and keep the original JPEG separately.

What this tool does with your file

  • The conversion happens on a canvas in your browser; the file is not sent anywhere.
  • One image at a time. The download keeps the original name with a .png extension.
  • Orientation: phone photos are often stored sideways with an EXIF orientation tag. The tool reads that tag and rotates the pixels, so the PNG is upright.
  • Metadata: only pixels are written. Camera model, date and GPS tags in the JPEG are not copied into the PNG.
  • Colour: this is a browser canvas conversion, not a workflow for preserving the original colour profile or high-bit-depth data.
  • Size limit: images above 16,777,216 pixels are shrunk proportionally. For example 8000 × 6000 (48 megapixels) becomes 4729 × 3547.

Tip: if you need a smaller file, compare WebP with the original JPEG. Check visual quality as well as size.

Common mistakes

  • Expecting a sharper picture. Converting never recovers detail. Start from the original camera file if you have it.
  • Expecting a transparent background. The PNG has an opaque background because the JPEG did. Removing a background needs an editor.
  • Converting back and forth. PNG to JPG again adds a new lossy step. Keep one master and export copies from it.
  • Ignoring upload limits. The PNG may exceed a limit that the original JPEG met.

Frequently asked questions

Is my image uploaded anywhere?

No. The image is decoded and re-encoded entirely in your browser using a canvas. It never leaves your device, is never sent to a server, and nothing is stored.

Will the quality drop?

PNG keeps every pixel. BMP also keeps every pixel but flattens transparency onto white. WebP and JPEG are lossy at the default quality of 92, so the quality setting trades file size against fidelity. Decoding an already-lossy JPEG or WebP never brings back lost detail.

Why did my photo come out the right way up?

Photographs from phones store an EXIF orientation tag rather than rotating the pixels. This tool reads that tag and applies the rotation, so the result matches what you saw in your gallery.

Is there a size limit?

Very large images are scaled down to stay within 16,777,216 pixels (about 16.7 million), because some browsers, notably iOS Safari, produce a blank image beyond that. The tool applies the cap in every browser and does not warn you. The aspect ratio is kept.

Sources

  1. W3C — Portable Network Graphics (PNG) Specification, 3rd edition
  2. ITU-T T.81 — JPEG (digital compression and coding of continuous-tone still images)
  3. MDN — Image file type and format guide

This guide explains published rules in plain language. It is not financial, legal or official advice — rules change, so confirm with the agency linked above before you commit.

Related image tools