Saved

Press the star next to a tool's name to save it.

All my tools

JFIF to AVIF Converter

Use this JFIF to AVIF converter to turn .jfif and JPG images into AVIF with a WebAssembly encoder in your browser, with a quality setting and no upload.

Your images are converted on your device with a WebAssembly AVIF encoder. Nothing is uploaded.

Converted images

Choose JFIF images to convert them to AVIF.

A JFIF to AVIF converter turns images saved as .jfif, which are JPEG pictures, into AVIF images that are often smaller and that all major browsers display. Choose your JFIF files and the AVIF versions are made in your browser with a WebAssembly encoder. Nothing is uploaded, and you can choose the quality.

How to use the JFIF to AVIF converter

  1. Choose your JFIF or JPG images, or drop them on the box. You can convert up to 30 at once.
  2. Choose the AVIF quality: high, medium or small.
  3. Wait while the images are converted. The first one loads the encoder.
  4. Press Download beside an image, or Download all (.zip).

What JFIF is

JFIF stands for JPEG File Interchange Format. The Wikipedia page on it describes an image file format standard, ITU-T T.871 and ISO/IEC 10918-5, which is a container specification for JPEG-coded image data. It builds on the basic JPEG interchange format and adds the definition of the resolution, the aspect ratio and the colour space. A JFIF file is therefore a JPEG picture, and the page says that its media type is still image/jpeg. Some programs save or name JPEG pictures with the .jfif extension, and some programs, including older Windows tools, do not open them without a conversion.

What AVIF is

AVIF is the AV1 Image File Format, developed by the Alliance for Open Media as an open and royalty-free format. According to Wikipedia, it supports lossless and lossy compression, transparency and high dynamic range, and Netflix tests in 2020 found better compression efficiency than JPEG, with fewer blocking artifacts and less colour bleeding. All major web browsers have supported it since 2024. Its files use the .avif extension.

Why convert JFIF to AVIF

The usual reason is the web. An AVIF version of a picture can be smaller than the JPEG for the same look, which saves bandwidth and makes pages load faster, and browsers display AVIF directly. It is also an easy way to move away from the .jfif extension, which many upload forms and apps do not accept. If a site only takes JPG or PNG, use the JFIF to JPG or PNG converters instead.

How the conversion works

The page decodes your JPEG picture in your browser into pixels, which also turns a sideways photo upright. It then encodes the pixels with the libavif encoder, compiled to WebAssembly, at the quality that you choose. Because a JPEG already lost some detail when it was made, the new file keeps the picture as it looks now, and it cannot bring back detail that the JPEG lost. For this reason the medium setting is usually enough.

Quality and size

Try the medium setting first and compare the result with the original. The result page shows the size of each file and says whether it is smaller or larger than the original. If a file comes out larger, which can happen with small or very compressed JPEGs, keep the original or choose the small setting. Metadata, such as the date of a photo, is not copied into the AVIF.

Why a JFIF file may not open

JFIF files are ordinary JPEG pictures with a different extension, and they open in most modern programs. Some older programs and some websites look at the extension only and reject .jfif, which is why people convert them. The Wikipedia page on JFIF also notes that JFIF and Exif, the format that cameras use, cannot both put their data segment right at the start of a file, so a picture is usually one or the other. This tool reads the picture itself and does not depend on that.

Choosing the quality

High keeps as much of the look as possible and gives larger files. Medium is a good balance for photos on the web. Small gives the smallest files and is suited to thumbnails and pictures that are shown small. Change the setting and the files are made again at once, so you can compare them without choosing the files again.

Batch conversion

You can convert up to 30 pictures at once. Drop all of the files on the box, choose the quality, and the AVIF versions appear one after another. When they are ready, press Download all to get a .zip file that holds them, named after the originals. If you change the quality setting, the files are made again with the new setting, so you can find the one that you like best.

When to keep the JPEG

Keep the original JPEG or JFIF files if you may need to edit the pictures or print them, since they work in nearly every program. Use the AVIF copies where file size and loading time matter, such as on a web page. Remember that converting a lossy picture to another lossy format does not improve it.

Common mistakes

  • Expecting restored detail. A JPEG's lost detail does not come back.
  • Using the high setting for every picture. It can give larger files.
  • Using AVIF where only JPG is accepted. Check the place you will use it.
  • Expecting photo metadata. It is not copied.

What next

Use this often? Add JFIF to AVIF to your Home screen.

Frequently asked questions

What is a JFIF to AVIF converter?

A tool that turns JFIF images, which are JPEG pictures, into the AVIF format.

What is a JFIF file?

A JPEG picture in the JPEG File Interchange Format, a container standard for JPEG data. Its media type is still image/jpeg.

Why convert to AVIF?

AVIF can be smaller than a JPEG of similar look, and all major browsers support it.

Is my image uploaded?

No. The JFIF is decoded and the AVIF is encoded in your browser.

Can AVIF restore detail lost in the JPEG?

No. The new file keeps the picture as it looks now.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Image Tools