Convertify - free online image converter

Free Online Image Converter β€” HEIC, WebP, PNG, JPG, AVIF & 20+ Formats

πŸ–ΌοΈ Formats Β· June 18, 2026

Image Format Benchmark 2026: JPG, WebP, AVIF, HEIC, PNG Measured

We converted 50 real images through our production server and measured every result. WebP is 64% smaller than JPG. AVIF wins on size but encodes 7x slower. And converting HEIC to JPG makes files bigger, not smaller.

SK
Serhii Kalyna
Founder, Convertify
9 min read
πŸ“‘ Contents Β· 22 sections

Every number here was measured, not estimated

Most image format comparisons online quote the same theoretical figures: "WebP is 30% smaller than JPEG," "AVIF saves 50%." These come from codec specifications and lab studies, not from converting real files through a real pipeline.

This benchmark is different. Every figure below comes from actual conversions run on Convertify's production server (Rust + libvips) on June 18, 2026. The test set is 26 PNG images (a mix of screenshots, illustrations, and photographs), 24 iPhone HEIC photos straight from the camera, plus JPG, AVIF, and WebP versions derived from those sources. Each number is an average across the full set.

The results confirm some common wisdom and overturn other parts of it. Converting HEIC to JPG, for example, makes files larger, not smaller. Here is what the measurements actually show.

Quick answer: the numbers that matter

WebP is 64% smaller than JPG at Q80, with near-identical visual quality.

AVIF is 5 to 15% smaller than WebP, but encodes about 7 times slower.

PNG to WebP is the biggest single win at 92% smaller.

HEIC to JPG increases file size by 14%, because HEIC's codec is more efficient than JPEG's.

JPG encodes fastest (0.07s), WebP is the best all-rounder (0.19s), AVIF is slowest but smallest (1.30s).

For most websites, convert to WebP at Q80. For maximum compression where encode time is not a constraint, use AVIF. The full measurements are below.

WebP vs AVIF vs JPG: which is smaller?

Starting from 26 JPG images averaging 171 KB (created from PNG sources at Q92 to simulate typical camera output), here is what each modern format produces:

JPG to WebP and JPG to AVIF file size at various quality levels

ConversionAvg outputSize changeEncode time
JPG to WebP Q6041 KB-75%0.18s
JPG to WebP Q8061 KB-64%0.19s
JPG to WebP lossless474 KB+177%0.71s
JPG to AVIF Q5033 KB-80%1.23s
JPG to AVIF Q6355 KB-68%1.30s
JPG to AVIF Q8078 KB-54%1.34s

WebP vs AVIF: speed is the deciding factor

WebP Q80 and AVIF Q63 land in the same neighborhood for file size (61 KB vs 55 KB, a 10% gap), but WebP encodes nearly 7 times faster: 0.19 seconds versus 1.30 seconds per image. For a single conversion this is irrelevant. For a pipeline processing thousands of images, it is the difference between minutes and hours.

AVIF pulls ahead at aggressive compression. AVIF Q50 at 33 KB beats WebP Q60 at 41 KB by 20%. If your priority is the smallest possible file and you can absorb the encode cost, AVIF wins on size. If you want the best balance, WebP at Q80 is the safer default.

One result worth flagging: converting JPG to lossless WebP inflates the file by 177%, from 171 KB to 474 KB. Lossless compression has to encode a full pixel grid, and reconstructing that from already-lossy JPEG data produces a larger file than the lossy original. Lossless WebP only makes sense when the source is itself lossless, such as PNG or TIFF.

PNG to WebP vs PNG to AVIF: largest savings of any format

PNG is lossless and often large, which makes it the best candidate for aggressive conversion. Starting from 26 PNG images averaging 742 KB:

PNG to JPG, PNG to WebP, and PNG to AVIF file size

ConversionAvg outputSize changeEncode time
PNG to JPG Q85100 KB-86%0.07s
PNG to WebP Q8059 KB-92%0.21s
PNG to WebP lossless502 KB-32%0.73s
PNG to AVIF Q6352 KB-92%1.49s

PNG conversion: WebP and AVIF tie at 92% smaller

PNG to WebP and PNG to AVIF both hit 92% file size reduction at comparable visual quality. The separator is speed: WebP finishes in 0.21 seconds, AVIF takes 1.49 seconds, roughly 7 times longer.

PNG to JPG at Q85 delivers an 86% reduction in just 0.07 seconds, the fastest conversion in the entire benchmark. The cost is losing transparency and accepting lossy compression. For photographic PNGs with no alpha channel, JPG is the quickest route to small files.

Lossless WebP shrinks PNG by 32% while preserving every pixel exactly. This is the option when you need web-compatible images with no quality loss: WebP lossless works in all modern browsers and is consistently smaller than the equivalent PNG.

HEIC to JPG: why JPG makes iPhone photos larger

iPhone photos arrive as HEIC, and the common advice is to "convert them to JPG for compatibility." The measurements show why that advice costs you storage. Starting from 24 real iPhone HEIC photos averaging 2,557 KB:

HEIC to JPG, WebP, AVIF, and PNG file size

ConversionAvg outputSize changeEncode time
HEIC to JPG Q852,938 KB+14%1.90s
HEIC to WebP Q801,454 KB-43%5.64s
HEIC to AVIF Q631,082 KB-57%14.52s
HEIC to PNG31,623 KB+1,136%5.11s

HEIC vs JPG: why JPG is the larger format

Converting HEIC to JPG increases file size by 14% on average in this test. The reason is codec efficiency. HEIC wraps the HEVC codec, which compresses roughly twice as efficiently as JPEG's older DCT-based method. Decoding HEIC and re-encoding as JPG moves the image from a more efficient codec to a less efficient one, so the file grows.

If the goal is smaller files, JPG is the wrong target. HEIC to WebP cuts size by 43%, and HEIC to AVIF cuts it by 57%. JPG only makes sense when you specifically need compatibility with software that cannot read HEIC, and the 14% size increase is the price of that universal support.

HEIC to PNG produces a startling 12-fold size increase, from 2.5 MB to 31 MB. PNG stores every pixel losslessly, and a 12-megapixel photo holds roughly 36 MB of raw pixel data. PNG compresses that to about 31 MB, but it is still enormous compared to the HEVC-compressed original. Convert HEIC to PNG only when you genuinely need lossless quality for editing or print.

One caveat on timing: HEIC to AVIF averaged 14.52 seconds per photo, by far the slowest conversion measured. This combines slow HEIC decoding with slow AV1 encoding on full-resolution camera images. For batch HEIC conversion, WebP is the practical choice.

AVIF to JPG and WebP to JPG: reverse conversion file size

Sometimes you receive AVIF or WebP files and need JPG for an older system. These conversions always increase file size, because you are moving back to a less efficient codec:

AVIF to JPG, WebP to JPG, and AVIF to PNG file size

ConversionAvg inputAvg outputSize changeEncode time
WebP to JPG Q8559 KB96 KB+60%0.09s
AVIF to JPG Q8553 KB95 KB+80%0.15s
AVIF to PNG53 KB687 KB+1,208%0.24s

Converting modern formats back to JPG always grows the file

AVIF to JPG grows the file by 80%, WebP to JPG by 60%. The outputs land close together (95 to 96 KB) because both sources are similar in size and both target the same JPG encoder. The conversions are fast, both finishing in under 0.2 seconds, and they do not lose information beyond what JPG encoding normally discards.

AVIF to PNG inflates by more than 12 times, mirroring the HEIC to PNG result for the same reason: PNG reconstructs a full lossless pixel grid from a heavily compressed source. Avoid this conversion unless you specifically need lossless PNG output.

PDF to JPG vs PDF to WebP: file size by DPI

Rasterizing a PDF page to an image format is not compression, it is rendering the page at a chosen resolution. Higher DPI means more pixels and larger files. Here is a single-page PDF rendered to three formats at four DPI settings:

PDF to JPG, PNG, and WebP file size by DPI

DPIJPG Q85PNG losslessWebP Q80WebP vs JPG
72151 KB1,312 KB63 KB-58%
150395 KB4,204 KB126 KB-68%
3001,396 KB2,357 KB420 KB-70%
6004,255 KB17,448 KB1,039 KB-76%

PDF rasterization: WebP is up to 76% smaller than JPG

PDF to WebP is 58 to 76% smaller than PDF to JPG, and the gap widens as DPI rises. At 600 DPI, print quality, a single page is 4.2 MB as JPG but only 1 MB as WebP.

PDF to PNG is consistently the largest output because it is lossless. At 600 DPI a single page reaches 17 MB as PNG. Reserve PNG for cases that demand pixel-perfect rasterization, such as OCR preprocessing or archival.

For everyday use, 300 DPI with WebP output is the sweet spot: sharp on any screen, small enough to email or upload. 150 DPI is fine for screen-only viewing and produces files about 70% smaller than 300 DPI.

Encoding speed: the hidden cost of better compression

File size is only half the picture. Encoding time determines whether a format is practical for batch work. Average encode time across the test images, measured as wall-clock round-trip time:

Image format encoding speed compared

FormatAvg encode timeRelative to JPG
JPG (libjpeg-turbo)0.07 - 0.09sBaseline, fastest
WebP lossy (libwebp)0.18 - 0.21s2 - 3x slower
WebP lossless0.71 - 0.73s~10x slower
AVIF (libaom)1.23 - 1.49s~18x slower
HEIC decode + re-encode1.90 - 14.52sVaries by output

Speed versus size: how to choose a format

AVIF compresses 5 to 15% better than WebP at similar visual quality, but encodes about 7 times slower. For one image, the difference between 0.2 and 1.3 seconds is unnoticeable. For a batch of thousands, it is decisive.

JPG encoding is fastest by a wide margin, which makes it the right pick when speed beats size: real-time processing, live thumbnail generation, or legacy compatibility.

For most workflows, WebP at Q80 is the best general choice: 64% smaller than JPG, 7 times faster than AVIF, and supported in every modern browser since 2020. Reach for AVIF when you control the delivery pipeline and want the smallest files, and you can encode ahead of time rather than on demand.

How this benchmark was measured

All conversions ran on June 18, 2026, on Convertify's production server, the same Rust + libvips pipeline that handles user uploads. The test set was 26 PNG images (screenshots, illustrations, and photographs), 24 iPhone HEIC photos, and derived JPG (Q92), AVIF (Q63), and WebP (Q80) inputs created with the libvips command-line tools.

Timings are wall-clock round-trip on localhost, which includes HTTP parsing but no network latency, so real user times will be slightly higher because of transfer. File sizes are reported by the backend after conversion and verified against disk.

The pipeline runs libvips 8.15 with libjpeg-turbo for JPEG, libwebp for WebP, libaom for AVIF, libheif with libde265 for HEIC, and poppler for PDF rasterization. Metadata is stripped from every output. You can reproduce any figure here by converting the same kinds of files through the corresponding Convertify tool: JPG to WebP, PNG to WebP, HEIC to WebP, or PDF to WebP.

Frequently asked questions

Is WebP actually smaller than JPG?

Yes. In this benchmark, WebP at Q80 produced files 64% smaller than the JPG source (61 KB versus 171 KB) at comparable visual quality. WebP also supports transparency and a lossless mode. The tradeoff is slower encoding, about 0.19 seconds versus 0.07 seconds per image for JPG.

Is AVIF worth it over WebP?

AVIF produced 5 to 15% smaller files than WebP at similar quality, but encoded roughly 7 times slower (1.30 versus 0.19 seconds per image). For web images encoded once and served many times, AVIF is worth the slower encode. For real-time or batch conversion, WebP offers a better balance of speed and size.

Does converting HEIC to JPG save space?

No. The benchmark shows HEIC to JPG increases file size by 14% on average. HEIC uses the HEVC codec, which is about twice as efficient as JPEG. To actually shrink iPhone photos, convert to WebP (43% smaller) or AVIF (57% smaller) instead.

Why is HEIC to PNG so large?

PNG stores every pixel losslessly. A 12-megapixel photo holds roughly 36 MB of raw pixel data, which PNG compresses to about 31 MB. Compared to the HEVC-compressed HEIC original of around 2.5 MB, that is a 12-fold increase. Only convert HEIC to PNG when you need lossless quality for editing or print.

What is the best image format for the web in 2026?

WebP for broad compatibility, supported in all major browsers since 2020. AVIF for maximum compression when encode time is not a constraint. JPG remains the safe fallback for legacy systems, email, and print. For most sites, WebP at Q80 gives the best mix of size, speed, and support.

Which DPI should I use when converting PDF to image?

300 DPI suits most purposes, sharp on any screen and acceptable for most print. 150 DPI is enough for screen-only viewing and yields files about 70% smaller than 300 DPI. Use 72 DPI for quick previews and 600 DPI only for professional print or OCR.

Why does AVIF encode so much slower than WebP?

AVIF uses the AV1 codec via libaom, which achieves better compression by doing more computation per pixel. AV1 was designed for video streaming, where files are encoded once and decoded millions of times, so encode speed was not the priority. WebP's VP8 codec is simpler and faster to encode.

Can I reproduce these benchmarks?

Yes. Every figure comes from converting real files through Convertify's standard tools. Convert the same kinds of images through the matching converter, for example JPG to WebP or HEIC to AVIF, and compare the output sizes. The test set was 24 to 26 images per category, averaged.

SK

Serhii Kalyna

Founder, Convertify Β· Based in Kyiv πŸ‡ΊπŸ‡¦

Full-stack developer building tools for people who hate friction. Writes about image formats, Rust, and the tiny technical decisions that make a product feel fast.