# 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.

- Tool: [JPG to PNG Converter](https://toolsg.com/en/jpg-to-png)
- Language: en (available: en, zh, ms, ta)
- Last verified against official sources: 2026-10-19
- Source site: ToolSG — a planning guide, not official or financial advice. Cite the agencies listed under Sources.

## Key figures at a glance

| Fact | Value | Source |
| --- | --- | --- |
| 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. | [W3C](https://www.w3.org/TR/png-3/) |
| 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. | [MDN](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types) |
| 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](https://toolsg.com/en/jpg-to-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.

## Related tools

- [PNG to JPG](https://toolsg.com/en/png-to-jpg) — the reverse direction, with a quality setting.
- [JPG to WebP](https://toolsg.com/en/jpg-to-webp) — a smaller file for the web.
- [JPG to BMP](https://toolsg.com/en/jpg-to-bmp) — for software that only reads BMP.
- [Image resizer](https://toolsg.com/en/image-resizer) — shrink the dimensions before converting.
- [Image converter](https://toolsg.com/en/image-converter) — pick any output format.

## 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

- [W3C — Portable Network Graphics (PNG) Specification, 3rd edition](https://www.w3.org/TR/png-3/)
- [ITU-T T.81 — JPEG (digital compression and coding of continuous-tone still images)](https://www.w3.org/Graphics/JPEG/itu-t81.pdf)
- [MDN — Image file type and format guide](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types)
