Compress JPG, PNG, WebP, and HEIC images to an exact target size — 100KB, 500KB, 2MB, or any value you choose. Smart binary-search algorithm hits your target without manual trial and error.
Drop images here or click to upload
Supports JPG, JPEG, PNG, WebP, and HEIC. Multiple files at once.
Images are processed locally in your browser. Nothing is uploaded.
Drag and drop one or many images, or click to browse. JPG, PNG, WebP, and HEIC are all supported.
Choose a preset like 100KB, 500KB, or 2MB — or type any value in KB. The tool aims for that exact size.
A binary search across JPEG / WebP quality finds the highest fidelity that fits your target. If needed, dimensions are reduced too.
Download images one at a time, or grab them all as a ZIP. Filenames include the target size for easy organization.
Passport, ID, and visa portals often cap uploads at 100KB, 200KB, or 500KB. Stay under the limit on the first try.
University admissions, civil service exams, and HR systems usually enforce strict per-image limits like 50KB or 200KB.
Stay under 5MB or 10MB total per message by compressing each image to a known size before attaching.
Many platforms reject images over 1MB or 2MB. Hit those limits without sacrificing usable quality.
Cap hero images at 200KB and thumbnails at 50KB to keep LCP fast and improve Google rankings.
Archive large photo libraries at a predictable size per file — perfect for cloud quotas and budget storage tiers.
Up to eight quality probes per pass converge on the highest fidelity that still fits your target.
If quality alone cannot reach the target, the tool downscales dimensions automatically until it can.
Every step runs inside your browser via OffscreenCanvas. Files never touch a server.
Compress dozens of images in one go and download every result as a single ZIP archive.
The tool runs a binary search across JPEG or WebP encoder quality (0.1 to 0.95). After up to eight iterations, the highest quality whose output is at or below your target wins. If even the lowest quality is still too large, dimensions are reduced and the search repeats.
Most of the time yes, within a small tolerance. If the original image is very small or the target is extremely strict (for example 5KB for a 4K photo), the tool returns the smallest result it could produce and flags it as "best effort".
No. Everything runs inside your browser using the Canvas API and WebAssembly. Files never leave your device, which is why the tool also works offline once loaded.
JPG/JPEG, PNG, WebP, and HEIC/HEIF (Apple iPhone photos). Output is JPEG or WebP — both compress predictably to a target size.
JPEG is the safe default: universal compatibility and the smallest files for photos. WebP keeps slightly more detail at very small sizes but is not accepted by every legacy portal.
Only if quality alone cannot reach the target. You can disable this from the settings panel — useful when a portal also requires a specific resolution.
No hard limit. Very large batches are constrained only by your device memory. The tool processes files sequentially to stay responsive.
Upload your images and pick any size from 5KB to 20MB. Free, instant, and private.