Guides

Lossy vs lossless compression — how not to eat quality while converting

MP3, JPG, H.264 versus FLAC, PNG, WAV. One rule: don’t encode the same material lossy twice.

Author: Szymon · Published: 2026-03-10 · Updated: 2026-08-24

Lossy formats (MP3, AAC, JPG, HEIC, H.264) throw data away so the file is small. Lossless (FLAC, PNG, WAV, ZIP) pack or don’t pack, but after decoding you have the same bits.

A container (MP4, MKV, PDF) is a box — it does not tell you whether the inside is lossy. MP4 with H.264 is lossy. A ZIP of PNGs is lossless relative to those PNGs.

One loss, not a loop

Every extra lossy encode adds artifacts. A Messenger JPG uploaded to Facebook and compressed again for email looks like a watercolor. No converter fixes that.

Audio is the same: MP3 → AAC → MP3. Don’t. If you only need another container, transcode only when the player truly cannot read the source.

Examples from tests

Music: FLAC in the archive, MP3 on the phone. Never FLAC → MP3 → FLAC.

Photos: camera JPG is already lossy — compress gently (quality 80+) or go to WebP once, for publish.

UI screenshots: PNG. JPG on interface text smears the letters.

Video: don’t recode 4K H.264 to H.264 “for compatibility” if it already plays. Compress before sending — once, with a bitrate you chose.

A 10-second check

Will the recipient open the original? If yes — don’t convert.

Are you going lossy → lossless and expecting a miracle? Don’t.

Is this the second conversion of the same file this week? Stop and go back to the oldest copy.

Related formats

Was this article helpful?

← All guides