Skip to content
Betterbit Tools

Image Compressor

Tell it a target size in KB or MB and it finds the best quality to hit it — privately, on your device.

  • Runs in your browser — files never leave your device
  • Instant — no waiting, no queue
  • Features others lock behind paywalls

Drop images here, click to choose, or paste

JPG, PNG, WebP, GIF, BMP, AVIF · up to 50 images per batch

Images are compressed on your device. Nothing is uploaded.

How to use

  1. Drop images onto the box, click to choose files, or paste a screenshot with Ctrl/⌘ + V.
  2. Pick “Target size” and type the KB or MB you need, or switch to “Quality slider” for manual control.
  3. Choose an output format. Results and file sizes update automatically as you type.
  4. Download each image, or all of them at once as a ZIP.

How automatic target-size compression works

Most compressors give you a single quality slider and leave you to drag it back and forth, re-checking the file size each time. This tool does that search for you. If the original already matches the chosen format and target, it keeps those exact bytes instead of making a needless, sometimes larger copy. Otherwise it narrows in on the highest quality that fits using a binary search — usually five or six attempts instead of a dozen manual ones. If even the lowest quality setting is still over the target (common with a tiny target like 50KB on a large photo), it also shrinks the image dimensions in steps and searches again at each size, so very small targets are still reachable.

JPG, WebP or PNG — which actually gets smaller?

JPG and WebP are “lossy”: lowering the quality setting throws away detail the eye barely notices, which is what lets this tool hit an exact target size. WebP is typically 25–35% smaller than JPG at the same visual quality and works in every modern browser, so it is usually the best choice when the goal is file size. PNG is “lossless” — it has no quality knob at all in a browser canvas — so compressing a PNG mostly just removes it as an option; convert it to JPG or WebP if the image doesn’t need transparency, or keep PNG only for screenshots, logos and graphics with flat colours.

Why a target size, not just “compress”

A lot of real-world limits are expressed in file size, not pixels: job-application and visa photo uploads commonly cap out around 100KB–1MB, email providers reject attachments over a hard limit (Gmail’s is 25MB total), and e-commerce or CMS platforms often reject images above a set weight to keep pages fast. Typing the number you were actually given, instead of guessing a quality percentage, gets you there in one step.

Your images stay on your device

This compressor runs entirely in your browser’s own image engine (Canvas) — files are never uploaded to a server, so there is no upload wait, and it keeps working offline once the page has loaded. A batch holds up to 50 images and processes them one at a time to keep device memory manageable. Re-encoded results strip the original EXIF metadata (camera model, GPS location). When an original already fits and is smaller than re-encoding, the tool keeps it unchanged, including its metadata, and says so beside the file.

Frequently asked questions

Can I compress an image to an exact file size, like 100KB?

Yes. Switch to “Target size”, type 100 and choose KB — the tool automatically searches for the highest quality that still fits under 100KB, and shrinks the image dimensions too if quality alone can’t get there.

Are my photos uploaded anywhere?

No. Compression happens entirely in your browser. You can disconnect from the internet after the page loads and it still works.

Does compressing an image reduce its quality?

Lossy formats (JPG, WebP) do lose some detail as the target gets smaller, though the tool always picks the highest quality that still fits your target so the loss is as small as possible. PNG is lossless and barely shrinks at all without converting it to JPG or WebP.

Can I compress PNG files?

You can, but PNG has no quality setting in a browser, so the file size barely changes unless the target forces the tool to reduce the pixel dimensions. For photos, converting to JPG or WebP in the format dropdown shrinks the file far more.

How many images can I compress at once?

A batch can contain up to 50 images. Large, high-resolution photos use more device memory, so split a larger collection into smaller batches if your browser becomes slow.

What is a good target size for a resume or application photo?

Most application forms specify their own limit, commonly somewhere between 100KB and 1MB — check the form and type that exact number into the target size field.

Related tools

Updated 2026-10-19