Approximate target
Image encoders cannot guarantee an exact byte count. The tool favors the largest measured result at or below your target.
Image Tools · Local processing
Aim for an approximate KB or MB limit using measured encoding attempts and optional dimension reduction.
Measured local compression
The practical guide
The tool searches image quality levels, measures every result, and can reduce dimensions if quality changes alone cannot reach the requested size.
Image encoders cannot guarantee an exact byte count. The tool favors the largest measured result at or below your target.
Very small targets may be impossible at the original resolution. Dimension reduction is separately disclosed and can be disabled.
JPG works well for photos. WebP supports transparency and often compresses mixed graphics efficiently.
Privacy by architecture
The selected files, inputs, settings, and outputs are processed in this page and are not uploaded to any server.
Questions, answered
No. Decoding, iterative encoding, resizing, measurement, and downloading happen locally.
Not necessarily. The result aims to be at or below the target, but browser encoders produce discrete, content-dependent sizes.
Quality reduction alone could not reach the selected target, and the dimension-reduction option was enabled.
Yes. PNG input can be converted to WebP or JPG for target-size compression; WebP is preferable when transparency matters.