JPEG: The 30-Year Standard
JPEG (Joint Photographic Experts Group) was standardized in 1992 and has remained the dominant image format for over three decades. Its longevity is not accidental — JPEG solved the right problem at the right time and has several enduring advantages:
- Universal compatibility — JPEG is recognized by every browser, operating system, application, email client, camera, printer, and image viewer ever created. There is no device or software that cannot open a JPEG file.
- Instant encoding — JPEG's DCT-based compression is computationally simple. Modern hardware encodes JPEG images in milliseconds, making it ideal for real-time applications like digital cameras, screenshots, and on-the-fly image processing.
- Mature ecosystem — every image editing application from Photoshop to GIMP to mobile photo editors supports JPEG natively. Camera RAW processors output JPEG. Print services accept JPEG. The entire photographic workflow is built around it.
- Good enough compression — at quality 85–92, JPEG produces files that are visually indistinguishable from the source for most photographs. The compression ratio may not be state-of-the-art, but it has been sufficient for web, print, and sharing for three decades.
JPEG's limitation is its age. The DCT-based algorithm from 1992 cannot compete with modern compression techniques, and the format lacks features that modern applications demand: transparency, HDR, animation, and lossless mode.
AVIF: The Next-Generation Contender
AVIF (AV1 Image File Format) was released in 2019 by the Alliance for Open Media. It uses the AV1 video codec's intra-frame compression — technology that has had the benefit of 27 more years of compression research compared to JPEG. The result is a format that comprehensively outperforms JPEG on every technical metric:
- 50% smaller files — at equivalent perceptual quality, AVIF images are roughly half the size of JPEG. A 500 KB JPEG becomes a 250 KB AVIF with no visible quality difference.
- HDR and wide color gamut — AVIF supports 10-bit and 12-bit color depth with PQ and HLG transfer functions. This enables true HDR content for HDR-capable displays, something JPEG cannot do.
- Transparency — AVIF supports a full alpha channel, enabling transparent images with photographic-quality compression. JPEG has no transparency support.
- Animation — AVIF can contain animated image sequences, replacing GIF and animated WebP with dramatically better compression.
- Open-source and royalty-free — developed by a consortium including Google, Apple, Microsoft, Mozilla, Netflix, and Amazon. No licensing fees.
Visual Quality at the Same File Size
The most meaningful comparison between AVIF and JPEG is visual quality at a given file size. When you constrain both formats to produce the same file size, what does each one look like?
Gradients and Skin Tones
AVIF handles smooth gradients and skin tones significantly better than JPEG at equivalent file sizes. JPEG's 8×8 block structure creates visible banding and blockiness in smooth tonal transitions, particularly in:
- Sky gradients — JPEG at aggressive compression shows visible color steps in sunset and blue sky areas. AVIF's larger block sizes (up to 128×128) and 10-bit internal processing preserve smooth, continuous gradients.
- Skin tones — portrait photography at low bitrates shows blotchy skin in JPEG due to quantization artifacts. AVIF's advanced prediction modes produce smoother skin rendering.
- Out-of-focus backgrounds (bokeh) — the smooth bokeh blur in portrait photos is a worst case for JPEG's block-based approach. AVIF preserves the creamy quality of defocused areas at much lower file sizes.
Fine Detail and Texture
At medium to low quality settings, JPEG begins losing fine texture — hair, fabric weave, foliage, and similar patterns become smudged and indistinct. AVIF retains these details to lower file sizes because:
- AV1's prediction engine models complex textures more accurately than JPEG's fixed-size DCT
- Variable block sizes allow the encoder to use smaller blocks for detailed regions and larger blocks for smooth regions, adapting to the image content
- More efficient entropy coding preserves more of the quantized coefficient data within the same file size budget
Sharp Edges and Text
JPEG's well-known weakness is ringing artifacts (Gibbs phenomenon) around sharp high-contrast edges. These halos are visible around text, logos, and any boundary between dark and light areas. AVIF significantly reduces these artifacts through its adaptive block partitioning and directional prediction modes, though for text-heavy images, PNG or lossless AVIF remains the ideal choice.
Feature Comparison Table
| Feature | AVIF | JPEG |
|---|---|---|
| Compression type | Lossy + Lossless | Lossy only |
| Codec | AV1 (2019) | DCT (1992) |
| File size (same quality) | ~50% smaller | Baseline |
| HDR support | Yes (10/12-bit, PQ/HLG) | No (8-bit SDR only) |
| Transparency | Full alpha channel | None |
| Animation | Yes | No |
| Color depth | Up to 12-bit/channel | 8-bit/channel |
| Wide color gamut | BT.2020, Display P3 | sRGB (via ICC profile) |
| Lossless mode | Yes | No |
| Encoding speed | Slow (8–10x) | Very fast |
| Decoding speed | Good | Very fast |
| Browser support | ~94% global | 100% universal |
| Software support | Growing (major apps) | Universal |
| Email compatibility | Limited | Universal |
| Print support | None | Universal |
| Royalty-free | Yes | Yes |
Compression Comparison
The file size difference between AVIF and JPEG is substantial and consistent across image types. Here are representative measurements at equivalent perceptual quality (matched using SSIM):
| Image Type | Dimensions | JPEG (Q85) | AVIF | Savings |
|---|---|---|---|---|
| DSLR landscape | 4000 × 3000 | 3.2 MB | 1.5 MB | 53% |
| Portrait photo | 3000 × 4000 | 2.8 MB | 1.3 MB | 54% |
| Product photo | 2000 × 2000 | 680 KB | 340 KB | 50% |
| Web hero image | 1920 × 1080 | 420 KB | 210 KB | 50% |
| Smartphone photo | 4032 × 3024 | 2.5 MB | 1.2 MB | 52% |
| Thumbnail | 300 × 300 | 32 KB | 15 KB | 53% |
| Food photography | 2400 × 1600 | 520 KB | 255 KB | 51% |
The ~50% file size reduction is remarkably consistent across different image types, resolutions, and subject matter. This means a website serving 2 MB of JPEG images per page could reduce its image payload to approximately 1 MB with AVIF — a meaningful improvement for Core Web Vitals, mobile users on limited data plans, and server bandwidth costs.
Compatibility: JPEG's Unbeatable Advantage
This is where JPEG still wins decisively. Universal compatibility is JPEG's superpower, and it is the primary reason the format cannot be replaced overnight.
JPEG: Works Everywhere
JPEG is supported by:
- Every web browser ever created (100% support, including IE 5)
- Every operating system (Windows, macOS, Linux, iOS, Android, ChromeOS)
- Every email client (Gmail, Outlook, Apple Mail, Yahoo, Thunderbird, and every other client)
- Every social media platform (Instagram, Facebook, X/Twitter, LinkedIn, Pinterest, TikTok)
- Every image editor (Photoshop, GIMP, Paint, Preview, Lightroom, Affinity, Canva)
- Every printer and print service (photo labs, office printers, professional print shops)
- Every digital camera and smartphone camera
- Every messaging app (WhatsApp, Telegram, Signal, iMessage, SMS/MMS)
This level of universality took 30 years to achieve and cannot be replicated by any new format in the near term.
AVIF: Growing but Not Universal
AVIF is supported by approximately 94% of web browsers in 2026, which is excellent for a format released just 7 years ago. However, outside the browser, AVIF support remains incomplete:
- Email — most email clients do not render AVIF inline. Sending an AVIF attachment is possible, but the recipient may not be able to open it.
- Social media — no major social platform accepts AVIF uploads directly
- Print — zero support in the print industry
- Older software — legacy applications, some CMS platforms, and older mobile apps cannot process AVIF
- Windows 10 — requires installing the AV1 Video Extension from the Microsoft Store for thumbnail and viewer support
Encoding Time: JPEG Is Instant
One of the most practical differences between AVIF and JPEG is encoding speed.
JPEG encoding is essentially instant. A modern CPU can encode a 12-megapixel photograph to JPEG in 30–80 milliseconds. This is why digital cameras can save JPEG at 20+ frames per second, why image editors export JPEG instantly, and why web servers can generate JPEG thumbnails on the fly.
AVIF encoding takes 8–10x longer. The same 12-megapixel photograph takes 300–800 milliseconds with a software encoder, and can take several seconds at maximum compression settings. The AV1 codec was designed to maximize compression efficiency, not encoding speed — it explores many more partitioning and prediction options than JPEG's straightforward DCT pipeline.
Why it matters: For websites with static content, encoding speed is irrelevant — images are encoded once and served millions of times. For user-uploaded content, dynamic image generation, or camera firmware, JPEG's instant encoding remains a decisive advantage. Hardware AV1 encoders (Intel Arc, NVIDIA RTX 40-series, Apple M4) are narrowing the gap for server-side processing.
When to Use Each Format
Use AVIF When
- Web delivery — AVIF's 50% file size reduction directly improves page load times, Core Web Vitals, and bandwidth costs. Use the
<picture>element with JPEG fallback for universal compatibility. - Bandwidth-constrained delivery — mobile apps, emerging markets with slow connections, and metered connections benefit most from AVIF's superior compression.
- HDR content — if you are delivering content to HDR displays (which includes most modern phones and laptops), AVIF is the only widely-supported web format that can carry HDR imagery.
- Images with transparency — when you need photographic-quality compression with an alpha channel, AVIF is dramatically more efficient than PNG-32.
- Archival in lossless mode — AVIF lossless produces smaller files than PNG for photographic content while preserving every pixel exactly.
Use JPEG When
- Email — JPEG is the only reliable image format for email. AVIF and even WebP may not render in many email clients.
- Printing — photo labs, document services, and print shops accept JPEG. They do not accept AVIF.
- Social media sharing — while platforms re-encode uploaded images, JPEG uploads give you the most control over initial quality and are universally accepted.
- Camera output — digital cameras save JPEG natively. The format's instant encoding makes it the only practical choice for high-speed burst photography.
- Maximum compatibility — when the recipient's software is unknown or might be outdated, JPEG is the safe choice. It has never failed to display on any device.
- Real-time encoding — applications that generate images on the fly (screenshots, live previews, camera viewfinders) need JPEG's instant encoding.
The Hybrid Approach
The most practical strategy in 2026 is not to choose between AVIF and JPEG, but to use both where each excels.
The <picture> Tag Strategy
For websites, the HTML <picture> element enables automatic format selection. You provide AVIF, WebP, and JPEG versions of each image, and the browser picks the best format it supports. Approximately 94% of visitors get AVIF (smallest files), and the remaining 6% get JPEG (universal compatibility). No user experience is degraded.
When to Convert AVIF Back to JPEG
There are legitimate reasons to convert AVIF images to JPEG:
- Sharing files outside the browser — email, messaging apps, USB drives, and cloud sharing all work better with JPEG
- Using images in software that does not support AVIF — many editors, presentation tools, and design applications still require JPEG or PNG
- Preparing images for print — print workflows require JPEG (or TIFF) and have no AVIF support
- Uploading to platforms that require JPEG — some stock photo agencies, portfolios, and CMS platforms only accept traditional formats
- Ensuring compatibility with all recipients — when you do not know what software or device the recipient uses, JPEG is the universal safe choice
Converting with Convertio: Our AVIF to JPG converter decodes the full AVIF image (including HDR tone-mapping to SDR), flattens any transparency to white, and outputs JPEG at quality 92 in sRGB color space. The result is a universally compatible file with excellent visual quality.