Compress images: smaller files, same look
Make images smaller without changing their format. Set a quality, or switch to Target size and say how big the file may be. Many images at once, nothing uploaded.
Runs in your browser. Your images never leave your device.
or drop or paste them here. JPG, PNG, WebP, AVIF, GIF, BMP, HEIC.
Your converted images show up hereSizes before and after, quality and dimensions for every file.
How compression works here
Each image is decoded and saved again with a better encoder than most apps use: MozJPEG for JPG, libwebp for WebP, libavif for AVIF and oxipng for PNG. Lossy formats get a quality setting; PNG stays lossless and is packed as tightly as oxipng can.
Big camera photos shrink the most when you also set a maximum width. A photo shown 1200 pixels wide on a page does not need several thousand.
Quality or target size
Quality is best when you care how the image looks. Target size is best when a form or platform has a limit: the tool searches for the highest quality that fits and, if it must, makes the image smaller.
How to use it
Add your images
JPG, PNG, WebP, AVIF, and also GIF, BMP or HEIC (saved as JPG).
Choose how
A quality, or a target size such as 200 KB.
Check every file
Rows show the size before and after, the quality used and the final dimensions.
Download
One file, or all of them in a zip.
JPG, PNG, WebP and AVIF compared
| Format | Transparency | Compression | Best for | Browsers that show it |
|---|---|---|---|---|
| JPG | No | Lossy | Photos that must open anywhere | Every browser |
| PNG | Yes | Lossless | Logos, screenshots, text | Every browser |
| WebP | Yes | Lossy or lossless | Photos and graphics on websites | Chrome 32, Edge 18, Firefox 65, Safari 16 (partly from 14), iOS Safari 14 |
| AVIF | Yes | Lossy or lossless | The smallest web images | Chrome 85, Edge 121, Firefox 93, Safari 16.4 (partly from 16.1), iOS Safari 16 |
| HEIC (open only) | Yes | Lossy | iPhone photos | Safari 17 and later only |
Format facts and browser versions read on 2 December 2026: MDN: image file type and format guide, Can I use: WebP, Can I use: AVIF, Can I use: HEIF/HEIC, Google for Developers: An image format for the Web, Apple Support: Using HEIF or HEVC media on Apple devices. Spotted something out of date? Tell us and we fix it.
Questions people ask
Does compressing change the format?
Not with Original selected: a JPG stays a JPG and a PNG stays a PNG. GIF, BMP and HEIC files become JPG. You can also pick another output format.
How much smaller will my images get?
It depends on the image and how it was saved. Each row shows the exact saving, and a file that would get bigger is marked so you can keep the original.
How is PNG compressed if it is lossless?
oxipng finds the smallest way to store the same pixels. Nothing changes in the picture. For a much smaller file, set a maximum width or convert to WebP.
What quality should I choose?
For photos, 70 to 85 is a good range for JPG and WebP. Below about 60, blur and blocks start to show.
Are my images uploaded?
No. Decoding, resizing and encoding all run in your browser, in a background thread on your own device. Your images are never sent to Raino or anyone else, and the tool keeps working if you go offline after the page has loaded.
Is this tool free?
Yes. No sign-up, no watermark and no limit on the number of images.
What happens to EXIF metadata and GPS location?
By default it is removed: camera model, date, GPS location and the rest. Tick Keep metadata to copy the EXIF data into JPG, PNG and WebP files made from JPG, PNG or WebP. AVIF output is always saved without it.
Built on open-source codecs
The encoders here are the same open-source libraries that image tools such as Google's Squoosh use, compiled to WebAssembly and run on your device. A browser on its own can save JPG and PNG from a page, but not AVIF, and Safari not WebP, and its JPG encoder is simpler than MozJPEG. So the tool brings its own.
- MozJPEGJPG, BSD style licencesSource
- libwebpWebP, BSD licenceSource
- libavifAVIF, BSD licenceSource
- oxipngPNG, MIT licenceSource
- libheifHEIC, LGPL 3.0Source
Packaged by jSquash (Apache 2.0, licence) and libheif-js (LGPL 3.0, unmodified). Zip files are made with fflate (MIT).
More free image tools
Making images for ads? Let Raino make the ads
Raino creates image ads with AI, resizes them for every placement and launches them to Meta in bulk. It also shows what your competitors are running.
No card needed.