Kilomill

Compress images without uploading them

Make JPG, PNG, WebP and HEIC photos smaller with the same encoders image experts use (MozJPEG, OxiPNG, libwebp, libavif). Pick a quality or a file size in KB, resize if you need to, and download one file or a ZIP.

  • No upload: runs in your browser
  • Batch + ZIP download
  • No sign-up, no watermark

Drop images here

or paste from the clipboard · JPG, PNG, WebP, AVIF, HEIC, GIF, BMP · no upload

Output format
File size

For JPG, WebP and AVIF. 70–80 is hard to tell from the original. PNG uses smart colour reduction instead (see Advanced).

KB
KB

Aims at or below the maximum counting 1 KB = 1,000 bytes, so the file passes whether a site counts 1,000 or 1,024 bytes per KB.

Dimensions

Leave one box empty to keep the proportions.

%
px
Advanced
PNG output
dpi

Metadata (EXIF, GPS location, camera details) is removed from every output file.

How to compress an image

  1. Add your images. Choose them, drag them onto the box, or paste a screenshot with Ctrl+V / ⌘V. Batches work.
  2. Pick how small. Keep the quality slider around 75 for photos, or switch to Target size and type the limit in KB if a website asks for one.
  3. Check the result. Each image shows the old and new size. Compare opens a before/after slider so you can zoom in on faces and text.
  4. Download. One file at a time, or all of them as a ZIP. Change a setting and every image is redone automatically.

Which settings to use

Recommended settings by task
You have…FormatSettingWhy
Photos for email, chat or a websiteSame as original (JPG)Quality 70–80Most people cannot see a difference from the original at this level; the file is usually several times smaller.
A form that says “max 100 KB”JPGTarget size: 100 KBThe tool searches for the highest quality that fits, and only shrinks the dimensions if quality alone is not enough.
Screenshots, logos, diagramsPNGSmart PNG (default)Reducing to 256 colours keeps text sharp and often removes more than half of the bytes.
Images for your own websiteWebP or AVIFQuality 70–80Both are supported by current browsers and are smaller than JPG at the same visual quality.
iPhone photos (HEIC)JPGQuality 80JPG opens everywhere; HEIC does not.

What makes this compressor different

  • Real encoders, not the browser’s quick one. JPG files are made with MozJPEG (trellis quantisation, optimised Huffman tables, progressive scans). PNGs go through colour quantisation and OxiPNG. Many online tools use the browser’s built-in canvas.toBlob encoder, which produces larger files at the same quality.
  • Exact sizes in KB. Type a maximum (and a minimum, if the form has one) and get a file that is guaranteed to be under it. See compress to a size in KB.
  • Nothing leaves your device. Images are processed in a Web Worker in this tab. There is no server that could keep, scan or leak them.
  • Honest results. If re-encoding would make a file bigger (it happens with images that are already well compressed), the original is kept and you are told so.

How much smaller will my images get?

It depends on what the image is and how it was saved. A photo straight from a phone camera is saved at very high quality, so it typically shrinks the most. An image that was already compressed for the web may barely change, and a JPG that is saved again and again slowly loses detail without getting much smaller. Each result shows the exact bytes before and after, so you never have to guess.

Tip: if a file must be under a fixed size, resizing usually helps more than lowering the quality. A 4000-pixel-wide photo has four times as many pixels as a 2000-pixel one. Use Dimensions → Longest side.

Questions and answers

Are my images uploaded to a server?

No. The images are read and compressed by code running in this browser tab, and the results are created in your device’s memory. Nothing is sent anywhere, which you can confirm in your browser’s developer tools (Network tab) while you work. See Privacy.

Will compressing reduce the quality?

JPG, WebP and AVIF compression is lossy: it removes detail your eyes are least likely to notice. At quality 70–80 the difference is hard to see at normal viewing size. Use Compare to check at 100%, and choose PNG lossless or a higher quality when every pixel matters.

Which formats can I compress?

JPG/JPEG, PNG, WebP, AVIF, HEIC/HEIF (iPhone photos), GIF (first frame) and BMP. The output can stay in the same format or become JPG, PNG, WebP or AVIF.

What happens to EXIF data and GPS location?

Every output file is re-encoded from the pixels, so EXIF metadata such as GPS location, camera model and capture time is not copied into it. The photo is turned upright first, so removing the orientation tag does not leave it sideways.

Is there a limit on file size or number of images?

There is no upload limit because there is no upload. The practical limit is your device’s memory: images up to 100 megapixels (and 16,384 pixels per side) are accepted. Large batches are processed a few at a time.

Is it free? Do I need an account?

It is free, without sign-up, watermark or daily limit. There is nothing to install.

Does it work offline?

Once the page and the compression code have loaded (the code is fetched when you add your first image), you can disconnect and keep working in the same tab. Reloading the page needs a connection.

Compare

OriginalResultOriginal Result

Crop & rotate

Image to crop