Compress JXL

Make JPEG XL images smaller by quality, to an exact size like 200 KB, or losslessly. The before and after view works even where your browser cannot show JXL - new to the format? Start with PNG to JXL or JPG to JXL.

Target size Transparency kept Never bigger
0%

Compressing...

Before and after

Original image Compressed image
Original Compressed

Drag across the picture to compare. Left: original - right: compressed.

Your files

Click a file to see it in the comparison.

How to Compress a JPEG XL Image

  1. Add your JXL files. Drop one or up to 30 JPEG XL images into the box, browse for them, paste with Ctrl+V, or try a sample.
  2. Pick the quality or a size. Keep Balanced (quality 80), choose Lossless to keep every pixel, or open Target file size and pick 100 KB to 1 MB.
  3. Compare. Click a file and drag across the before and after view. Every size shown is the real file size.
  4. Download. Save files one by one, or press Download - three or more files come as one ZIP.

Which JPEG XL Quality Should You Use?

QualityLooks likeGood for
100 (Lossless)Identical pixelsArchives, editing, screenshots
90Same as the originalPhotography, prints
80 (Balanced)Very closeMost web images
60 (Strong)Softer fine detailThumbnails, previews

JPEG XL numbers are not the same as JPG numbers: JXL keeps fine detail better, so 80 here usually beats JPG at 90 at a smaller size. Transparency is kept at every quality.

Where Does the Compression Happen?

Your JXL is read in your browser - natively in Safari, everywhere else with libjxl compiled to WebAssembly.

No browser can write JPEG XL yet, so the decoded image goes to our own encoder as a lossless PNG over HTTPS. The result comes straight back, is measured, and is deleted from our server right away - leftovers are swept within 4 hours.

Need JPEG XL to Open Everywhere?

Safari, Photoshop, GIMP and Affinity open JPEG XL; Windows 11 needs the free JPEG XL extension. For websites and chat apps, convert it with JXL to JPG or JXL to PNG.

Compressing other formats? Try Compress AVIF, Compress WebP, Compress JPG or Compress PNG.

Frequently Asked Questions

Drop it into the box above. Balanced (quality 80) works for most images; for an exact limit open Target file size and pick a size like 200 KB.

Yes - choose Lossless (quality 100). Every pixel stays exactly the same. If the original is already smaller, you get it back untouched.

No browser can encode JPEG XL yet. The image travels over HTTPS to our own encoder as a lossless PNG and is deleted as soon as the result comes back.

The page decodes JPEG XL itself with libjxl (WebAssembly), so the before and after view works in Chrome, Edge and Firefox too.

Yes, transparent areas stay transparent at every quality.

JPEG XL is already very efficient, and files made losslessly from JPG are hard to beat. If a new encode would be bigger, the tool keeps your original - it never makes a file bigger.

Only the first frame is read, so animated JPEG XL files are not a good fit here yet.

Guides & Tutorials

All 42 guides
Optimization How to Resize a GIF Without Losing Quality (and Make It Smaller) Sep 4, 2025 · 4 min read Read Optimization How to Reduce Image File Size Without Losing Quality (2026 Guide) Jan 29, 2026 · 5 min read Read Guide How to Tell What Format an Image File Is (5 Easy Ways) Jul 8, 2026 · 9 min read Read