Free · Private · No upload

Image Compressor

Shrink images to a target size without leaving your browser, then drag the divider to compare the result with the original.

Target size

Longest edge

Format

How to compress an image to a specific size

Three steps, no sign-up and no upload.

  1. 01

    Pick a target size

    Choose 100 KB, 200 KB, 500 KB or 1 MB, then the longest edge and the output format. Auto keeps transparency when the image may have it.

  2. 02

    Drop your images

    Drop images anywhere on the page or paste them. Each one is compressed in a background worker, so the page stays responsive.

  3. 03

    Compare and download

    Drag the divider to compare quality, then download one image or all of them. Changing a setting recompresses everything.

Why use this image compressor

Built on image-budget, an open source library that tells you exactly what happened to your image.

Hits the size you ask for

The compressor searches for the highest quality that fits your budget, and only shrinks the pixels when quality alone is not enough.

Private by design

Images never leave your device. Compression runs entirely in your browser, with no upload, account or watermark.

Honest results

The format and size are read back from the actual file. If the browser could not produce what you asked for, the result says so.

Batch friendly

Compress several images at once. Work runs off the main thread, two images at a time, so large photos do not freeze the page.

Frequently asked questions

More free tools

All tools