fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
home/image/jpg-to-png

JPG to PNG Converter

JPG to PNG: start with why you need it.

People convert to PNG for one of three reasons, and each needs different settings. Pick yours and the converter sets itself up. The PNG is written by this page's own encoder, in your browser, so you choose exactly which kind of PNG comes out.

layersTransparent backgroundLogos and stickers that sit on any colour.
editEditing without more lossEvery JPG re-save loses a little. PNG never does.
ruleAn upload asks for PNGForms, app stores and print shops that only accept .png.
your PNG · checkerboard = see-through
check_circle74.1% of pixels removed, 0.0% made partly transparent at the edge with the background colour subtracted.
imagebloom-logo.jpg1200 × 1200 · 36 KB · JPEG · saved at quality 75Sample
Make the background transparentJPG has no transparency. Background detected from the corners: #ffffff
tolerance30exact colour onlynear colours too
from edgeseverywhereclean edge colour
png type
PNG-8≤256 coloursPNG-24full colourPNG-32+ transparency
JPG36 KB
PNG192 KB
change×5.4
colour type6 · RGBA
round tripmax 5
written in146 ms
downloadDownload bloom-logo.png · PNG-32 · 192 KB
~/png-wont-undo-jpg

PNG freezes the picture exactly as it is - flaws included.

JPG saves space by simplifying the image in 8 × 8 pixel squares. Once that detail is thrown away, no format can bring it back. Here your picture is saved as JPG at four qualities by your browser, each one decoded, then written as PNG and decoded again. The grid shows the real pixels, and the PNG check confirms the PNG matches the JPG it came from, pixel for pixel.

So converting stops any further loss, which is what you want before editing, but it can't repair what's already there. If you still have the original (RAW, a design file, a screenshot), export PNG from that instead.

24 × 24 px, zoomed · JPG quality
q95q75q50q20
JPG36 KB
vs your image53.3 dB
PNG checkidentical
At 75, the most common setting, smooth areas step between blocks and edges pick up faint ripples.
~/expect-a-bigger-file

How much bigger depends on what's in the picture.

PNG compresses by predicting each pixel from its neighbours. Flat colours predict perfectly; photos, and JPG's own noise, almost never do. Four images were drawn in your browser, saved as JPG at quality 85, then converted to PNG-24 by this page. The sizes are measured.

Logo, flat colour
JPG7.8 KBPNG34 KB
×4.3Big areas of identical pixels predict perfectly, so PNG stays close to the JPG.
Screenshot
JPG22 KBPNG73 KB
×3.3Text and UI are mostly flat, but JPG adds ringing round every letter that PNG must store exactly.
Illustration
JPG4.5 KBPNG32 KB
×7.0Smooth gradients have few exact repeats, and JPG adds faint block noise on top.
Photograph
JPG43 KBPNG239 KB
×5.6Every pixel differs slightly from its neighbours, so PNG has almost nothing to predict.
~/png-8-24-32

Three kinds of PNG, one file extension.

Every PNG ends in .png, but byte 25 of the file, the colour type in the IHDR header, says how pixels are stored. Your current image was written all three ways. The sizes are real, and the swatches for PNG-8 are the first colours of the actual palette it built.

first 33 bytes of bloom-logo.png (PNG-32)
89504e470d0a1a0a0000000d49484452000004b0000004b00806000000eb21b3cf
Byte 25 (pink) is 6: truecolour with alpha, 4 bytes per pixel. Byte 24 is the bit depth (8).
PNG-8colour type 3 · ≤256 coloursPicks up to 256 colours by median cut and stores each pixel as an index. Tiny, but gradients band and soft shadows lose steps.76 KB · 256 palette entries · round trip max 176best for: icons, simple logos, pixel art
PNG-24colour type 2 · 16.7 millionEvery colour exactly, no transparency. The safe choice for photos and edits.172 KB · round trip exactbest for: screenshots, edited photos
PNG-32colour type 6 · + 8-bit alphaFull colour plus an opacity value for every pixel, so soft shadows and anti-aliased edges blend onto any background.192 KB · round trip max 5best for: logos with soft edges, stickers, overlays