fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
home/learn/comparisons

Any two formats,
side by side.

Format comparisons, a pair at a time: pick two from the same family. The sheet below lines up their specifications row by row, marks every difference and lists what each direction of conversion would lose. It also asks your browser whether it can open each one. For image pairs, it encodes two test pictures in both formats and measures the bytes each needs for the same quality.

30 formats in 5 families · 170 directed pairs
Image10Audio5Video5Archive5Document5
format A
.jpg.png.gif.webp.avif.heic.svg.bmp.tiff.ico
swap_horiz
format B
.jpg.png.gif.webp.avif.heic.svg.bmp.tiff.ico
.jpgJPEG
vs12 of 12 rows differ
.webpWebP
1992
first released
2010
ITU-T T.81 · ISO/IEC 10918-1
standard
IETF RFC 9649 (2024)
image/jpeg
MIME type
image/webp
FF D8 FF
first bytes
RIFF ···· WEBP
Lossy (DCT)
compression
Lossy (VP8) or lossless (VP8L)
None
transparency
8-bit, in both modes
None
animation
Yes (ANIM/ANMF)
65,535 × 65,535 px
largest image
16,383 × 16,383 px
8-bit (12-bit in rare extended mode)
bit depth
8-bit
ICC profile in APP2
colour info
ICC profile (ICCP)
EXIF, XMP, IPTC
metadata
EXIF, XMP
Photographs
best for
Web images
yes · Decoded a test image in an img element
opens here
yes · Decoded a test image in an img element
Tinted rows differ. The "opens here" row is tested live in this browser; everything else is from the specifications listed at the bottom of the page.

What converting would cost, each way

Worked out from the rows above. If the source has a feature the destination can't store, it goes. If the destination only compresses lossily, every save loses a little more. Converting in the other direction doesn't bring a lost feature back.

.jpgarrow_forward.webp2 things lost
aspect_ratioImages larger than 16,383 × 16,383 px must be scaled down or tiled.
sellNo place for IPTC captions and credits.
Convert JPG to WebParrow_forward
.webparrow_forward.jpg3 things lost
blur_onJPEG is lossy only, so detail is lost on this save and every later one.
layers_clearTransparency flattened onto a solid background.
animationOnly the first frame is kept.
Convert WebP to JPGarrow_forward

Bytes needed for the same quality

Comparing file sizes at the same quality setting tells you nothing, because "quality 80" means something different in every encoder. Here each lossy format is searched by bisection for the smallest file that still decodes at 40 dB PSNR or better. That is about the point where differences stop being visible at normal size. Lossless formats are simply saved. The test uses two generated 360×240 pictures and your browser's own encoders.

searched 8 qualities per lossy format
Photo-like sceneGradients, hills and film grain: what lossy codecs are built for.
.jpg36.3 KBq 0.95 · 41.0 dB
.webp22.6 KBq 0.89 · 40.1 dB
.webp reaches the target in 22.6 KB, 38% less than .jpg (36.3 KB).
Flat chart with textFlat colour, hard edges and small text: where lossless often wins.
.jpg19.6 KBq 1.00 · 57.3 dB
.webp10.3 KBq 1.00 · exact
.webp reaches the target in 10.3 KB, 48% less than .jpg (19.6 KB).

Every image pair at a glance

Each cell counts what converting from the row format to the column format would lose, using the same rules as above. 0 means nothing is lost. Click a cell to load that pair.

01-23+
from ↓ to →.jpg.png.gif.webp.avif.heic.svg.bmp.tiff.ico.jpg122212102.png764343425.gif402221213.webp303112203.avif505223415.heic405313415.svg624334434.bmp304112202.tiff535334244.ico202001100

All format comparisons 16