Compress images to any exact size
Private, batch-friendly compression that stays under your chosen limit and runs entirely in your browser.
Exact-size compressor
Files stay on this device
Advanced settingsResize, crop, quality
Dimensions never upscale. JPEG fills transparent pixels with white. GIF and animated WebP inputs become a static first frame.
Ready when you are. No image data is sent over the network.
On-device processing
No image upload endpoint exists.
Measured output
Success uses the real output bytes.
Batch ready
Process 20 files and download a ZIP.
Pick the limit your form asks for
Every page uses the same private compressor with the target already selected. You can still enter a custom value at any time.
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.
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
Highest useful quality, without guesswork
Search quality first
JPEG and WebP outputs use a binary search to find the highest encoder quality that stays below any size.
Resize only when required
If quality alone cannot reach the limit, the engine reduces dimensions and searches again. It never upscales the source.
Show the honest result
Every download reports its measured bytes, dimensions, savings, and whether the requested maximum was reached.
Choose the right format
- JPEG
- Broadly accepted and efficient for photographs. Transparency becomes white.
- WebP
- Often smaller at similar quality and can preserve transparency.
- PNG
- Lossless and good for sharp graphics, but harder to fit under tiny limits.
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, WebP, or PNG.
Does compression remove photo metadata?
Yes. Re-encoding through the browser removes EXIF metadata, including camera details and stored GPS coordinates.
Your images stay yours
The compressor has no image upload API. Analytics, when allowed, records only page and tool events without file names or contents.
Compress images