Smart Image Tools

Home › Guides

JPG, PNG or WebP: which one and when

A short decision guide, and the traps in each format.

Three formats cover almost everything, and choosing wrongly costs either quality or file size.

JPEG

For photographs. It is lossy, has no transparency, and is accepted by absolutely everything. If a form or a portal does not say which format it wants, it wants this.

PNG

For screenshots, text, logos, line art and anything needing transparency. Nothing is lost, which is why a photograph saved as PNG can be ten times the size of the JPEG and look identical.

WebP

Smaller than both at the same visual quality, supports transparency, and works in every current browser. The catch is outside the browser: some older software and several government upload systems still refuse it.

A quick rule

Two traps

First, the extension is not the format. A file named photo.jpg can contain WebP data, and an upload that checks the real format will reject it. Second, converting between lossy formats compounds the loss — going JPEG to WebP to JPEG is worse than either alone. Convert once, from the original.

More guides