File Conversion
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
- Pick the format (AVIF or JPEG XL) and a direction (Encode or Decode).
- Drop images onto the box (or click to choose). You can add up to 20.
- Adjust Quality/Effort (encode) or the Decode target (decode); toggle Lossless for perfect quality.
- Click “Convert”, then download each result or “Download all (ZIP)”.
Options Explained
| Option | Description |
|---|---|
| Format | AVIF (great all-round, wide support) or JPEG XL (excellent quality, especially lossless). |
| Direction | Encode (image → next-gen) or Decode (next-gen → PNG/JPEG/WebP). |
| Quality | 1–100 for lossy encoding. Higher = better quality, larger file. |
| Effort | 1–9 encoder effort. Higher = slower but smaller files. |
| Lossless | Perfect, mathematically-exact encoding (ignores Quality); files are larger. |
| Decode target | The raster format produced when decoding (PNG keeps transparency; JPEG is smallest). |
| Flatten / Background | Composites transparent pixels onto a solid color (required for a JPEG decode target). |
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.
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.