File Conversion

Active tool: AVIF / JPEG XL Converter

What It Does

Converts images to and from AVIF and JPEG XL — modern formats that compress far better than JPEG or PNG but that your browser can’t create (and often can’t open) on its own. Encode ordinary images into AVIF/JPEG XL, or decode AVIF/JPEG XL files back to PNG, JPEG, or WebP. Everything runs on your device.

How to Use It

  1. Pick the format (AVIF or JPEG XL) and a direction (Encode or Decode).
  2. Drop images onto the box (or click to choose). You can add up to 20.
  3. Adjust Quality/Effort (encode) or the Decode target (decode); toggle Lossless for perfect quality.
  4. Click “Convert”, then download each result or “Download all (ZIP)”.

Options Explained

OptionDescription
FormatAVIF (great all-round, wide support) or JPEG XL (excellent quality, especially lossless).
DirectionEncode (image → next-gen) or Decode (next-gen → PNG/JPEG/WebP).
Quality1–100 for lossy encoding. Higher = better quality, larger file.
Effort1–9 encoder effort. Higher = slower but smaller files.
LosslessPerfect, mathematically-exact encoding (ignores Quality); files are larger.
Decode targetThe raster format produced when decoding (PNG keeps transparency; JPEG is smallest).
Flatten / BackgroundComposites transparent pixels onto a solid color (required for a JPEG decode target).
Tip: Use AVIF for the best balance of size, quality, and browser support today; use JPEG XL when you want the best possible lossless compression or need to re-encode existing JPEGs. Raise Effort for the smallest files when you have time to wait. The codec is a first-party file — no image ever leaves your browser.
Format & direction

Drag & drop images here, or click to choose

Encode: PNG · JPEG · WebP · BMP · GIF · SVG (max 20, ≤ 30 MB each)

🔒 Processed entirely on your device — the codec is first-party, nothing uploaded.

Options
50
4

About AVIF & JPEG XL — The Next-Generation Image Formats

AVIF (AV1 Image File Format) and JPEG XL are modern codecs designed to replace JPEG and PNG. Both typically produce files 30–60% smaller than an equivalent JPEG at the same visual quality, support transparency (alpha), wide color gamuts, and both lossy and lossless modes. AVIF is derived from the AV1 video codec and is now supported by every current browser, making it the safest next-gen choice for the web today. JPEG XL is exceptional at lossless compression and at re-compressing existing JPEGs without generation loss, though native browser support is still catching up — which is exactly why a decode-to-PNG/JPEG/WebP path is useful.

Because these formats can’t be produced by the browser’s built-in image engine, this tool loads a small WebAssembly codec on demand — a first-party file served from this site, downloaded once and cached, so no image data ever leaves your device. As with the other converters, re-encoding from raw pixels drops embedded metadata (EXIF/GPS/ICC), a small privacy bonus when sharing images.