Image Tools
Image Compressor
Compress JPG and PNG images to an exact target size.
The algorithm
Drop your JPG, PNG, WebP, or GIF above. The image is decoded, re-encoded as a JPEG at the best quality that still fits under 200 KB, and downscaled only if quality compression alone can't reach the target.
Need a specific target like 20 KB for an Indian passport portal or 100 KB for a job application? Use the dedicated landing pages - they hit that exact ceiling.
A real use case
A 4K phone photo is typically 4-8 MB. Compressing to 200 KB is a 20-40× size reduction with minimal visible quality loss at normal viewing size - ideal for web uploads, email, and messaging.
Common questions
What's the default target size?
This page compresses to under 200 KB by default. For exact targets like 20 KB (Indian passport) or 100 KB (job portals), use the dedicated pages linked below.
Do my files leave my computer?
No. Compression runs in your browser via Canvas APIs. We never see or store your images.
What image formats are accepted?
JPG, PNG, WebP, and GIF. Output is always JPEG for best size-to-quality ratio.
Is metadata (EXIF, GPS) preserved?
No. Canvas re-encoding strips all metadata. For most upload use cases this is a privacy benefit.