Skip to content

JPEG XL Converter & Image Compressor

Convert images to or from JPEG XL, JPG, PNG and WebP, or compress them to a target such as 100 KB. Everything runs in your browser, so your files are never uploaded.

Image Compressor & Converter
Compress by
Made for
Unit
Common limits
Save as
Resize (optional)

Keeps the shape and never makes an image bigger.

  • No paywall
  • No signup
  • No watermark
  • Nothing uploaded

How to use the Image Compressor & Converter

  1. Choose your images, or drop them on the box. Add as many as you like.
  2. Pick a target size such as 100 KB or 1 MB, or a ready-made setting like US visa photo or Email. Or switch to Quality and set the slider yourself.
  3. Optionally choose JPEG XL, JPG, PNG or WebP and a max width or height.
  4. Press Compress, check the before and after preview, then download each image or all of them as a ZIP.

How compressing to a target size works

Most compressors only let you pick a quality and hope the file is small enough. This one works backward from the size you need:

  1. It saves the image at high quality. If that is already under your target, you get the best-looking version.
  2. If not, it searches between high and low quality, halving the gap each time, and keeps the highest quality that fits.
  3. If the image still does not fit at a reasonable quality, it shrinks the width and height in small steps, then searches quality again.
  4. It never shrinks below the minimum a setting needs, such as 600 pixels for a US visa photo. If the target cannot be reached, the tool tells you the smallest size it managed and what to change.

If an image is already under the target and needs no other change, the original file is kept as it is.

Convert JPEG XL images in your browser

Chrome 155 adds built-in JPEG XL decoding. That means Chrome can open .jxl images directly, but creating a JPEG XL file still needs an encoder. This converter uses libjxl compiled to WebAssembly only when you choose JPEG XL or open a JXL file in a browser without native support.

Use JPEG XL when you want high-fidelity or lossless photography, HDR support or progressive decoding. Use WebP when broad browser and app compatibility matters more. For upload forms, choose the exact format the form asks for—usually JPG or PNG.

Common size limits

Where it is going Limit to aim for Good format
US visa photo (DS-160) Under 240 KB, 600 to 1200 px square JPG
Job or school application portals Often 100 KB to 2 MB; check the form JPG
Email attachments About 1 MB per photo keeps a message small JPG
Discord (free) Under 10 MB per file Same as original
Website images 100 to 200 KB at up to 1920 px wide WebP

PNG compression

PNG is lossless, so the slider cannot lower its quality the way it does for JPG. Instead, below 100% the tool reduces the number of colors to a palette of up to 256, the same idea TinyPNG describes. Screenshots, logos and flat graphics often shrink by half or more with no visible change. Photos saved as PNG are better converted to JPG or WebP.

Frequently asked questions

How do I compress an image to exactly 100 KB?

Type 100 in Target size with KB selected, or tap the 100 KB button, then press Compress. The tool tries quality levels and keeps the highest one that lands under 100 KB. If even low quality is too big, it shrinks the width and height a little at a time until the file fits.

Are my photos uploaded anywhere?

No. Compression runs in your browser using its built-in image encoder. Your files are never sent to a server, so it is safe for private documents and ID photos.

Is there a limit on how many images I can compress?

No daily limit and no batch limit. Images are compressed one after another on your device, so a very large batch takes longer on an older phone. Each file can be up to 200 MB.

Why does my file come out a little under the target, like 97 KB?

The tool aims for the highest quality that stays under your limit, and quality moves in steps, so the result is usually a few percent below the target. Fix and Figure counts 1 KB as 1,000 bytes, so a file under 100 KB here also passes sites that count 1 KB as 1,024 bytes.

Should I choose JPG, PNG or WebP?

Use JPG for photos and forms that ask for JPEG. Use PNG for screenshots, logos and transparency. WebP is widely supported and usually small. JPEG XL is useful for high-fidelity photos, lossless compression and progressive loading, but older browsers and many upload forms do not accept it. Same as original keeps JPG, PNG, WebP and JXL as they are and saves other formats as JPG.

How do I convert a JXL file to JPG or PNG?

Add the .jxl file, choose JPG or PNG under Save as, and press Compress. Chrome 155 and newer can decode JPEG XL directly; the converter also includes an on-device fallback for browsers without native decoding.

How do I convert a JPG or PNG to JPEG XL?

Add the image, choose JPEG XL under Save as, choose a quality or target size, and press Compress. JPEG XL encoding runs locally through a WebAssembly version of libjxl, so the image is not uploaded.

Does compressing remove the location and camera details?

Yes. The compressed copy is drawn fresh from the pixels, so EXIF details such as GPS location, camera model and date are not carried over. Photos are turned the right way up first, so nothing ends up sideways.

What size does a US visa photo need to be?

For the DS-160 and other US visa forms, the State Department asks for a square JPEG from 600 × 600 to 1200 × 1200 pixels, no bigger than 240 KB. The US visa photo setting saves a JPG under 240 KB, up to 1200 pixels, and never below 600 pixels. Crop your photo to a square first.

Last updated: · Sources: U.S. Department of State: Digital image requirements for visa photos, Chrome for Developers: Shipping JPEG XL in Chrome, JPEG XL reference implementation (libjxl)

Did this tool work for you?