JPEG to AVIF Converter

Re-encode a JPEG photo as an AV1-based AVIF, right in your browser.

or drop files here

JP

JPG Format

JPEG image

A lossy raster image format defined by the Joint Photographic Experts Group (ISO/IEC 10918-1), designed for photographs. .jpg and .jpeg are the same format.

  • lossy compression
  • adjustable quality
  • no alpha transparency
  • supported everywhere
AV

AVIF Format

AV1 Image File Format

An image format from the Alliance for Open Media that stores AV1-compressed images in the HEIF container. It supports lossy and lossless compression, HDR and transparency.

  • lossy and lossless compression
  • alpha transparency
  • HDR and wide color gamut
  • 10-bit and 12-bit depth

How to convert JPEG to AVIF

Follow these steps to convert JPEG to AVIF online.

    1

    Choose your JPEG file, or several at once.

    2

    Wait while the converter turns each file into AVIF.

    3

    Download each new AVIF file. Your original file isn't changed.

Before converting JPEG to AVIF

  • The JPEG is decoded to pixels and encoded again, not repackaged.
  • There is no quality control on the page.
  • EXIF, ICC profiles and XMP are not carried over.
  • The AVIF is 8-bit, whatever AVIF itself allows.

JPEG to AVIF: format guide

What is a JPEG file?

JPEG, from the Joint Photographic Experts Group, is a lossy format defined in ISO/IEC 10918-1 and designed for photographs. It has adjustable quality and no alpha transparency, and it is supported everywhere. Files ending in .jpg or .jpeg are one and the same format. You find JPEGs as digital camera output, as photographs on the web, and in email attachments and photo sharing.

Programs that open JPEG files

  • Windows, Mac and Linux: GIMP opens JPEG files for editing, and ImageMagick can read them.
  • Windows: Windows Photos opens JPEG files.
  • Mac: Preview on macOS opens them.
  • Web: Google Chrome and Mozilla Firefox display JPG in the browser.
  • Mobile: Safari and Google Chrome for Android display it as well.

JPEG and AVIF compared

AVIF comes from the Alliance for Open Media and packs AV1-compressed pictures into a HEIF container; people convert JPEGs to it chasing smaller files for the web. AVIF can be lossy or lossless, handles transparency, HDR and wide color gamut, and goes to 10 and 12 bits. A JPEG source brings none of that. This page decodes the JPEG to 8-bit RGBA pixels and encodes them again, so the AVIF is made from decoded pixels, not a repackaged JPEG. Older browsers may fail to show AVIF, so keep a JPEG fallback. Compare the two files at the size visitors will see before you replace one with the other.

Other ways to convert JPEG to AVIF

  • avifenc (command line): run avifenc -q 80 photo.jpg photo.avif. The -q option sets color quality from 0 to 100, where 100 is lossless.
  • GIMP (Windows, Mac, Linux): open the JPEG and use File > Export As… to write the AVIF. GIMP supports AVIF import and export from version 2.10.22.
  • ImageMagick (command line): run magick photo.jpg photo.avif. ImageMagick lists AVIF as a format it can read and write.

Problems with JPEG files

  • Transparency is missing: a JPEG cannot hold transparent pixels, so nothing transparent carries into the AVIF. Choose a format with alpha if you need it.
  • An old photo frame rejects the JPEG: some older photo frames will not open a progressive JPEG, so re-save it with progressive mode off.
  • Quality numbers do not match between editors: the same quality setting can compress differently from one editor to the next.
  • Layers are gone: a JPEG holds one flat picture, so keep your project file if you still need the layers.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert JPEG to AVIF?

Will the AVIF be smaller than my JPEG?

Can I choose the AVIF quality?

Is JPEG to AVIF lossless?

Does the AVIF keep my EXIF, GPS and color profile?

Will the AVIF have higher bit depth or HDR?

Which browsers can show an AVIF?

Is my photo uploaded to a server?