JPG to AVIF
Try AVIF, the most compact mainstream image format, on your own photos.
or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.
- Runs on your device
- No sign-up or watermark
- No fixed file size cap
The short answer
To convert JPG to AVIF, add your photos, keep Output format on AVIF and press Convert. Encoding runs in your browser, never on a server. It depends on the browser having an AVIF encoder for canvas images; many do not, and in that case the tool writes WebP and tells you plainly instead of mislabelling the file.
How to convert JPG to AVIF
- STEP 1
Add your JPGs
Drop in one photo or a batch. Any image the browser can decode will work.
- STEP 2
Keep Output format on AVIF
The menu already starts on AVIF for this page. WebP, JPEG and PNG are there too if you need them.
- STEP 3
Pick a quality
AVIF holds up well at lower settings, so try 60 to 70 and compare the size and look in the preview.
- STEP 4
Convert and check the notice
Press Convert. If a notice says WebP was written instead, your browser cannot encode AVIF here.
What is AVIF?
AVIF is an image format based on the AV1 video codec. It generally produces smaller files than JPG and WebP at the same visual quality, supports transparency and higher bit depths, and is displayed by all current major browsers.
Displaying AVIF and creating it are different things, though. Browsers ship AVIF decoders, but the encoder that a web page can call is often missing. That limits how this tool can make AVIF, and it is why the result may come back as WebP.
What survives, and what does not
Before converting, the page asks the browser whether it can produce an AVIF from a canvas. If it can, each photo is encoded at your chosen quality. If it cannot, the tool falls back to WebP, or to JPEG if WebP is also unavailable, and shows a notice naming the format it actually wrote.
What you keep
Full resolution, unless you set a longest edge
Upright orientation, applied when the JPG is decoded
Honest output: the file extension always matches the real format
What you lose
EXIF metadata, including GPS
AVIF itself, in browsers without a canvas AVIF encoder, where WebP is written instead
Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.
JPG to AVIF at a glance
| Input | JPG, JPEG |
|---|---|
| Output | AVIF where the browser can encode it, otherwise WebP |
| Runs on | Your device, in the browser |
| Batch | Yes |
| Engine | Browser canvas encoder |
| Works offline | After the first use |
If something goes wrong
I asked for AVIF and got a .webp file
Your browser does not expose an AVIF encoder to web pages. The fallback is deliberate and announced. For true AVIF output today, a desktop tool such as an image editor with AVIF export is the reliable route.
The AVIF will not open on my computer
Some older image viewers and editors cannot read AVIF yet. Open it in a browser, or convert it back with the AVIF to JPG tool.
JPG to AVIF questions
Is AVIF better than JPG?
For file size at a given quality, usually yes, and it also supports transparency and HDR. JPG wins on compatibility: every device, app and printer reads it.
Why did my JPG convert to WebP instead of AVIF?
Converting in the browser relies on the browser offering an AVIF encoder for canvas images, and many do not. Rather than save a PNG with an .avif name, the tool writes WebP, which is still far smaller than JPG, and says so.
What quality should I use for AVIF?
Lower than for JPG. Around 60 often looks comparable to a JPG at 80. Compare the preview with the original before converting a whole batch.
Do all browsers display AVIF images?
Current versions of Chrome, Edge, Firefox and Safari all display AVIF. Older browsers and some email clients do not, so keep a JPG fallback for those.
Are my photos uploaded during conversion?
No. Whether the output is AVIF or the WebP fallback, encoding happens in your own browser and the photos stay on your device.