Free · no sign-up · nothing uploaded
Compress an image to an exact KB size
Drop a JPG, PNG or WebP, type the KB limit your upload form demands, and download a copy that fits. Passport photos, CV headshots, visa forms and eBay listings — sorted in seconds.
1 · Pick your image and target
🔒 Privacy note: your image is never uploaded. It is decoded with createImageBitmap and re-encoded with canvas.toBlob inside this tab — no server, no storage, no network requests after page load.
More options
2 · Compare and download
Compress an image to unlock the download.
How it works
Three steps, no account, no upload — the maths runs on your own device.
Choose your image
JPG, PNG or WebP up to 20 MB. The file is read locally with the File API — nothing is transmitted anywhere.
Type the KB limit
The compressor bisects JPEG/WebP quality and, if needed, scales the pixels down until the encoded bytes fit your limit.
Compare and save
See the original and the result side by side with exact KB readouts, then download the re-encoded copy instantly.
Why people use it
🎯 Hits a stated KB limit
Upload forms usually quote a maximum, e.g. “photo must be under 100 KB”. This tool works backwards from that number instead of asking you to guess a quality slider.
🔒 Never uploaded
No file ever leaves your browser — the page makes zero network requests after it loads, so passport photos and CV headshots stay private.
🧹 Metadata stripped
Re-encoding through a canvas drops EXIF, GPS tags and camera details, while the picture is rotated correctly first.
📐 Smart downscaling
If quality alone cannot reach the target, the image is progressively resized with high-quality smoothing — a smaller photo beats a muddy one.
⚡ Instant feedback
Size readouts update in the same tab you are editing in, with the final KB and percentage saved shown next to the download button.
📱 Works on a phone
Mobile layout stacks the controls above a sticky download bar, with a numeric keypad for the KB and width fields.
Common UK upload limits
Typical ceilings quoted by portals and marketplaces — type the exact figure your form states, these are just a starting point.
Passport & visa photos
Online passport and some visa applications ask for a small JPEG. Crop to the required size first, then compress here.
CV and headshots
Recruitment portals often cap headshots and scanned certificates in this range. JPG at 90% quality usually fits comfortably.
eBay, Etsy & product photos
Listing images need to stay sharp. Cap the width at 1600 px and let quality do the rest.
FAQ
Is my image uploaded to a server?
No. The page reads the file with the browser File API, decodes it in memory, re-encodes it on a canvas and hands you a local Blob URL. No network request is made after the page has loaded.
Why can't it reach a very small target?
Every image has a size floor. Once quality reaches your minimum (30% by default) and the picture is already small, more compression would destroy it. The tool then stops and reports the smallest size it could produce instead of pretending.
Which format should I choose?
Auto is best in most cases: JPEG for photographs, and PNG only when the picture genuinely needs transparency. WebP is usually 20–30% smaller than JPEG at the same quality, but a few older portals still reject it.
Does compressing remove EXIF and GPS data?
Yes. Re-encoding through a canvas writes a fresh file with no camera metadata. Orientation is applied to the pixels first, so portrait photos stay upright.
How accurate is the final size?
The compressor searches for the highest quality whose encoded bytes still fit your target, then verifies the real byte length of that Blob, so results normally land within a few percent below your limit.
Is there a file size or usage limit?
Images up to 20 MB and targets from 5 KB to 5000 KB. There is no sign-up, no daily quota and no watermark — the only cost is your own device doing the encoding.