AVIF Converter
Convert JPEG, PNG, WebP, or HEIC to AVIF with a quality slider. Files auto-deleted after 15 minutes.
Reviewed by Aygul Dovletova · Last reviewed
How to Use the AVIF Converter
- Drop a JPEG, PNG, WebP, or HEIC into the upload area. Files up to 100 MB are accepted; the form sniffs the type from the file rather than trusting the extension.
- Pick a quality value using the slider. 60 is a strong default for web delivery; 80 or higher is portfolio-grade; values below 40 produce thumbnail-grade output that still beats JPEG of the same size.
- Click Convert to AVIF. The encoder runs server-side - this is intentional, browser-based AVIF encoding is too slow and inconsistent across vendors.
- Watch the progress bar. Upload, encode, and download are streamed through the same job; encoding a 12-megapixel photo at quality 60 takes a few seconds.
- Download the AVIF file. The signed URL is valid for 15 minutes; the source upload is also deleted in that window.
What AVIF Gets You Over JPEG and WebP
AVIF wraps AV1's intra-frame codec into a still-image container (ISO/IEC 23000-22). At equivalent perceived quality, AVIF files are typically half the size of an equivalent JPEG and 20-30% smaller than the same image as WebP. The codec gains come from three places: smarter intra-frame prediction (the encoder predicts each block from the surrounding context and only encodes the residual), advanced entropy coding with arithmetic coding, and richer transform modes that match a wider range of texture types. AVIF also supports a real alpha channel, 10 and 12-bit colour, and HDR static metadata, which JPEG cannot do at all and WebP can only partly do. For a 2026 image pipeline where storage and bandwidth matter, AVIF is the smallest format you can ship without losing visible quality.
When AVIF Is Worth It and When It Is Not
AVIF shines on photographic content above roughly 800x600. The codec's intra-frame prediction needs enough pixels to amortise its overhead; tiny icons and logos under 50 KB are sometimes larger as AVIF than as PNG or WebP because the container metadata dominates. AVIF also benefits images with smooth gradients (skies, skin, bokeh) where AV1's predictors collapse entire blocks into a few bytes. Where AVIF underperforms is on already-compressed images: re-encoding a JPEG into AVIF cannot recover detail JPEG threw away, and the output simply preserves the JPEG artifacts in a smaller file. For maximum savings, encode AVIF from the original lossless master (PNG or RAW) when you can.
Common AVIF Scenarios
- Replacing a 1.2 MB hero JPEG with a 380 KB AVIF, dropping Largest Contentful Paint on mobile from 3.1 s to 1.9 s.
- Re-encoding a product gallery from WebP to AVIF and seeing total page weight drop 28% without any visible quality change.
- Shipping a 64-image lookbook as a single AVIF container per page so the gallery loads in two viewport repaints.
- Converting iPhone HEIC photos to a portable AVIF for a private cloud, getting smaller files than the HEIC source and broader browser support.
- Producing 10-bit AVIF for a HDR portfolio site, preserving the Display P3 wide-gamut metadata that JPEG silently drops.
- Cutting CDN egress bills on a high-traffic image board by serving AVIF to modern browsers and JPEG to legacy clients via a picture element.
Privacy, Limits, and Performance Notes
Files are processed on EU servers. Both the upload and the AVIF output are deleted from disk 15 minutes after they are created; signed download URLs expire when the file is removed. Inputs are limited to 100 MB, which comfortably handles every reasonable photo source including 60-megapixel medium-format JPEGs. The encoder is single-threaded for fairness; a 12-megapixel input at quality 60 typically encodes in a few seconds, a 36-megapixel input in tens of seconds. The encoder honours the source colour profile, so a Display P3 photo survives without being clamped to sRGB the way Canvas-based browser encoders silently do.
How This Compares to Other AVIF Paths
Squoosh.app exposes AVIF speed and effort knobs (libaom presets) for users who want to trade encode time for compression efficiency, but its browser runtime is slow because libaom-wasm is single-threaded JavaScript. The command-line cavif binary is the fastest desktop encoder for typical web work; ImageMagick 7 supports AVIF via libheif, which is what we use server-side. Sharp (libvips with libavif) is the lightest path for Node pipelines and is the underlying library this tool calls. Each route lands in roughly the same place quality-for-size; the differentiator is throughput. Use this tool when you want a one-off privacy-preserving encode without installing anything; use Squoosh for parameter exploration; use the CLI for batch jobs.
Frequently Asked Questions
Why convert images to AVIF?
AVIF (AV1 Image File Format, ISO/IEC 23000-22) typically halves the file size of an equivalent JPEG at the same perceived quality, supports 10 and 12-bit colour for HDR, keeps an alpha channel without paying the lossless tax that PNG charges, and is supported by Chrome, Firefox, Safari (since 16.4), and Edge. For a 2026 image pipeline, AVIF is the smallest format you can ship without losing visible quality.
What does the quality slider do?
The slider maps to the AV1 quantiser. A value of 60 is a strong web default; 80+ is portfolio-quality with file sizes still smaller than a JPEG of equivalent quality; below 40 is fine for thumbnails. Unlike JPEG where 75 is the well-known "do not go below" number, AVIF holds up far better at lower numbers because AV1's intra-frame prediction handles smooth gradients and texture much more efficiently.
Why is the encoder slower than JPEG or WebP?
AV1 encoding is computationally expensive. Even with libaom or rav1e tuned for stills, encoding a 12-megapixel image takes a few seconds on a server CPU - one or two orders of magnitude slower than JPEG encoding. That tradeoff is the reason the form is wrapped in a job queue: you upload, the encoder runs, you poll, you download.
Will every browser display the result?
AVIF is in 95%+ of active browsers in 2026: Chrome 85+, Firefox 113+ (default-on since 116), Safari 16.4+, Edge 121+. The long tail of installed browsers that cannot decode AVIF is mostly older iOS Safari and legacy enterprise installs. For maximum compatibility, serve AVIF via a <code><picture></code> element with a WebP and a JPEG fallback.
Does the converter strip EXIF and GPS?
No. The convert operation keeps the EXIF block, the ICC colour profile, and XMP metadata when the destination format can hold them. AVIF can embed EXIF, so unless you also run the <a href="/tools/strip-exif/">EXIF Stripper</a> the GPS and camera info ride along. For social posts and public web, run strip-exif as a second pass.
HDR images - what happens to wide gamut data?
AVIF supports 10 and 12-bit colour and HDR static metadata (CICP), so a Display P3 source survives encoding without being clamped to sRGB the way Canvas-based browser conversions do. The current encoder defaults to 8-bit output to maximise compatibility; a 10-bit toggle is planned. For pro photography work, a desktop encoder with explicit colour configuration is still the safer choice.
Can I convert from AVIF to another format here?
Not with this tool - it is one-way (anything to AVIF). For the reverse direction, the <a href="/tools/image-format-converter/">Image Format Converter</a> handles AVIF input and outputs JPEG / PNG / WebP.
Why is my AVIF output a bit larger than I expected?
Two common reasons. First, encoding a small image (under 50 KB) often grows because the AVIF container overhead is fixed and the actual compression cannot offset it. Second, encoding a near-black or near-flat image leaves AV1's predictor with almost nothing to work with, so the savings stay flat. AVIF shines on photographic content at 800 x 600 and above.
Can the tool batch many files at once?
Not yet - the form takes one file per request. For batch jobs use <code>cavif</code> on the command line, or <code>magick convert input.jpg -define heic:speed=0 output.avif</code> (ImageMagick 7 with AVIF support), or libvips <code>vips copy in.jpg out.avif[Q=60]</code>.
More Image Tools
Base64 to Image Converter
Decode a Base64 string or data URL back into a viewable image and download it as PNG, JPG, WebP or GIF. Runs in your browser.
Open toolFavicon Generator
Generate favicons in all standard sizes (16x16 to 512x512) for websites and PWAs.
Open toolImage Blur & Pixelate
Apply blur or pixelation effects to images with adjustable intensity.
Open toolImage Color Picker
Upload an image and pick colors in HEX, RGB, and HSL with a visual color history.
Open toolImage Compressor
Compress images by adjusting quality to reduce file size without losing visual clarity.
Open toolImage Cropper
Crop images with preset aspect ratios like 1:1, 16:9, and 4:3 using a visual editor.
Open tool