Skip to content
Free · No uploads · No sign-up

Compress Images to an Exact File Size, Free

Shrink JPG, PNG and WebP images to 20KB, 50KB, 100KB, 200KB, 1MB or any custom size. Everything runs in your browser — nothing is uploaded.

Choose an image or drag & drop it here

JPG, PNG, WebP up to 50 MB · Processed on your device — never uploaded

2. Choose your target size
200 KB
Pad to exact size

Off (recommended): the file is compressed to stay safely under your limit. Turn on only if a portal requires an exact byte count.

Portal Compatibility Standards

Target Profile: 200KB Compliance

Target Category:Universal Image Optimizer
Government & exam application forms
Visa and passport photo uploads
Job portals and profile pictures
Email attachments and websites
Automated 3-Step Walkthrough

How to Compress an image to 200KB or Less

Zero command-line tools or confusing quality sliders. Simply pick your target and download.

01

Choose your image

Drop a JPG, PNG, WebP, GIF, BMP or AVIF image up to 50 MB. It is opened on your device and never uploaded.

02

Keep 200KB selected

Pick a preset like 20KB, 100KB or 1MB, or type any custom KB/MB value. The engine searches quality first and resizes only if needed.

03

Check and download

Compare before and after with the zoomable slider, then download your image, guaranteed to be at or under the limit.

Technical Context & Portal Limits

Why compress to a target size instead of a quality slider?

Upload forms don’t care about quality percentages — they reject anything over their limit. Instead of guessing with a slider and trying again, you enter the limit and the engine finds the best-looking image that fits under it.

Smart Size Optimization
100% Private & In-Browser
Sharp, Readable Text
Target-Specific Q&A

Frequently Asked Questions

How does the tool hit an exact size?

It encodes your image repeatedly, using a binary search over the quality setting to find the highest quality that fits. If even a moderate quality is too large, it reduces the pixel dimensions step by step and searches again.

Are my photos uploaded to a server?

No. Decoding, resizing and compressing all happen inside your browser. Your image never leaves your device, and nothing is stored.

Why did my PNG become a JPG or WebP?

PNG is lossless, so the only way to shrink one is to reduce its dimensions. To keep your image sharp at small sizes, PNGs are converted to JPG (or WebP when they have transparency). Choose “PNG” under Advanced if you must keep the format.

What happens to EXIF data and GPS location?

Re-encoding removes all metadata, including camera details and GPS location, and applies the photo’s rotation to the pixels so it still displays upright everywhere.
Guide

How exact-size image compression works

Why a size target beats a quality slider, and how to keep photos sharp at small file sizes.

Quality first, dimensions second

File size depends on two things: how many pixels the image has and how strongly each block of pixels is compressed. Lowering quality a little is usually invisible, while halving the dimensions is very visible. So the engine first searches for the highest quality that fits your limit at full size, and only reduces the dimensions when even a moderate quality is too large.

JPG, PNG and WebP: which output to use

JPG is the most compatible format and is ideal for photos. WebP produces smaller files at the same quality and keeps transparency, and is accepted by modern websites but not by every upload form. PNG is lossless and best for screenshots and graphics, but it can’t be compressed by quality. With “Auto”, JPGs stay JPG, WebPs stay WebP and PNGs become JPG — or WebP if they have transparent areas.

Private by design

Most online image compressors upload your photos to their servers. This one uses your browser’s own image encoder, so your files are never sent anywhere — useful for ID photos, signatures and personal pictures.

  • Hits ≤ 20KB, 50KB, 100KB, 200KB, 500KB, 1MB, 2MB or any custom size
  • Highest quality that fits, found by binary search
  • JPG, PNG, WebP, GIF, BMP and AVIF input
  • Removes EXIF and GPS metadata automatically

Which image format should you use?

FormatBest forTransparencyCompatibility
JPG / JPEGPhotos, ID pictures, signaturesNoAccepted everywhere
WebPWebsites, graphics with transparencyYesModern browsers; some forms refuse it
PNGScreenshots, logos, line artYesAccepted almost everywhere

Not sure? Leave the output on “Auto”: JPG stays JPG, WebP stays WebP, and other formats become JPG — or WebP when they have transparent areas.

Tips for the sharpest result at 200KB

  • Crop away empty borders before compressing — fewer pixels means more quality per KB.
  • For signatures and documents, photograph them on white paper in good, even light.
  • If a form lists pixel dimensions, enter them under Advanced so the image is resized exactly once.
  • Keep the original: compressing an already-compressed copy again loses a little more detail each time.

Need to shrink a PDF instead?

The PDF Compressor works the same way: pick a target size, and the file never leaves your device.

Open PDF Compressor