Compress an image to an exact size.

Enter your target file size or choose a preset. Get a JPEG or PNG with a verified byte count.

Runs in your browser · Files stay on your device.

Choose your exact size

JPEG (including CMYK), PNG, WebP, GIF, AVIF, SVG or HEIC/HEIF. SVG resources must be self-contained. Animated inputs use the first frame for static outputs. · up to 10 MiB

My Application KitSaved on this device

Save a photo, signature, or document in this browser to use again. Originals and prepared results are kept separately. Clearing browser data removes saved files.

Master PhotoHigh-resolution portrait or passport original for future exam & visa portals.
Empty
Master SignatureClean ink signature on white or transparent background for 1-click resizing.
Empty
Marksheet / IDScanned marksheet or ID card image/PDF for repeated application uploads.
Empty
DocumentA PDF you want to use again in another application.
Empty

Enter 1–500 KB, or pick a common size below.

Size unit

Target: 20 KB

Output format

JPEG fills transparent areas with white and uses a static frame.

Image dimensions

Keeps the whole image and its proportions. Dimensions may shrink to fit your target.

Review and download

Choose an image and an exact target size.

Your image appears here.

Choose an image to preview it and prepare an exact-size download.

How exact sizing works

The tool measures candidate images while adjusting JPEG quality and, in Auto fit, resolution. It then fills any remaining gap with valid padding inside the image format and verifies both the final byte count and decoded image. The downloaded file matches the displayed KB target exactly. Editing or re-saving it elsewhere can change its size.

PNG preserves transparency. JPEG uses a white background. Custom size keeps your requested dimensions and fits the entire image inside them without cropping or stretching. Inputs are limited to 10 MiB, 8,192 pixels per side and 20 megapixels. Custom dimensions support 16–4,096 pixels per side and 4 million pixels in total. GIF, APNG and animated WebP can retain animation as PNG, within 120 frames and 20 million frame pixels at both input and output sizes. Other exports use a static frame.