Format comparison
PNG vs JPG: which one should you save as?
Checked against the sources on Sizes measured
Short answer
Save photographs as JPG and screenshots, logos, charts and anything with a transparent background as PNG. PNG is lossless, so it reproduces flat colour and sharp edges exactly but stores photographic noise inefficiently. JPG discards detail the eye is unlikely to miss, which makes photos small but smears text and cannot keep transparency. The measurement on this page shows the gap running in opposite directions for the two kinds of image.
The one difference that decides it
Everything else follows from lossless versus lossy. A PNG decoder returns the exact values the encoder was given. A JPEG decoder returns an approximation whose closeness depends on the quality setting. Neither is better in general; they are built for different pictures.
On a photograph, the approximation costs you almost nothing you can see, because the discarded information is mostly fine texture and sensor noise, and it saves you most of the file. On a screenshot, the same discarded information is the crispness of every letter and line, and you see the loss at once. That is the whole rule, and the decision table below is just that rule applied to common cases.
Transparency, editing and re-saving
Two practical constraints settle many cases before file size even comes up. First, JPG has no alpha channel. A logo, sticker or product cut-out with a see-through background must stay PNG (or move to WebP or AVIF); saving it as JPG fills the background with a solid colour. Second, PNG survives repeated saving untouched, while each lossy JPG save re-quantises the image. If a file will be opened, changed and saved many times, keep it as PNG until the final export.
The reverse conversion is a common trap. Turning a JPG into a PNG does not restore anything the JPG discarded: the PNG faithfully preserves the JPG's artefacts and is usually much larger. Convert JPG to PNG only when the destination demands PNG or you are about to add transparency.
When the choice is made for you
Upload forms, especially government and exam portals, often accept only JPG and also cap the size in KB. A screenshot of a document is then better converted to JPG at a high quality and checked by eye than rejected as a PNG. When a form accepts both, compare the two files' sizes for that particular image and keep the smaller one that still looks right.
PNG or JPG, case by case
| Image | Choose | Reason |
|---|---|---|
| Phone or camera photo | JPG | A fraction of the PNG's size with no visible loss at a normal quality. |
| Screenshot, chart, diagram | PNG | Lossless edges; flat colour compresses well. |
| Logo with transparent background | PNG | JPG cannot store transparency. |
| Scanned text document for a JPG-only form | JPG at high quality | The form decides; raise quality to keep text legible. |
| Working file you will edit again | PNG | No generation loss between saves. |
| Photo that already arrived as JPG | Keep it JPG | Converting to PNG only adds bytes. |
Measured example
| File | Bytes | Size | Fidelity to the original |
|---|---|---|---|
| Photo as PNG | 1,275,225 | 1245 KB | identical pixels |
| Photo as JPG | 86,531 | 84.5 KB | 36.1 dB |
| Graphic as PNG | 22,714 | 22.2 KB | 67.2 dB (no pixel off by a whole level) |
| Graphic as JPG (background filled white) | 28,755 | 28.1 KB | 39.0 dB |
For the photo, JPG won by a wide margin: 84.5 KB against 1245.3 KB, 93% smaller, at 36.1 dB against the original.
For the graphic the result flipped. The PNG was 22.2 KB and kept every pixel; the JPG was 28.1 KB, larger despite being lossy, came in at 39.0 dB, and lost its transparent background. One rule covers both results: match the format to the kind of picture, not to a habit.
Questions
Is PNG higher quality than JPG?
PNG is lossless, so it never loses detail; JPG is lossy. For photos, though, a JPG at a normal quality is visually very close to the PNG at a fraction of the size, so "higher quality" rarely matters there. For text and graphics the PNG is visibly better.
Why is my PNG bigger than the JPG of the same photo?
Lossless compression cannot discard sensor noise and fine texture, which make up much of a photo's data. In this page's measurement the photo's PNG was many times the size of its JPG.
Can a JPG be bigger than a PNG?
Yes, for flat graphics. In this page's measurement the graphic's JPG at quality 0.82 was larger than its PNG, and it had also lost its transparency.
Which should I use for a logo?
PNG (or WebP/AVIF for the web). Logos need sharp edges and usually a transparent background, and JPG provides neither.
Does converting JPG to PNG improve quality?
No. The PNG stores the JPG's pixels, artefacts included, and is usually much larger. Only convert when the destination needs PNG.
Sources
- W3C, 24 June 2025Portable Network Graphics (PNG) Specification (Third Edition)W3C Recommendation · opened 13 November 2026
- ITU-T (CCITT), copy hosted by W3C, 18 September 1992ITU-T Recommendation T.81 (09/92): Digital compression and coding of continuous-tone still imagesITU-T Recommendation · opened 13 November 2026
- MDN Web Docs, 5 November 2026Image file type and format guideReference guide (page last modified 5 November 2026) · opened 13 November 2026
Convert between them in your browser
Convert between PNG and JPG in either direction, in batches. The Image Converter runs in your browser tab, with no account.