# Convert PNG to JPEG XL

> Convert PNG to JPEG XL online free: many images at once, adjustable quality, metadata removed by default. Screenshots get much smaller. Nothing is uploaded.

URL: https://nibbo.org/en/png-to-jxl/

## PNG

PNG is lossless and supports transparency, so it is used for screenshots, logos and graphics with sharp edges.

For photos PNG files are several times larger than JPG, which matters when a form or a message has a size limit.

## JPEG XL

JPEG XL is a newer format from the JPEG committee. iPhones from iOS 17 can save ProRAW photos in it.

Safari opens JPEG XL natively; elsewhere Nibbo decodes it on your device with a small WebAssembly decoder, so you can also convert JPG or PNG into it.

## How it works

1. Your PNG files are decoded by the browser on this device and saved as JPEG XL. Photos keep their orientation.
2. Drop many files at once and download them one by one or as a ZIP.
3. Metadata such as GPS location is removed by default; switch it off to keep EXIF in JPG files.

## Questions

### Why JPEG XL?

At the same quality a JPEG XL file is usually 30–60% smaller than JPG, keeps transparency and HDR, and quality 100 is truly lossless. The encoder is libjxl compiled to WebAssembly (about 1.4 MB, downloaded once). Safari 17+ and most photo editors open it; Chrome and Firefox don’t yet, so keep a JPG copy for the web.

### Are my files uploaded?

No. Conversion happens in your browser; nothing is sent to a server.

### Which licence do the codecs use?

The AVIF and WebP encoders are Apache-2.0 builds of libavif and libwebp. The HEIC decoder is libheif (LGPL-3.0), loaded as a separate file rather than built into our code.

## Related

- [Image converter](https://nibbo.org/en/image-converter/)

### Compress to a size

- [Compress image to 10 KB](https://nibbo.org/en/compress-image-to-10kb/)
- [Compress image to 20 KB](https://nibbo.org/en/compress-image-to-20kb/)
- [Compress image to 30 KB](https://nibbo.org/en/compress-image-to-30kb/)
- [Compress image to 50 KB](https://nibbo.org/en/compress-image-to-50kb/)
- [Compress image to 100 KB](https://nibbo.org/en/compress-image-to-100kb/)
- [Compress image to 200 KB](https://nibbo.org/en/compress-image-to-200kb/)
- [Compress image to 500 KB](https://nibbo.org/en/compress-image-to-500kb/)
- [Compress image to 1 MB](https://nibbo.org/en/compress-image-to-1mb/)
- [Compress image to 2 MB](https://nibbo.org/en/compress-image-to-2mb/)

### Convert formats

- [Convert HEIC to JPG](https://nibbo.org/en/heic-to-jpg/)
- [Convert HEIC to PNG](https://nibbo.org/en/heic-to-png/)
- [Convert WebP to JPG](https://nibbo.org/en/webp-to-jpg/)
- [Convert WebP to PNG](https://nibbo.org/en/webp-to-png/)
- [Convert PNG to JPG](https://nibbo.org/en/png-to-jpg/)
- [Convert JPG to PNG](https://nibbo.org/en/jpg-to-png/)
- [Convert JPG to WebP](https://nibbo.org/en/jpg-to-webp/)
- [Convert PNG to WebP](https://nibbo.org/en/png-to-webp/)
- [Convert AVIF to JPG](https://nibbo.org/en/avif-to-jpg/)
- [Convert AVIF to PNG](https://nibbo.org/en/avif-to-png/)
- [Convert JPG to AVIF](https://nibbo.org/en/jpg-to-avif/)
- [Convert JPEG XL to JPG](https://nibbo.org/en/jxl-to-jpg/)
- [Convert JPEG XL to PNG](https://nibbo.org/en/jxl-to-png/)
- [Convert JPG to JPEG XL](https://nibbo.org/en/jpg-to-jxl/)

### More tools

- [Compress PDF](https://nibbo.org/en/compress-pdf/)
- [Audio converter](https://nibbo.org/en/audio-converter/)
- [Video converter](https://nibbo.org/en/video-converter/)
