How to convert JPG to PNG
- Choose a JPG or JPEG file, drop it onto the page or paste it from the clipboard.
- Click Convert to PNG.
- Compare the two versions and their file sizes, then click Download PNG. The file keeps its name with a
.pngextension.
WebP, GIF and BMP images can be converted the same way. JPG and JPEG are the same format, by the way: the three-letter .jpg extension dates from older systems that limited file extensions to three characters.
What the conversion does, and what it does not do
Your browser decodes the JPG, draws it onto a canvas at full size and saves the canvas with its built-in PNG encoder. PNG is lossless, so the new file holds exactly the pixels that were decoded from the JPG, and it will not lose anything more no matter how often you open and save it again.
Two common expectations are worth correcting before you convert:
- It does not improve quality. Detail that JPEG compression discarded is gone for good. Any blockiness or halos in the JPG are preserved faithfully in the PNG, pixel for pixel.
- It does not make the background transparent. JPG has no transparency, so every pixel in the PNG is fully opaque, including a white background. Removing a background requires an editor with selection or background-removal tools; PNG simply gives you a format that can store the result.
Expect the PNG to be larger, often several times larger, than the JPG. PNG compression works very well on flat colors but poorly on the fine noise and texture found in photographs, and it has to store the JPEG’s compression artifacts exactly as well.
Good reasons to convert JPG to PNG
- An editing workflow. Saving a JPG again and again compounds the loss each time, which is known as generation loss. Convert once, do your edits and annotations on the PNG, and export a final JPG only at the end if you need one.
- Software or services that require PNG. Some design tools, sticker and icon makers, print-on-demand services and upload forms accept only PNG files.
- Preparing to add transparency. If you plan to cut out an object in an editor, starting from a PNG avoids an extra JPEG save along the way.
- Screenshots and graphics saved as JPG by mistake. Converting will not undo the existing damage, but it stops further damage when the file is edited again.
When to keep the JPG
For sharing photos, sending them by email or putting them on a website, JPG (or WebP) is almost always the better choice, because the same picture is far smaller. A photo converted to PNG makes a web page slower without looking any better. If your goal is a smaller file rather than a lossless one, use Compress Image instead.
Technical notes
- Current versions of Chrome, Edge, Firefox and Safari apply the orientation flag that phones store in photos before drawing, so portrait photos stay upright in the PNG.
- EXIF metadata, including camera details and GPS location, is not copied into the PNG.
- Embedded color profiles are not preserved. Photos taken in a wide-gamut color space, such as Display P3 on recent phones, may look very slightly less saturated.
- Very large photos can exceed the canvas memory some mobile browsers allow; if that happens you will see an error message rather than a broken file.
Frequently asked questions
Does converting JPG to PNG improve image quality?
No. The PNG stores exactly what was decoded from the JPG, including any compression artifacts. It prevents further loss when you edit and save again, but it cannot restore lost detail.
Will the PNG have a transparent background?
No. A JPG has no transparency, so the PNG is fully opaque. You need an image editor to remove a background; the PNG format can then store the transparent result.
Why is the PNG file so much bigger than the JPG?
PNG is lossless and compresses photographic texture poorly, so a photo stored as PNG is often several times larger than the JPG it came from. For sharing, the JPG is usually the better file.
Can I convert the PNG back to JPG later?
Yes, with the PNG to JPG converter on this site. Each conversion to JPG is a new lossy save, so do it once, at the end of your editing.
What is the difference between JPG and JPEG?
None. They are two file extensions for the same format. The shorter .jpg comes from older systems that allowed only three-letter extensions.
Is my photo uploaded to a server?
No. The conversion happens entirely in your browser and the file never leaves your device.
Related tools
PNG to JPG
Convert PNG to JPG with adjustable quality and your choice of background color for transparent areas.
Compress Image
Reduce JPG, PNG or WebP file size by re-encoding at the quality you choose, with a before-and-after comparison.
Crop Image
Draw a selection freely or lock it to 1:1, 4:5, 16:9 and other ratios, and see its exact size in pixels.
Related guides
- JPG vs PNG vs WebP: How to Choose the Right Image Format – How each format stores pixels, where each one wins, what transparency and browser support mean in practice, and a five-question checklist for picking the right format.