Reference
Image file formats, explained
Nine formats cover almost every image you will meet. This reference explains what each one is, what it is good at, where it breaks, and how to convert between them.
The nine formats side by side
| Format | Compression | Transparency | Animation | Best for |
|---|---|---|---|---|
| JPEG | Lossy | No | No | Photos you send, upload or print |
| PNG | Lossless | Yes | APNG only | Logos, screenshots, graphics with transparency |
| WebP | Lossy or lossless | Yes | Yes | Images on websites you control |
| AVIF | Lossy or lossless | Yes | Yes | Large photos on the web |
| GIF | Lossless, 256 colours | On/off only | Yes | Short, simple animations that must play anywhere |
| SVG | Text (vector) | Yes | Yes (CSS/SMIL) | Logos, icons and diagrams on the web |
| HEIC | Lossy | Rarely used | Sequences | Storing photos on Apple devices |
| TIFF | None, lossless or lossy | Yes | Multi-page | Scans, print production, archival masters |
| BMP | Usually none | Rarely | No | Legacy software that requires it |
Three ideas that explain most differences
Lossy or lossless
Lossless formats (PNG, lossless WebP) store every pixel exactly, so saving again never changes the image. Lossy formats (JPEG, lossy WebP, AVIF, HEIC) discard detail the eye is unlikely to notice, which makes photographs many times smaller — and makes each re-save a little worse.
Raster or vector
Every format here except SVG is raster: a fixed grid of pixels that blurs when enlarged. SVG describes shapes instead, so it stays sharp at any size — perfect for logos and icons, useless for photographs.
Made for the web, or made for everywhere
WebP and AVIF are efficient and supported by every current browser, but not by every app and upload form. JPEG and PNG are less efficient and accepted everywhere. That trade-off, not image quality, is usually what decides the format.
Every format in the reference
- JPEG.jpg .jpegPhotos you send, upload or print.About JPEG
- PNG.pngLogos, screenshots, graphics with transparency.About PNG
- WebP.webpImages on websites you control.About WebP
- AVIF.avifLarge photos on the web.About AVIF
- GIF.gifShort, simple animations that must play anywhere.About GIF
- SVG.svg .svgz (compressed)Logos, icons and diagrams on the web.About SVG
- HEIC.heic .heifStoring photos on Apple devices.About HEIC
- TIFF.tif .tiffScans, print production, archival masters.About TIFF
- BMP.bmp .dibLegacy software that requires it.About BMP
Convert between formats
Each converter opens with the output already chosen and runs in your browser. For any other combination, use the Image Converter.
- JPG to PNG ConverterSave JPG photos as lossless PNG files — singly or in bulk, processed in your browser.
- PNG to JPG ConverterTurn PNGs into smaller JPGs, with control over quality and the background behind transparent areas.
- JPG to WebP ConverterConvert JPG photos to WebP for faster web pages — one image or a whole folder.
- PNG to WebP ConverterShrink PNG screenshots and graphics by converting them to WebP, with transparency kept.
- WebP to JPG ConverterTurn .webp downloads into JPGs that open in any app, upload form or email.
- WebP to PNG ConverterConvert WebP to PNG and keep transparent backgrounds intact — for editing or for apps that don't take WebP.
- AVIF to JPG ConverterTurn .avif images into JPGs that open in any app, editor or upload form.