Image formats compared
All ten image formats this site handles, on one page. Scan the table for the differences, check the use-case list for a quick answer, then jump to the format you want to know more about.
Claims like "30% smaller" depend heavily on which image was saved and with what settings. So one photo and one graphic were saved in every format and the file sizes measured; the results are below, unedited.
All 10 formats side by side
| Format | Compression | Transparency | Animation | Typical use | Browser display | This converter |
|---|---|---|---|---|---|---|
| PNG | Lossless | Yes (including partial) | No (APNG is separate) | Logos, screenshots, images with text | All | Read · Save |
| JPG | Lossy | No | No | Photos, files that must open anywhere | All | Read · Save |
| WebP | Lossy and lossless | Yes | Yes | Photos and graphics on websites | All | Read · Save |
| AVIF | Lossy and lossless | Yes | Yes | Web images that need to be as small as possible | All current | Read · Save (browser-dependent) |
| GIF | Lossless (256-color limit) | On/off only | Yes | Short animations, small flat graphics | All | Read · Save |
| BMP | Usually none | No | No | Old software or devices that only take BMP | All | Read · Save |
| ICO | Container for PNG or BMP | Yes | No | Favicons, Windows icons | All | Read · Save |
| TIFF | None, LZW, JPEG and others | Yes | No (multi-page possible) | Scans, print, archiving | Safari only | Read |
| HEIC | Lossy | Yes | No | iPhone photos | Safari only (17+) | Read |
| SVG | Vector (shapes written as text) | Yes | Yes | Logos, icons, simple illustrations | All | Read · Save |
The browser column shows whether an <img> displays the file directly in current Chrome, Edge, Firefox and Safari as of November 2026. The converter column shows whether this site can read the format (input) and save to it (output).
Which format should I use?
| If you need | Use | Why |
|---|---|---|
| Sending a photo or uploading it anywhere | JPG | It opens on whatever device or app the other side uses. Quality 80–90 is enough for most photos. WebP vs JPG → |
| Photos on a website you control | WebP (AVIF if you can) | In the measurement below, at equal quality WebP was about 20% and AVIF about 36% smaller than JPG. Reducing image size for the web → |
| Logos, screenshots, text-heavy images | PNG or lossless WebP | Text edges stay sharp. On the measured graphic, lossless WebP came out 31% smaller than PNG. PNG vs JPG → |
| A transparent background | PNG or WebP | JPG and BMP have no transparency, and GIF drops soft shadows and anti-aliased edges. |
| Favicons and app icons | ICO (+ PNG) | One ICO file can hold 16, 32 and 48 px versions, so each size gets its own tuned image. Favicon generator → |
| A logo that has to scale to any size | SVG | Only worth it if the original is vector. Converting a PNG to SVG gives a redrawn approximation. Before converting PNG to SVG → |
| Using iPhone photos (HEIC) on Windows or the web | Convert to JPG | Outside Safari and Apple devices, HEIC usually won't open directly. HEIC → JPG → |
| Meeting an upload size limit (e.g. under 1 MB) | JPG or WebP | Reducing the pixel dimensions first loses less detail than pushing quality down alone. Compress to a target size → |
| Enlarging pixel art | PNG | No loss, so pixel edges survive. Scale by whole numbers without smoothing to keep them crisp. Pixel art upscaler → |
The same images saved in every format
The numbers below were measured for this page in November 2026, using two test images. One is a photo: the strip of two photos from the guides (a chicken dish and a dog), taken by the site's operator, scaled to 600×394. The other is a 512×512 badge graphic drawn for the test, with a transparent background, a soft semi-transparent shadow and text.
Files were saved with the Node.js image library sharp (0.35.5, libvips 8.18.7) at its default settings, not with this site's converter. Browsers ship different encoders, so the converter's byte counts won't match exactly, but the ranking and rough ratios hold. sharp can't write BMP or ICO, so those files were assembled by hand from the raw pixels and PNG data, following each spec. HEIC can't be produced with this tool and is left out; the HEIC section quotes the guide's measurement instead.

Photo (600×394)
| Format · quality | Size | PSNR | Note |
|---|---|---|---|
| AVIF 50 | 21.3KB | 34.0dB | |
| WebP 80 | 39.2KB | 36.7dB | |
| JPG 80 | 50.5KB | 36.8dB | |
| JPG 90 | 72.3KB | 39.9dB | |
| GIF | 181.6KB | – | reduced to 256 colors |
| WebP lossless | 259.0KB | lossless | |
| TIFF (LZW) | 466.1KB | lossless | |
| PNG | 598.9KB | lossless | |
| BMP 24-bit | 692.6KB | lossless | uncompressed |
The number after a format is its quality setting. PSNR measures how close the result is to the original pixels; higher means closer. The same quality number doesn't mean the same quality: JPG 80 and WebP 80 land at almost the same PSNR (36.8 dB vs 36.7 dB), while AVIF 50 drifts further at 34.0 dB. Keep in mind the source is a small image that had already been saved as JPG once. A full-size photo straight from a camera produces much bigger numbers across the board.
Photo size at equal quality (PSNR)
| Target PSNR | JPG | WebP | AVIF |
|---|---|---|---|
| 36dB | 45.5KB | 35.8KB (21% smaller) | 29.0KB (36% smaller) |
| 38dB | 58.4KB | 45.9KB (21% smaller) | 37.3KB (36% smaller) |
| 40dB | 73.0KB | 58.1KB (20% smaller) | 46.9KB (36% smaller) |
JPG, WebP and AVIF were saved at every quality from 20 to 98 in steps of 2, and the size at each target PSNR was estimated by drawing a straight line between the two nearest measurements. At all three points WebP was about 20–21% smaller than JPG and AVIF about 36% smaller. The WebP vs JPG guide, measured on two full photos, found WebP 23–30% smaller, so expect that much spread from photo to photo.
Graphic (512×512)
| Format · quality | Size | Note |
|---|---|---|
| SVG | 665B | shapes written as text |
| ICO 16+32+48 | 6.2KB | three images: 16, 32, 48 px |
| AVIF 60 | 10.4KB | lossy |
| GIF | 12.6KB | all semi-transparent pixels lost |
| PNG (256 colors) | 18.3KB | PNG reduced to 256 colors |
| WebP lossless | 24.3KB | |
| WebP 90 | 25.8KB | lossy |
| JPG 90 | 31.2KB | transparent area filled white |
| ICO 16+32+48+256 | 34.4KB | the 256 px image alone is 28.2KB |
| PNG | 35.4KB | |
| TIFF (LZW) | 54.8KB | |
| BMP 32-bit | 1.0MB | uncompressed |
JPG has no transparency, so it was saved on a white background. With a graphic the ranking looks very different from the photo. The SVG, which simply writes the shapes as text, is the smallest at 665 bytes, and lossless WebP is 31% smaller than PNG. GIF looks small at 12.6 KB, but none of the original's 30,655 semi-transparent pixels survived.

What to know about each format
PNG .png
PNG is lossless, but its file size varies a lot with the program and settings used to save it. The test badge came to 35.4 KB at default settings, 33.5 KB at maximum compression, and 18.3 KB once reduced to a 256-color palette.
It's a poor fit for photos: the 600×394 photo was 598.9 KB as PNG and 72.3 KB as JPG 90, more than eight times smaller. Keep photos in PNG only when they must not lose any quality, such as intermediate files during editing.
Animated PNG (APNG) plays in browsers, but this converter saves only the first frame as a still image. PNG is also the default for enlarging pixel art; scale by whole numbers without smoothing so the edges stay crisp.
Related conversions: HEIC → PNG · WebP → PNG · PNG → JPG · JPG → PNG · PNG → ICO · PNG → SVG
JPG .jpg .jpeg .jpe .jfif
JPG has no transparency, so converting a transparent PNG to JPG fills the transparent areas with a single color. This converter lets you choose that color; the default is white.
Quality numbers mean different things in different encoders, so "quality 80" in another program isn't guaranteed to look the same. Every save throws away detail again, so edit from the original and save to JPG once, at the end.
JPGs taken on a phone often carry the location where the photo was taken (GPS). This converter strips EXIF by default, and keeping it is only offered for JPG-to-JPG conversion.
Related conversions: HEIC → JPG · WebP → JPG · PNG → JPG · JPG → PNG
WebP .webp
WebP's lossy and lossless modes are effectively two different codecs. Use lossy for photos and lossless for logos and screenshots. On the test graphic, lossless WebP was 24.3 KB, 31% smaller than PNG at 35.4 KB.
Lossy WebP stores color at half the resolution in each direction. Red text and thin colored lines can smear, so save text-heavy images as lossless.
Browsers handle it fine, but older image editors and some upload forms still reject .webp. Animated WebP exists, though this converter saves only the first frame.
Related conversions: WebP → JPG · WebP → PNG
AVIF .avif
AVIF produced the smallest files for both the photo and the graphic in this test, about 36% smaller than JPG at equal PSNR. The trade-off is slower encoding.
Current Chrome, Edge, Firefox and Safari all display it, but saving to AVIF from inside the browser is still limited to some browsers. This converter only offers AVIF as an output when the browser you're using can actually encode it.
Older programs and some upload forms may not open it, so it suits a website you control better than files you send to other people.
GIF .gif
GIF is limited to 256 colors per frame. The test photo saved as GIF was 181.6 KB, 2.5 times the JPG 90 (72.3 KB), and the missing colors are faked with dot patterns that make surfaces look grainy.
Transparency is on or off per pixel, so soft shadows and smooth edges disappear (see the zoomed image above).
When this converter reads an animated GIF it uses the first frame only, and saving to GIF produces a single still image. For small graphics with few colors, GIF is still compact and opens in very old software.
BMP .bmp .dib
BMP is normally uncompressed, so its size depends only on width × height × bytes per pixel, not on the content. The 600×394 photo at 24 bits is 600 × 394 × 3 = 709,200 bytes plus a 54-byte header: 692.6 KB.
BMPs made by this converter are 24-bit with no transparency; transparent areas are filled with the background color you choose.
Unless an old program or device accepts only BMP, there's little reason to use it. For lossless storage PNG is far smaller (1.0 MB vs 35.4 KB for the test graphic).
ICO .ico
ICO is less an image format than a container that holds several sizes of the same picture in one file. Since Windows Vista, each size can be stored as compressed PNG data.
An ICO of the test badge with 16, 32 and 48 px images was 6.2 KB; adding a 256 px image took it to 34.4 KB. That one 256 px image accounts for 28.2 KB, so a favicon for the web usually only needs the small sizes.
This converter's ICO output holds a single square image up to 256×256, centered if the source isn't square. To put several sizes in one file, use the favicon generator.
Related conversions: PNG → ICO
TIFF .tiff .tif
TIFF is a wrapper that can use several compression schemes (none, LZW, ZIP, JPEG and more) and hold multiple pages. Whether a given TIFF opens depends on which scheme is inside.
For the test photo, an LZW-compressed TIFF (466.1 KB) was smaller than PNG (598.9 KB), but for the graphic TIFF was larger (54.8 KB vs 35.4 KB). Even among lossless formats, the ranking flips with the image.
Among browsers only Safari displays TIFF directly. This converter decodes TIFF itself but converts only the first page of a multi-page file, and it can't save to TIFF.
HEIC .heic .heif
An iPhone saves HEIC when Settings > Camera > Formats is set to High Efficiency, and JPG when it's set to Most Compatible. With Settings > Photos > Transfer to Mac or PC set to Automatic, photos are often converted to JPG on the way to a computer.
sharp can't write HEIC, so it isn't part of this page's measurement. In the HEIC guide, compared at equal PSNR on two of the operator's photos, HEIC was about 37–39% smaller than JPG (test files encoded with libheif, not by an iPhone).
Apart from Safari 17 and later, browsers can't display HEIC, and Windows needs an extension to open it. This converter decodes HEIC with an in-browser decoder, so it takes longer than other formats, and it can't save to HEIC.
Related conversions: HEIC → JPG · HEIC → PNG
SVG .svg
SVG is a text file describing shapes, not pixels. The test badge's SVG source is 665 bytes, about 2% of the same design as a 512 px PNG (35.4 KB), and it can be scaled up any amount without breaking up.
Images with continuous color changes, like photos, can't be turned into shapes. This converter's PNG → SVG reduces the image to a few colors and traces the outlines, so it only suits simple logos and icons.
An SVG has no fixed pixel size, so converting it to PNG means choosing how many pixels to render. SVG files can also contain scripts, which is why many services block SVG uploads for security.
Related conversions: PNG → SVG