Skip to compressor

Image Compressor Free Online Image Compressor & Size Reducer

Last updated:

100% Free, Private & Browser-Based Image Compressor — Reduce Image Size to Target KB.

  • JPG · PNG · WebP
  • Exact target KB search
  • Batch + ZIP download
  • No uploads, no sign-up

Image compressor tool

Drop images here or browse files

JPG, PNG & WebP · Multiple files supported · You can also paste with Ctrl/⌘ + V

Your before / after preview appears here

Add an image to compare original and compressed quality side by side with the split slider, then download a single file or the whole batch as a ZIP.

Advertisement

How to compress an image to a target size

Image Compressor reduces photo file size in three quick steps — without uploading anything to a server.

  1. 1

    Add your images

    Drag & drop, browse or paste JPG, PNG or WebP photos. Add one image or a whole batch.

  2. 2

    Pick a target KB or quality

    Choose 50 KB, 100 KB, 200 KB, 500 KB or type any size — or switch to the quality slider for full manual control.

  3. 3

    Compare & download

    Drag the before/after slider to check quality, then download each image or everything at once as a ZIP.

How target KB compression works

JPG and WebP files are saved with a quality value between 0 and 1. A lower quality removes more fine detail and produces a smaller file. Instead of guessing, Image Compressor runs a binary search: it encodes the image at a middle quality, measures the exact byte size, then halves the search range up or down. After about nine steps it lands on the highest quality that still fits under your limit.

If even minimum quality is too large — for example, compressing a 12-megapixel photo to 20 KB — the tool scales the pixel dimensions down step by step and searches again, so you always get a file that meets your target.

Common target file sizes

TargetTypical use
20–50 KBPassport photos, signatures, exam & government application forms
100 KBJob portals, profile pictures, online ID verification
200 KBBlog images, product thumbnails, forum attachments
500 KBWebsite hero images, email attachments, marketplaces
1–2 MBHigh-quality sharing, chat apps, social media uploads

Why use this image size reducer?

Exact target size

Compress image to 100KB, 50KB or any number — results are guaranteed at or below your limit.

Private by design

All compression happens locally with the HTML5 Canvas API. No uploads, no accounts, no tracking of your files.

Visual comparison

The split before/after slider shows exactly how much quality you keep at each file size.

Batch & ZIP

Compress dozens of photos at once with the same settings and grab them all in one ZIP file.

JPG, PNG & WebP

Compress JPG, PNG and WebP images and convert between formats — WebP keeps transparency at a fraction of the size.

Works everywhere

Compress photos online on Windows, Mac, Linux, Android and iPhone — any modern browser, no install.

Frequently asked questions

How do I compress an image to under 100KB online?

Drop your JPG, PNG or WebP image into Image Compressor, keep the Target Size mode selected and click the 100 KB preset (or type any value). The tool automatically searches for the highest quality setting that keeps the file at or below 100 KB, and shrinks the dimensions only if quality alone is not enough. Click Download to save the result.

Are my uploaded photos safe and private?

Yes. Your photos are never uploaded. Image Compressor runs 100% in your web browser using the HTML5 Canvas API, so the images stay on your device and are processed locally. Nothing is sent to or stored on any server — you can even use it offline once the page has loaded.

How does target KB image compression work?

The tool re-encodes the image at different quality levels using a binary search: it tries a middle quality, checks the resulting file size, then narrows the range up or down about nine times until it finds the highest quality that fits under your target. If even the lowest quality is too large, it gradually reduces the pixel dimensions and searches again.

Which image formats are supported?

You can compress JPG/JPEG, PNG and WebP images. Output can be kept automatically in the best format or forced to JPG, WebP or PNG.

Can I compress multiple images at once?

Yes. Add as many images as you like; each one is compressed with the same settings. Download them individually or all together in a single ZIP file.

Why did my PNG turn into a WebP or JPG file?

PNG is a lossless format, so it cannot be compressed with a quality setting. In Auto mode, PNG files are converted to WebP (which keeps transparency) to achieve large size reductions. You can force PNG output, in which case only resizing can reduce the size.

Does compressing an image remove EXIF metadata?

Yes. Re-encoding through the canvas strips EXIF data such as GPS location and camera details, which also helps reduce file size and protects your privacy.

Is 1 KB equal to 1000 or 1024 bytes in this tool?

Image Compressor uses 1 KB = 1024 bytes, matching how Windows and most upload forms report file size. If a website is extremely strict, set your target a few KB below its limit.

Is 1 KB equal to 1000 or 1024 bytes in this tool?

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Choosing between JPG, WebP and PNG output

OutputGood forWatch out for
JPGPhotos for forms, job portals and any site that only accepts .jpgNo transparency: transparent areas are filled with white
WebPWebsites, blogs and online stores; photos and graphics with transparencySome older upload forms and desktop apps still reject .webp files
PNGScreenshots, logos and graphics that must stay pixel-exactLossless, so size only drops when you reduce the dimensions

If a form says JPG or JPEG only, set the output format to JPG instead of Auto so a PNG source does not come back as WebP.

Why pixel dimensions matter as much as quality

File size follows the number of pixels. A 12-megapixel phone photo (4000 × 3000) has about 6 times as many pixels as a 1600 × 1200 version, so no quality setting can make the large version as small without visible damage. Halving both width and height leaves a quarter of the pixels.

A practical approach:

If you need exact pixel sizes or specific aspect ratios, resize first with the Image Resizer, then compress.

Mistakes that make compressed images look worse

More questions about Image Compressor

What quality percentage should I use for photos?

For most photos shown on screen, a JPG or WebP quality between 70% and 85% keeps details that are hard to tell apart from the original while cutting the file size substantially. Go lower only when you need to meet a strict size limit.

Why is my image already under the target but the tool kept it the same?

If the original file already fits under your target and you did not ask for a different format or size, the tool keeps the original bytes unchanged instead of re-encoding it, so you lose no quality.

Can I compress an image to an exact size like 100 KB on the dot?

No compressor can reliably hit an exact byte count, because each quality step changes the size in jumps. The tool finds the highest quality that stays at or below your target, so the result is usually a little under 100 KB.