vs

File format comparisons

28side-by-side answers to "which one should I actually use?"

Most format questions are not "what is this" but "which of these two". Each comparison below gives the verdict in the first paragraph, then a table of the differences that decide it: file size, compatibility, transparency, quality loss and what happens when you convert one into the other.

How to read these comparisons

Three questions settle almost every format choice, in this order. First, where is the file going? A format that only your own machine has to read can be the efficient one; a file going to a stranger, a website or an old system has to be the compatible one. Second, does it need to survive editing? Every save of a lossy format throws away a little more, so a working file and a delivery file should rarely be the same format. Third, is the conversion reversible? Going from a lossless format to a lossy one is a one-way trip, and converting back does not restore what was discarded, it only makes the file bigger.

Where a comparison quotes a size or a compatibility claim, it says which encoder and which platform it applies to. Nothing here is a benchmark of your specific file: your own content, resolution and encoder settings move the numbers, sometimes a lot.

Image

Video

Audio

Document

Archive

Code and data

Data

Font

eBook

Disk image

Frequently asked questions

Does converting between formats always lose quality?

Only when the target is lossy. Going from PNG to WebP-lossless or from WAV to FLAC keeps every bit. Going to JPG, MP3 or lossy WebP discards data permanently, and converting back afterwards does not restore it, it only makes the file bigger.

Is the newer format always the better choice?

No. Newer formats such as HEIC, AVIF and WebP are more efficient, but efficiency only matters if the thing that opens the file supports it. For anything leaving your own machine, compatibility usually beats file size.

Can I just rename a file to change its format?

No. The extension is a label, not the contents. Renaming photo.heic to photo.jpg leaves HEIC bytes inside a file that claims to be a JPG, and most software will refuse it. The in-browser identifier on this site spots exactly that mismatch.

Which format should I keep as the master copy?

The least compressed one you have. Keep the raw, the PSD, the WAV or the lossless export as the working file, and generate the shareable JPG, MP3 or MP4 from it each time. Editing and re-saving a lossy file compounds the damage on every pass.

Not the pair you were after?

Every format page carries its own comparison links plus the alternatives worth considering. Start from the format you have.