Private, exact-size compression
Compress images to any exact size
Private, batch-friendly compression that stays under your chosen limit and runs entirely in your browser.
Exact-size image compressor
Browser-only processing · six output formats
Your images never go to an upload server. Decoding, compression, previews, and ZIP creation happen on this device.
Advanced settingsDimensions, crop, quality
Dimensions never upscale. JPEG and BMP replace transparency with white. GIF output is static; animated GIF and WebP inputs use the first decoded frame.


A real before-and-after example
See what the size limit changes
This example starts as a detailed 3.30MB PNG and is processed by the same browser workflow used above. Fine texture is retained while the output stays under the selected 100KB ceiling.
- 01
Decode locallyNo image is sent to a server.
- 02
Search quality firstThe engine keeps the highest result that fits.
- 03
Resize only if neededDimensions change only when quality alone is not enough.
Ready-made limits
Pick the size your form asks for
Each landing page opens the same compressor with the target already selected. A custom KB value is always available.
Why this limit matters
A file-size tool, not a guessing game
A normal quality slider cannot tell you whether a form will accept the result. This compressor works backward from the real byte limit and keeps the best quality that fits.
Choose the destination's maximum size, not an arbitrary compression percentage.
Where this target helps
Strict photo and document upload limits
Smaller website images with a clear performance budget
Private batches of HEIC, JPEG, PNG, WebP, and AVIF files
Format support
Seven inputs. Six honest outputs.
The output picker includes JPEG, PNG, WebP, AVIF, GIF, and BMP. HEIC and HEIF remain input-only because mainstream browsers do not provide a reliable local HEIC export encoder.
| Format | Input | Output | Best use |
|---|---|---|---|
| JPEG | Yes | Yes | Best default for photographs and broad form compatibility. |
| PNG | Yes | Yes | Lossless output with full transparency. |
| WebP | Yes | Yes | Compact modern output with transparency. |
| AVIF | Yes | Yes | High-efficiency browser output powered by a local codec. |
| GIF | Yes | Yes | Static output; animated input uses the first decoded frame. |
| BMP | Yes | Yes | Uncompressed legacy output; dimensions may shrink to hit a limit. |
| HEIC / HEIF | Yes | Input only | Decoded locally, then exported to one of the six reliable formats. |
Compression method
Highest useful quality, without guessing
Search quality first
JPEG, WebP, AVIF, and GIF outputs search for the highest setting that stays below any size.
Resize only when required
If encoding alone cannot reach the limit, the engine reduces dimensions and searches again. It never upscales.
Report the measured result
Every file shows its actual bytes, dimensions, savings, and whether the maximum was reached.
FAQ
Questions before you compress
Can I compress an image to an exact KB size?
The tool searches for the highest quality that stays at or below your chosen limit. When quality alone is not enough, it carefully reduces dimensions.
Are my images uploaded?
No. Images are decoded, resized, compressed, previewed, and packaged on your device. The site has no image upload endpoint.
Which formats are supported?
You can add JPEG, PNG, WebP, AVIF, HEIC, HEIF, GIF, and BMP files. Results can be JPEG, PNG, WebP, AVIF, static GIF, or BMP. HEIC and HEIF are input-only.
Does compression remove photo metadata?
Yes. Re-encoding through the browser removes EXIF metadata, including camera details and stored GPS coordinates.
Private by design
Your images stay yours.
The compressor has no image upload API. Analytics never receives file names or image contents.