Converting a JPG to PNG never loses quality. PNG is lossless, so every pixel of the JPG is stored exactly. What the conversion cannot do is add quality back: the detail JPEG compression threw away when the photo was first saved is gone, and its artifacts are copied faithfully into the PNG. Knowing that one fact tells you when the conversion is worth doing and when it only makes a bigger file.
JPG vs PNG in one table
| JPG (JPEG) | PNG | |
|---|---|---|
| Compression | Lossy: discards detail to save space | Lossless: keeps every pixel |
| Best for | Photos, gradients, natural scenes | Screenshots, logos, text, line art |
| Transparency | No | Yes |
| Re-saving | Loses a little more each time | Identical every time |
| Typical size for a photo | Small | Several times larger |
When converting JPG to PNG makes sense
- You are going to edit the image repeatedly. Every JPEG save throws away a little more detail. Convert once to PNG, do all your edits, and export a final JPG only at the end if you need one.
- A tool or form requires PNG. Some upload forms, design tools and app stores ask for PNG specifically.
- You want to add transparency later. PNG supports a transparent background; JPG does not. Converting does not make anything transparent by itself, but it gives you a file that can hold transparency once you erase the background in an editor.
- The image is mostly text or flat color, such as a screenshot that was wrongly saved as a JPG. Future edits will stay crisp as PNG.
When not to convert
- To "improve" a blurry or blocky photo. The blur and blocks are copied exactly. The PNG looks the same and is several times larger.
- For photos on a website. A PNG photo slows the page. Keep photos as JPG or use WebP.
- To shrink a file. For a photo, the PNG is almost always bigger, as the example below shows.
Worked example: what happens to file size
We converted two real JPG files to PNG with a lossless encoder:
| Original JPG | Dimensions | JPG size | PNG size | Change |
|---|---|---|---|---|
| A detailed game screenshot (photo-like) | 2868 × 1320 | 1.33 MB | 5.79 MB | 4.4 times larger |
| An app store graphic with text and flat color areas | 3840 × 2560 | 1.15 MB | 2.97 MB | 2.6 times larger |
The pixels in each PNG are identical to the JPG they came from; nothing was gained or lost visually. The file got bigger because PNG must store every pixel exactly, including the noise and JPEG artifacts, while JPEG had been allowed to approximate. Content with flat areas grows less than busy, photographic content. Browser encoders can produce somewhat larger PNGs than desktop tools for the same image.
The lesson: convert to PNG for editing, compatibility or transparency, not for quality or size.
How to convert JPG to PNG in your browser
The image converter re-saves an image as PNG, JPEG or WebP:
1. Click Click to select an image and choose your JPG. A preview appears.
2. Leave Output Format on PNG (the default). The quality slider applies only to JPEG and WebP, so PNG ignores it.
3. Click Convert & Download. The file saves as converted.png at the same pixel dimensions as the original.
The image is drawn and encoded in your browser, so nothing is uploaded. Converting does not resize the image. Re-encoding also drops metadata such as camera details and GPS location, which is worth knowing both ways: it is useful before sharing a photo publicly, and it means the PNG will not keep the original's EXIF data.
The converter handles one image at a time and outputs only PNG, JPEG and WebP, not GIF, TIFF, BMP, AVIF or PDF. Input can be any format your browser can display. An iPhone HEIC photo opens in Safari but not in most other browsers; see how to convert HEIC to JPG on Windows and Android for workarounds.
Going the other way: PNG to JPG
Converting PNG to JPG is how you make a large screenshot or photo smaller, at the cost of some detail. In the image converter, pick JPEG and a Quality between 80% and 90% for a good balance; below about 50%, blockiness shows on skies and skin.
One catch: JPEG has no transparency. Transparent areas of a PNG logo turn solid, typically black, when saved as JPEG. If you need a smaller file that keeps transparency, choose WebP instead, which supports it. Some browsers, notably Safari, may not encode WebP and can hand back a PNG instead, so check the downloaded file.
If your goal is a specific file size, such as an upload limit of 100 KB, use the image compressor, which re-encodes as JPEG at a quality you choose, and resize first with the image resizer if the dimensions are larger than needed. The step-by-step method is in how to compress an image under 100 KB.
Common mistakes
- Renaming the file instead of converting it. Changing photo.jpg to photo.png does not change the data inside. Some apps open it anyway; strict upload forms and image tools reject it as corrupt. Re-encode it with a converter.
- Converting back and forth. JPG → PNG → JPG loses detail at the final JPEG step, just like any other JPEG save. Keep your PNG as the working copy.
- Expecting a transparent background. A JPG has a solid background; after conversion, the PNG has the same solid background. Remove it in an image editor.
- Using PNG for photo galleries. Pages full of PNG photos load slowly on mobile. Keep a PNG master and publish JPG or WebP.
Need the image inline in HTML or CSS instead of as a file? The image to Base64 tool turns it into a data URL; keep this for small icons, since Base64 adds about a third to the size.
Frequently asked questions
Does converting JPG to PNG improve quality?
No. The PNG stores the JPG's pixels exactly, including any blur or compression artifacts. It prevents further loss when you edit and re-save, but it cannot restore detail that is already gone.
Why is my PNG so much bigger than the JPG?
PNG is lossless and must store every pixel exactly, while JPEG approximates. In our test, a detailed 2868 × 1320 image went from 1.33 MB as JPG to 5.79 MB as PNG.
Can I convert PNG back to JPG?
Yes. Choose JPEG as the output format and set the quality, typically 80% to 90%. Transparent areas will become solid, because JPEG has no transparency.
How do I make a JPG's background transparent?
Converting to PNG alone does not do it. Convert to PNG, then erase the background in an image editor and save as PNG or WebP. This site does not have a background-removal tool.
Is my image uploaded to a server?
No. The conversion happens in your browser, and the file is saved straight to your device.