AVIF to JXL Converter: AVIF to JPEG XL | MiConvert

AVIF to JXL Converter: Re-encode AVIF Images as JPEG XL

Upload AVIF images and download them as JPEG XL files. Transparency is not kept and see-through areas turn black, so if your AVIF has an alpha channel, convert it to PNG first.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
AVIF → JXL

AVIF to JPEG XL: what the conversion really does

AVIF stores still images using the AV1 video codec inside an HEIF-style container. Websites use it because it packs photos into very small files, and it supports transparency and HDR. JPEG XL is a newer still-image format designed for both web delivery and long-term archiving, with lossless modes and a way to repack existing JPEGs without loss. People move from one to the other when an app, a library or an archive policy accepts JPEG XL but not AVIF.

MiConvert decodes the AVIF on our servers with sharp, the libvips-based image library. sharp cannot write JPEG XL, so the decoded picture is first saved as a temporary JPEG at quality 95. The cjxl reference encoder then repacks that JPEG into a .jxl file. If your file is an animated AVIF sequence, only its first frame is converted.

That route has consequences you should know before converting. The alpha channel is dropped, and transparent areas become solid black. The image goes through a JPEG step on top of the compression already in the AVIF, so fine gradients and edges lose a little more detail; this is not a lossless conversion. JPEG holds 8 bits per channel, so 10- and 12-bit AVIFs come out as 8-bit images. Wide-gamut color is converted to sRGB, and no EXIF data or color profile is carried over.

Use this page when a downstream system specifically wants JXL and the AVIF has no transparency, such as a photo archive standardizing on JPEG XL. If you just need to open an AVIF in software that rejects it, JPG or PNG is the more compatible choice, and that is what most people converting AVIF are after. For images with transparency, convert the AVIF to PNG first, which keeps alpha, then convert that PNG to JXL. The second step is lossy too, but the transparency survives into the JXL.

How to convert AVIF to JXL

  1. Check whether your AVIF uses transparency; logos, stickers and cut-out product shots often do. If it does, take the PNG route described above instead of this page.
  2. Make sure the file really is an AVIF image. A video renamed to .avif is rejected with a message saying it is actually a video (use the video converter for it), and macOS ._ resource-fork files are refused.
  3. Add up to 10 AVIF files per batch (25 on Plus, 50 on Pro). Per-file limits range from 50 MB without an account to 1 GB on Pro.
  4. Start the conversion and wait while each file is decoded and re-encoded on our servers.
  5. Download each .jxl and compare it with the original in a JPEG XL-capable app, such as Safari on recent macOS and iOS, GIMP or Krita, before deleting the AVIF.

What the AVIF to JXL converter handles

  • Decodes still AVIF files with sharp's AV1 decoder, with ImageMagick as a fallback when sharp cannot read a file.
  • Writes the JXL with cjxl, the JPEG XL reference encoder, from a quality 95 JPEG intermediate.
  • Converts wide-gamut AVIF colors to sRGB, the color space most viewers and browsers assume.
  • Takes the first frame of animated AVIF sequences, so you always get a single still image.
  • Bakes the image's orientation into the pixels, so the JXL displays upright in any viewer.
  • Converts several AVIF files per job, each to its own .jxl, within your plan's batch size.

AVIF to JXL questions

Does AVIF to JXL keep transparency?

No. The image passes through a JPEG intermediate, which has no alpha channel, so transparent areas turn black. To keep transparency, convert the AVIF to PNG first, then convert that PNG to JXL; both steps keep the alpha channel.

Is the conversion lossless?

No. The AVIF is already lossy, and the JPEG step at quality 95 adds a second, smaller round of loss before the JXL is written. There is no quality or lossless setting on this page. Converting to PNG instead avoids that extra loss: PNG stores pixels losslessly and keeps transparency, though output is 8-bit sRGB.

Will the JXL be smaller than my AVIF?

Do not count on it. Re-encoding a lossy AVIF cannot bring back detail it never stored, and because the JXL is built from a JPEG intermediate, it can end up larger than the AVIF you started with. Convert to JXL for compatibility with JXL-based workflows, not to save space.

How do I convert AVIF to JPG or PNG instead?

Pick the AVIF to PNG or AVIF to JPG conversion. PNG stores the pixels losslessly as 8-bit sRGB and preserves transparency. JPG gives smaller, widely supported files: transparent areas are placed on white, or on black when the artwork itself is very light.

Can I keep HDR or 10-bit color from my AVIF?

Not with this conversion. The JPEG intermediate is 8 bits per channel and colors are converted to sRGB without HDR tone mapping, so HDR and high-bit-depth AVIFs lose their extra range and may look flat or clipped. Keep the original AVIF if you need that range.

Why was my AVIF rejected or not converted?

A message saying the file is actually a video means it is an MP4 or similar renamed to .avif; use the video converter. A 'bad seek' or unreadable-file error usually means the download was cut short, so fetch or export the file again. 'Input image exceeds pixel limit' appears for images above roughly 268 megapixels; downscale first. If it says the file is a macOS resource fork, upload the real image instead of the ._ file.

What happens with animated AVIF files?

Only the first frame is converted, giving a still JXL. Animation is not carried into the output.

Is my AVIF stored after conversion?

Your AVIF travels over HTTPS to our servers and is erased as soon as the job ends. Each JXL can be downloaded for roughly four hours, then it is deleted on schedule. Until then the random download link works for whoever holds it. We do log file names, sizes and outcomes, and if you are signed in, the conversion appears in your account history until you delete the account.