JPG to PNG Converter
Save a JPG photo as a lossless PNG, right in your browser.
or drop files here
JPG Format
JPEG image
A lossy raster image format defined by the Joint Photographic Experts Group (ISO/IEC 10918-1), designed for photographs. .jpg and .jpeg are the same format.
- Lossy compression
- No alpha transparency
- Built into most digital cameras and scanners
- Displays in every major browser
PNG Format
Portable Network Graphics
A lossless raster image format developed as a patent-free replacement for GIF and standardized as ISO/IEC 15948 and a W3C Recommendation.
- Lossless compression
- Alpha transparency
- 1 to 16 bits per sample
- Displays in every major browser
How to convert JPG to PNG
Follow these steps to convert JPG to PNG online.
Choose your JPG file, or several at once.
Wait while the converter turns each file into PNG.
Download each new PNG file. Your original file isn't changed.
What to know before converting JPG to PNG
- The PNG is lossless, but it can't restore detail the JPG already lost.
- A JPG has no transparency, so the PNG has none either.
- EXIF, ICC profile and XMP data are not carried over.
- Each image downloads as its own PNG file.
About JPG files
What is a JPG file?
A JPG is a JPEG image, the lossy photo format standardized by the Joint Photographic Experts Group in the early 1990s. A .jpg file and a .jpeg file hold the same format, and JPEG has no layers.
JPEG splits a picture into 8x8 pixel blocks, converts each block into frequencies with a discrete cosine transform, and then applies Huffman coding; the baseline mode is lossy. A quality number, usually 0 to 100, decides how much goes. GIMP starts at 85, and the same number gives different results in different programs. Because JPEG is lossy, saving an edited JPEG compresses it again. A progressive JPEG is stored in passes: a browser paints a rough version first and sharpens it as the remaining data comes in.
Digital cameras and scanners mostly write JPEG, and all the major browsers display it. A PNG is lossless, so saving the picture as PNG again and again adds no further loss.
PNG, the format you are saving to, began life as a GIF alternative free of patents. October 1996 brought W3C Recommendation status, a first for any format, and ISO followed with 15948 in 2004. Its compression is always lossless DEFLATE, a mix of LZ77 and Huffman coding, so it never discards pixels. The group behind JPEG, formed to write the photo format, began its work in 1986, and its patents ran out in 2006.
Programs that open JPG files
- Windows: Paint lists PNG among the formats it saves, so it can write a copy of a JPG as PNG.
- Windows, Mac and Linux: Open a JPG in GIMP to edit it. ImageMagick reads JPG.
- Mac: Apple Preview opens a JPG and lists PNG as one of its export formats.
- Web and mobile: Google Chrome shows JPG images.
- Web: Mozilla Firefox shows them too.
- Mobile: Safari opens JPG. An iPhone camera saves JPEG instead of HEIC when Settings > Camera > Formats is set to Most Compatible.
JPG and PNG compared
- File endings: image/jpeg uses .jpg or .jpeg, and image/png uses .png.
- Compression: JPEG is lossy, with a discrete cosine transform and Huffman coding. PNG is lossless DEFLATE: every pixel comes back exactly as stored.
- Color depth: JPEG stores 8 bits per channel. PNG offers 1 to 16 bits for each sample, as grayscale, indexed or truecolor.
- Transparency: an alpha channel is optional in PNG and absent from JPEG.
- Animation: PNG can animate as APNG. JPEG is always a still.
- Metadata: the third edition of PNG lets Exif travel in an eXIf chunk, but this converter carries no metadata across.
- Typical use: photographs suit JPEG, which was designed for them, and a Mac saves its screenshots as PNG by default.
Converting changes the container, not the picture. The PNG stores the pixels the JPG decodes to: no lost detail returns, no blockiness goes away, and nothing becomes transparent.
Other ways to convert JPG to PNG
- Preview (Mac): open the JPG, pick File > Export, then select PNG as the Format.
- Finder (Mac): Control-click the file, choose Quick Actions > Convert Image, then pick PNG and a size; on some macOS versions the command sits under Quick Actions > More.
- GIMP (Windows, Mac and Linux): open the JPG, then use File > Export As to write a PNG.
- Paint (Windows): open the JPG and save a copy with PNG as the file type.
Problems with JPG files
- Blocky patches or halos around text: those are compression artifacts, and a PNG keeps them. Start from the original photo or a higher-quality export.
- You need a transparent background: converting won't remove the background. Erase it in an editor, then save as PNG.
- Quality drops after repeated edits: each JPEG save compresses again. Convert once to PNG, edit the PNG, and export a JPG only at the end.
- A JPG that used to be transparent: transparent pixels can't survive JPEG export, so the PNG starts from the opaque picture.
- Camera details have gone: Exif data isn't carried into the PNG, so keep the original if you need it.
- An "Image decode failed." message: the browser could not make sense of the JPG's data. Download the file again, and keep the original in case it is the only good copy.
Frequently Asked Questions
Everything you need to know about our converter
Will the PNG look better than the JPG?
Does the PNG get a transparent background?
Is my EXIF data kept?
Can I change several JPG files to PNG together?
Is my JPG uploaded to a server?
When does converting JPG to PNG make sense?
Can I turn the PNG back into a JPG later?
Which suits screenshots, JPG or PNG?
Can I convert JPG to PNG on an iPhone or Android phone?
How do I convert JPG to PNG on Windows without installing anything?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.