Compress image
Compress an image to an exact size.
Pick a target like 100 KB. FormatOnce searches quality and, if needed, scales the image down until the encoded file really fits — then shows you the actual size it achieved.
Drop an image to compress
JPG, PNG or WebP up to 20.00 MB. AVIF works only if your browser can decode it.
Choose a fileHow it works
- 01Choose a JPG, PNG, WebP (or AVIF, if your browser decodes it).
- 02Pick a size target and an output format.
- 03FormatOnce binary-searches encoder quality, then scales down step by step.
- 04The result is only shown as a success when the file is at or under the target.
Limits
- Input up to 20.00 MB.
- Output capped at 40 megapixels.
- Re-encoding removes EXIF and other metadata.
- JPG has no transparency, so transparent areas become white.