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.
- 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.
- 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.
- 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
Image Converter
Convert HEIC, PNG, WebP and more to JPG, PNG or WebP in a batch.
Image Resizer
Crop to 1:1, 4:3 or 16:9, rotate, flip and resize to exact pixels.
Pixel Art Generator
Turn any image into crisp pixel art with 8 or 16 colors or a retro palette.
Video Compressor
Shrink videos to MP4 or WebM at the quality and resolution you choose.
Video Trimmer
Cut the start and end off a video without losing quality, or remove the audio.
Video to GIF
Pick a clip from any video and turn it into a GIF.
Perler Bead Pattern Maker
Turn any image into a fuse bead chart with real bead colors and counts.