Convert JPG to AVIF
Photos 67% to 94% smaller than the JPG in our tests, encoded on your device.
- Nothing is uploaded
- Works offline after first use
- Open source
- No watermark · limit is your device’s memory; phones hold less
Convert JPG photos to AVIF in your browser for much smaller files. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The first run downloads the AVIF encoder (about 3.5 MB) and the WebAssembly engine that runs it to your browser, and after that the tool works offline.
Done
Free, no ads. Support StayPut
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
AVIF is the image format built on the AV1 video codec, and it is a lot smaller than JPG. In our tests on two 12-megapixel photos at the default quality 60, the AVIF files were 67% to 94% smaller than the JPG, depending on the photo and on which encoder ran.
The first run downloads the AVIF encoder (about 3.5 MB) and your browser keeps it afterwards. Chrome has no AVIF encoder for web pages, so a WebAssembly one does the work in your tab; browsers that can write AVIF themselves (Safari’s engine does) use their own and skip the download. A large photo took about 3 to 5 seconds on a recent Mac and can take far longer on a phone. The quality scale is not JPG’s: an AVIF at 60 usually looks like a JPG at a much higher number, so judge by eye, not by the number. EXIF data, including location, is not kept.
Related converters
- AVIF to JPG and AVIF to PNG, to open an AVIF in software that does not know the format
- JPG to WebP and PNG to WebP, a smaller step up from JPG and PNG that more programs open
How it works
- Drop your JPG files onto the page, or tap to pick them. Batches are fine, but each AVIF takes a while to encode.
- Pick a quality from 1 to 100 (60 is a good start), tick "Faster encode" to trade a little size for speed, or downscale the image.
- Download each AVIF, or all of them as one zip.
In your browser, not on a server
Stayput first reads the opening bytes of each file, where every image format writes its signature, so it knows what the file really is whatever it is called. Your browser decodes JPG, PNG, WebP, GIF, BMP, AVIF and SVG itself; TIFF goes through UTIF.js, HEIC through the libheif WebAssembly decoder, and JPEG XL (or AVIF, in a browser without native support) through the Squoosh decoders, all served from this site and cached. The browser re-encodes JPG, PNG and WebP; PDF, ICO, GIF, BMP and TIFF files are written by small encoders in the page. Nothing here needs a server.
Compared with upload-based tools: Online converters upload your image, convert it on their machine, keep it for hours and cap you at a few files a day. This does the same conversion on your device, for as many files as your device’s memory can hold, with no upload to wait for.
Verify it yourself. Give the page a short while after your first run to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
How much smaller is AVIF than JPG?
In our tests on two 12-megapixel photos at the default quality 60, the AVIF files were 67% to 94% smaller than the JPG, depending on the photo and on which encoder ran. The saving depends on the picture and on how well the original JPG was compressed, so try the quality slider and look at the result. Blurred backgrounds shrink the most; sharp, detailed photos the least.
Will every app open the AVIF?
Not every program does. The files this page writes opened in Chrome, in Safari’s engine and in the image tools built into macOS, and the page’s own AVIF to JPG and AVIF to PNG converters read them back. We have not tested Windows apps, Microsoft Office or photo editors, and older software may refuse AVIF. If a program will not open it, convert it back with AVIF to JPG on this site.
Why does it take so long?
AVIF is expensive to compress: the encoder tries many ways to describe each block of the picture. Where you see “Faster encode (lower effort)”, tick it to make the encode noticeably quicker for a slightly larger file, or downscale the image first. You can cancel an encode at any point.
Is the EXIF data kept?
No. The AVIF holds only the picture, so camera details and location are removed.
More image tools
Image Converter
Drop any image, see what it really is, pick what you need. Converted on your device.
Compare images
Find what changed between two pictures with a slider, a difference map or a fade, all on this device.
Image to ASCII art
Turn a picture into text characters you can copy, paste or save, made on this device.
Pixel art converter
Chunky pixels and a limited palette from any picture, previewed live and made on this device.
Other conversions
- JPG to PNG
- JPG to WebP
- PNG to AVIF
- JPG to ICO
- JPG to BMP
- JPG to GIF
- JPG to TIFF
- AVIF to JPG
- Any image to JPG
- JPEG to JPG
- JPG to Word
- RAW to JPG
- JPG to text
- JPG to SVG
- JPG to PDF
- PDF to JPG
- Resize image to 512×512
- YouTube banner resizer
- YouTube thumbnail resizer
- Facebook cover photo resizer
- Discord banner resizer
- Compress JPG
Guides
- JPG, PNG, WebP or HEIC: which image format to useA practical rule for each job, and the conversion to get there.
- Is CloudConvert safe?For most files, yes: it is an established, certified service. The real question is whether a given file should leave your computer at all.
- Is FreeConvert safe?FreeConvert is a legitimate service with a clear deletion policy. Whether it is safe for a particular file depends on whether that file should be uploaded anywhere.
- Is Convertio safe?Convertio is a well-known converter with a published deletion policy. For private files, the safer choice is a converter that never receives them.
- Is Zamzar safe?Zamzar is one of the oldest online converters. Its storage window is longer than most, which is the detail worth knowing.