Free tool
JPG to PNG converter
Drop JPG or JPEG photos to save them as PNG, the lossless format that every editor and upload form accepts. It runs in your browser, in bulk, and shows how the file size changes.
Free · no sign-up · runs in your browser, nothing is uploaded
When converting JPG to PNG makes sense
- You will edit the image again. Every JPG save compresses again and loses a bit more. Work in PNG and you lose nothing more after this step.
- A form or tool asks for PNG. Some app stores, icon generators and design tools only take PNG.
- The image is text, a chart or a screenshot that someone saved as JPG. PNG stops the artefacts from getting worse as it is passed around.
If you just want a smaller file for a website, PNG is the wrong direction. Use the image converter to save as WebP or AVIF instead.
JPG vs PNG
| JPG / JPEG | PNG | |
|---|---|---|
| Compression | Lossy, adjustable quality | Lossless |
| Transparency | No | Yes (alpha channel) |
| Typical photo size | Small | Several times larger |
| Text and sharp edges | Blurry halos at edges | Crisp |
| Re-saving | Loses a little each time | Loses nothing |
The one thing this conversion cannot do is add transparency. The JPG had none, so every pixel in the PNG is opaque. The tool shows the PNG over a checkerboard, so you can see that the background stays solid.
Convert JPG to PNG on Mac, Linux or in code
# macOS, built in sips -s format png photo.jpg --out photo.png # ImageMagick 7: one file, or a whole folder magick photo.jpg photo.png magick mogrify -format png *.jpg
# Python with Pillow
from PIL import Image
Image.open("photo.jpg").save("photo.png")
// Node.js with sharp
import sharp from 'sharp';
await sharp('photo.jpg').png().toFile('photo.png');mogrify writes the new files next to the originals and leaves the JPGs in place because the format changes. On Windows, Paint can open a JPG and save it as PNG with File > Save as.
Tips for a better PNG
- Set a max width above the tool if the photo is larger than you need. Halving the width cuts the pixel count, and roughly the PNG size, by about four.
- Phone photos are rotated using their EXIF orientation before saving, so they come out the right way up.
- For a PNG to embed in HTML or CSS, run the result through image to Base64.
Have WebP files instead? Use WebP to PNG. More on DevHunt: design tools.
More free developer tools
FAQ
How do I convert JPG to PNG?+
Drop your JPG or JPEG files on the box above, or click it to pick them. They turn into PNG in your browser straight away. Download each one, or click "Download all as .zip".
Does converting JPG to PNG improve the quality?+
No. JPG compression removes detail when the file is saved, and that detail cannot be recovered. The PNG is an exact copy of the decoded JPG, artefacts included. What PNG does give you is that later edits and saves lose nothing more.
Will converting to PNG make the background transparent?+
No. A JPG has no alpha channel, so the PNG starts fully opaque, white background included. Removing a background means deciding which pixels are background, which needs an editor or a background removal tool.
Why is my PNG file bigger than the JPG?+
PNG is lossless: it has to store the photo pixel for pixel, while JPG throws away detail the eye barely notices. For photos a PNG is often several times larger. Set a max width to bring it down, or keep the JPG if you do not need lossless.
Is JPG the same as JPEG?+
Yes. JPG and JPEG are two extensions for the same format; .jpg comes from the three-letter extension limit of old DOS and Windows file names. This tool accepts .jpg, .jpeg and .jfif files.
Can I convert many JPGs to PNG at once?+
Yes, there is no file limit. Drop a whole folder of images; they convert one after another with progress shown per file, and the ZIP download gives each PNG a unique name.
Are my photos uploaded anywhere?+
No. The conversion runs on a canvas in your browser, so the photos never leave your device. Writing a new file also removes EXIF metadata such as camera details and GPS location.
Sources: MDN: image file type and format guide · MDN: HTMLCanvasElement.toBlob() · ImageMagick: mogrify · Apple: sips man page · Pillow image file formats · sharp output options. Checked 2026-10-31.