Skip to content

Free toolsImages

PNG to JXL

The image format that beats JPG, PNG and WebP at once — made from any of them.

More free conversions, where you upload. The Fylane extension does the same work inside any upload form, on its own free share every day.About the extension

How to convert PNG to JXL

  1. Drop the image.
  2. Pick lossless or a quality.
  3. Press Convert and download the JXL.

What happens to your file

The picture is decoded to a lossless PNG and libjxl’s cjxl encodes it — lossless at 100, or at your quality — at a middle effort setting, because the slowest one is minutes on a large photo for a few per cent. Transparency is kept.

Few apps read JPEG XL today (Safari does). Keep the original until the places you share to accept it.

Questions

Is lossless really lossless?

Yes — JPEG XL at quality 100 reproduces every pixel, and is usually smaller than the PNG.

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "image.convert",
    "options": {
      "format": "jxl",
      "quality": 90
    }
  }'

The same operation, image.convert — Re-encode to WebP, JPEG, PNG or AVIF at your quality. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.