Or try an example
First download loads a local AVIF encoder (~1 MB). Encoding stays in your browser.
Help Us Improve
—
(—)
Convert JPG to AVIF online
Convert JPG to AVIF online free. Turn JPEG photos into smaller AVIF files in your browser — adjust quality, download instantly, no upload.
What is a JPG to AVIF converter?
JPG to AVIF converter features
JPG / JPEG upload
Drop or select photos from cameras, exports, or downloads.
AVIF quality control
Dial compression from 1–100 for web or archive-sized output.
Live preview
Inspect the converted image before you download .avif.
WASM AVIF encoder
Uses libavif in WebAssembly so encoding works beyond Chromium-only canvas support.
No server upload
JPG to AVIF conversion stays on your device for privacy.
How to convert JPG to AVIF
Upload your JPG
Drop a .jpg or .jpeg file from your device.
Adjust AVIF quality
Lower values shrink files; higher values keep more detail.
Preview
Confirm the result looks right in the preview pane.
Download AVIF
Save the .avif file. The first download loads a local WASM encoder once.
Tips for converting JPG to AVIF
Use quality 60–80 for web
Often beats JPEG size while looking sharp on screen.
First encode loads the codec
The AVIF WASM encoder (~1–2 MB) downloads once, then later exports are faster.
Keep a JPG fallback
Serve JPG to clients that still lack AVIF decode if your stack requires it.
Need AVIF to GIF instead?
Use AVIF to GIF Converter for still AVIF → animated GIF handoffs.
AVIF converters compared
CloudConvert AVIF converter
Ranks for “jpg to avif” and general AVIF conversion, including AVIF↔video paths. Files are processed in the cloud with free-tier limits.
Squoosh / WASM encoders
Excellent cross-browser AVIF encode via WebAssembly. Heavier first load than native canvas encode.
Desktop ImageMagick / libavif
Best for batch pipelines and exotic color spaces. Requires install and more setup.
This JPG to AVIF tool
Browser WASM encode with libavif, quality slider, no account, no upload. Works across modern browsers without relying on native canvas AVIF support.
Great for
Web performance
Ship smaller hero and product images with AVIF where supported.
CDN and CMS pipelines
Convert JPG assets before upload when your stack prefers AVIF.
Photo libraries
Shrink large JPEG collections while keeping usable quality.
Learning what AVIF is
Create a real .avif file while reading what the format is for.
Why use this JPG to AVIF converter
100% free
No sign-up, no daily caps, no watermarks.
Privacy first
Your JPG never leaves the browser tab.
Adjustable quality
Balance size and detail for web or archive copies.
No desktop app
Works in modern browsers with a local WebAssembly encoder — no install required.
Technical details
- Input
- JPEG / JPG files up to 15 MB.
- Conversion path
- JPG → Canvas 2D decode → libavif WASM encode → .avif download.
- Encoder
- @jsquash/avif (Squoosh libavif), single-thread WASM served from /jsquash/avif_enc.wasm.
- Output cap
- Maximum 8192 px on the longest edge.
Sources & References
“AVIF is an image file format specification for storing images or image sequences compressed with AV1.”
AVIF (AV1 Image File Format): AVIF is a modern still-image format based on the AV1 video codec. It often produces smaller files than JPEG or WebP at similar visual quality for web photos. en.wikipedia.org/wiki/AVIF
“JPEG is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography.”
JPEG: JPG/JPEG remains the default camera and photo-export format. Converting JPG to AVIF is a common step before shipping images on performance-focused sites. en.wikipedia.org/wiki/JPEG
“The Canvas API provides a means for drawing graphics via JavaScript and the HTML canvas element.”
HTMLCanvasElement + WebAssembly: This converter draws your JPEG onto a canvas, then encodes AVIF with libavif compiled to WebAssembly (@jsquash/avif) so downloads work even when canvas.toBlob cannot produce image/avif. developer.mozilla.org/en-US/docs/Web/API/Canvas_API
“AOMedia Video 1 (AV1) is an open, royalty-free video coding format designed for video transmissions over the Internet.”
AV1 codec: AVIF stores AV1-compressed still frames. Encoding support in browsers is still catching up to decode support. en.wikipedia.org/wiki/AV1