Convert JPEG to AVIF

Drop a JPEG file below and get a AVIF back. The conversion happens on your own machine, so nothing is uploaded and there is no size or quantity limit beyond what your browser can hold in memory.

Drop images here

Accepts JPEG

Lower means a smaller file. 75 is a good default for photos.

    100% in your browser Files are never uploaded.

    Why convert JPEG to AVIF?

    For the same picture, AVIF usually lands well under the size of the JPEG original. That matters when you are trimming page weight or squeezing under an upload limit.

    AVIF supports an alpha channel, so you can cut out a background after converting. The conversion itself will not invent transparency that the JPEG file never had.

    Both formats are lossy. Every re-encode discards a little more detail, so it is worth starting from the original rather than from a copy that has already been through this a few times.

    JPEG vs AVIF at a glance

    PropertyJPEGAVIF
    CompressionLossyLossy
    TransparencyNoYes
    Typical file size100% of an equivalent JPEG40-55% of an equivalent JPEG
    CompatibilityOpens everywhere, including decades-old softwareAll current browsers; some older desktop apps lag behind
    Usually comes fromDigital cameras and photo sharingWebsites optimising page weight

    Frequently asked questions

    Are my JPEG files uploaded anywhere?

    No. The decoder and encoder are WebAssembly modules that run inside this page. You can verify it by opening your browser’s network tab — converting a file produces no outbound requests. You could even disconnect from the internet after the page loads and it would still work.

    Is there a file size or quantity limit?

    There is no limit imposed by us. The practical ceiling is your device’s memory, since the image has to be held uncompressed while converting. On a typical laptop, images up to around 100 megapixels convert without trouble.

    Will converting to AVIF lose quality?

    AVIF is a lossy format, so some data is discarded. At the default quality setting the difference is not visible at normal viewing sizes. If you need an exact copy of the pixels, choose PNG instead.

    Does it work on a phone?

    Yes. The same WebAssembly modules run on mobile browsers. Conversion is slower than on a desktop because phone CPUs are weaker, and very large images are more likely to hit memory limits.

    Will converting from JPEG lose more quality?

    A little, if the target is also lossy. The JPEG you start with has already discarded data, and a second lossy encode discards a bit more. At quality 80 or above that second loss is hard to spot, but it is exactly why you should keep the original rather than converting the same file back and forth.

    Where does AVIF actually work?

    Every major browser decodes AVIF natively, so it is safe for use on the web. Desktop applications lag further behind — plenty of image viewers and editors still cannot open it. Encoding is also noticeably slower than the other formats here, so expect a large image to take a few seconds.

    Related converters