Upload your JPG file, pick the output option, and download the AVIF result.
JPG to AVIF Converter
JPG opens on practically any device, but a growing number of sites and apps now ask for AVIF, a newer image codec. This page re-encodes your JPG as AVIF entirely on your own device, so the picture is read and encoded locally and nothing is uploaded to a server. Pick this direction whenever a destination accepts AVIF but rejects JPG.
Key features
- Draws your JPG to an in-browser HTML5 canvas and encodes it to AVIF with a WebAssembly engine running on your device.
- Returns the AVIF as a downloadable blob with no server round-trip.
- Builds the preview link for the output entirely client-side.
- A quality slider above the file picker controls the AVIF compression level from 10 to 100, defaulting to 60; a live number beside the slider updates as you drag it, and the output image keeps the exact width and height of the source JPG since there is no separate resize control.
Privacy
The tool does not store your input or output beyond the page session and does not send your picture to any analytics or tracking service. No account or signup is needed.
Good to know
The encoder is single-threaded WebAssembly, so a very large image can take a few seconds; 10-bit and 12-bit HDR encoding are not offered. For the reverse direction, use the AVIF to JPG converter; to convert to or from other formats such as PNG, JPG, or WebP, browse the image conversion tools hub.
What happens after you click Convert
Clicking Convert to AVIF does not start encoding right away. The tool first loads the AVIF WebAssembly module from the site's own vendor folder, and it only does this on that first click, so simply choosing a file never triggers a download of the encoder. The status line under the button tracks each stage in plain language: it confirms the image is ready once you pick a file, then reports that the in-browser AVIF encoder is loading (first run only), then that it is encoding, and finally shows the finished file's size in kilobytes once the AVIF blob is ready. Each message replaces the previous one in the same line, so you always know which step is running without opening the browser's developer console. Because the WebAssembly module loads once per page visit, converting a second image on the same page skips straight to the encoding step and finishes faster than the first conversion. Nothing in this sequence involves a network request to any server other than the site's own static files - the image itself never leaves your device. The preview stays hidden until the AVIF file is actually ready, then it displays the real converted output rather than the original JPG, so if your browser can decode AVIF images you are looking at the finished file itself, not a placeholder.
If the encoder can't finish the conversion
The Convert to AVIF button stays disabled until you have chosen a readable image file, so there is nothing to click before that. Once a conversion starts, the button disables again so a second click cannot start two encodes at the same time. If the WebAssembly encoder throws an error partway through - for example on a corrupted file or a browser that restricts WebAssembly - the status line shows the browser's own error message instead of failing silently, and the Convert button re-enables so you can try a different image without reloading the page. Surfacing the real error matters here because a corrupted source file and a WebAssembly restriction need different fixes, and a generic "something went wrong" message would leave you guessing which one you hit.
Frequently Asked Questions
What does JPG to AVIF Converter do?
Convert a JPG input into a AVIF output - one step, in the browser.
When should I reach for jpg to avif converter?
Typical use: when your downstream platform accepts AVIF but not JPG.
What complementary tools work well alongside jpg to avif converter?
If you need the reverse direction, look at the related-tools section for the AVIF-to-JPG converter.
What happens if I pick a different image after converting one?
Choosing a new file clears the previous result: the earlier preview and Download .avif link are hidden, and the browser releases the memory holding the old converted file before loading the new one.
What file name does the downloaded AVIF get?
The download keeps your original file's name and swaps only the extension - a file named vacation.jpg downloads as vacation.avif.