Image Compressor to Size — Most image compressors let you pick a quality, but not a target size. This one does the opposite: you pick a size (e.g. 100 KB), and the tool iteratively re-encodes the image at decreasing quality until the result fits.
Your image never leaves the browser. Compression happens locally in JavaScript.
Was Image Compressor to Size useful?
What is Image Compressor to Size?
Most image compressors let you pick a quality, but not a target size. This one does the opposite: you pick a size (e.g. 100 KB), and the tool iteratively re-encodes the image at decreasing quality until the result fits.
It runs entirely in your browser. The image never touches a server, so you can compress sensitive photos without uploading them. Supports JPG, PNG, and WebP output, and can also reduce dimensions if quality alone is not enough.
How to use it
-
Choose an image
JPG, PNG, or WebP, up to 25 MB.
-
Set a target size
In kilobytes. Common: 100 KB for email, 50 KB for avatars, 20 KB for thumbnails.
-
Pick output format
WebP usually gives the smallest file at a given quality.
-
Click Compress
The tool re-encodes iteratively and shows the result.
Examples
Compress a 4 MB photo to 200 KB
A real use case: shrinking a phone photo to attach to an email.
4 MB JPG → 200 KB target
Result: ~120 KB JPG, quality ~0.45, no resize needed
Frequently asked questions
Related guides
How to Compress an Image to a Specific File Size
Shrink any image under 100 KB, 500 KB, or 2 MB using quality tuning, dimension resizing, and format conversion—all locally in your browser.
8 Best Free Image Compressors in 2026 (With Benchmarks)
Compare eight image compressors—Uttir, Squoosh, ImageOptim, Caesium, ImageMagick, TinyPNG, Compressor.io, and ShortPixel—by quality, batch support, and privacy.
The 10 Best Free Image Tools in 2026
Ten free browser-based image tools that never upload your photos: compress to size, resize, crop, convert JPG/PNG/WebP/JPG-to-PDF, and strip EXIF data.
Related tools
Image Compressor
Shrink image file size with quality and format control, and see the savings before you download.
Image Resizer
Resize images to exact pixel dimensions with optional aspect-ratio lock.
WebP Converter
Convert JPG or PNG images to modern WebP for much smaller files.
JPG to PNG
Convert JPG images to lossless PNG — entirely in your browser.