
Why I convert PNG to WebP (and the one time I don't)
PNG is a brilliant format to edit in and a wasteful one to ship. Here's what WebP actually saves you, where it saves you nothing, and the single rule I never break.
Notes on image formats, compression, and doing more in your browser.

PNG is a brilliant format to edit in and a wasteful one to ship. Here's what WebP actually saves you, where it saves you nothing, and the single rule I never break.

"Your files never leave your device" is an architecture, not a marketing line. Here's how WASM does the conversion right in your browser, and the one real limit it has.
An SVG scales forever and stays tiny, so rasterizing it feels like a downgrade. Sometimes it is. Here's when you actually need PNG pixels out of a vector, and when to leave the SVG alone.

A screenshot of a mostly-empty dashboard has no business being 2 MB. Here's why PNG does that to you, and how converting to WebP cuts it 60–90% with nothing visible lost.

AVIF usually beats WebP on size, sometimes by 20% or more. Here's what that extra compression costs you in encode time and edge cases, and when I still reach for WebP.

Lossless versus lossy, edges versus photographs, transparency versus none. One simple question tells you which format a file should be — with a real size table to prove it.

HEIC is a genuinely better format that half the web still can't open. Here's why Apple picked it, what you actually give up converting to JPG, and when I don't bother.