Compress Image to Exact KB Size

Compress JPG, PNG and WebP photos online free — shrink to exact KB target with quality kept, EXIF strip and batch.

Drop your images here

or press Ctrl+V to paste

Images • No fixed size cap

or

No sign up • Nothing uploaded • No watermark.

AFFLIGO Compress vs TinyPNG & iLoveIMG
AFFLIGO
  • ✓Exact-KB binary-search target
  • ✓EXIF metadata stripping
  • ✓Unlimited batch + ZIP
  • ✓JPEG/PNG/WebP/AVIF + more
TinyPNG
  • ✗Smart lossy, no exact-KB target
  • ✓Metadata stripped as well
  • ✗20 files, 5MB each free
  • ✓JPG, PNG + WebP covered
iLoveIMG
  • ✗Auto ratio, no exact-KB target
  • ✗No metadata-strip control
  • ✗200MB per task cap
  • ✓JPG/PNG/SVG/GIF covered
Read the Full Guide

How to Compress Images Online

  1. Step 1
    Upload Images
    Drag and drop or pick images — PNG, JPG, WebP, and AVIF, as many as you need.
  2. Step 2
    Adjust Settings
    Set the quality level, adjust resize dimensions, and pick an output format.
  3. Step 3
    Compress & Download
    Click Compress, preview before/after, then download individually or as a ZIP.

Compress an Image to 200 KB

Set the mode to Target File Size, type 200, keep the unit on KB, then Compress. The tool walks a quality ladder from the top down and stops at the first rung that lands under 200 KB, so the output comes back at or below the cap rather than exactly on it. If no rung reaches 200 KB, it says so instead of handing you an over-size file.

If the search bottoms out without reaching 200 KB, the lever is Max Dimension, not quality: a 12 MP phone photo at full resolution carries more pixels than a form ever displays. Set Max Dimension to 1200px (Medium) and run it again - the photo stays sharp on screen and the bytes drop far more than any quality step can manage.

Why resolution beats quality: the measured fit-mode comparison.

Compress an Image to 500 KB

500 KB is the target for anything that will be printed or read closely: scanned certificates, bank passbook pages, signed documents photographed with a phone. Type 500 in Target File Size and leave Max Dimension on Original Size so nothing is resampled away.

The search walks quality down from the top and stops at the first rung that fits under 500 KB, so on most photos the output keeps far more detail than a 100 KB or 50 KB target would. If you are going the other way - a portal that only accepts 100 KB or 50 KB - drop the target and keep the same file; the search simply walks further down the ladder.

Shrinking for a specific pixel size instead: Image Resizer.

Photo and Signature Sizes Indian Forms Ask For

Exam, banking and government forms ask for a number in KB and a file type, not a preset. These are the settings to use for each slot, with the same file dragged in once and compressed twice.

Upload slotWhat the form usually acceptsSetting to use here
PhotoJPG image field, roughly 10-200 KBTarget 100 KB, Max Dimension 1200px, output JPG
SignatureJPG image field, same band, usually the tighter of the twoTarget 50 KB, Max Dimension 600px, output JPG
Scanned certificate or marksheetPDF, often 100-500 KBNot this tool - use Compress PDF at 200 KB or 500 KB
Email or WhatsApp to an office10-25 MBNothing to do - even 500 KB is far below the limit

Ranges come from the sourced limits table in the compression guide; portals change caps without notice, so the number printed on your own form is the final word. Aim for about 90% of it.

Frequently Asked Questions

Supports JPG, PNG, WebP, GIF, AVIF, BMP, TIFF, SVG, and HEIC/HEIF formats. Output to JPG, PNG, WebP, or AVIF. SVG files are optimized with SVGO. HEIC photos (iPhone) are decoded automatically.
Yes, all processing happens in your browser. No images are uploaded to any server.
Yes, add as many images as you need - they process one by one with the same compression settings. Download individually or as a ZIP.
Yes. You can convert between JPEG, PNG, WebP, and AVIF formats during compression using the output format selector. For more advanced conversion options, try our Image Converter.
Target File Size mode automatically finds the best quality setting to compress your image to a specific file size (e.g., 500 KB). It uses binary search over quality levels to get as close to your target as possible.
Yes, by default the tool strips EXIF metadata including GPS location, camera info, and date. Before compressing, it shows what metadata was found in your images. You can uncheck "Strip metadata" to keep it. SVG metadata (editor junk, comments) is always optimized.
Yes. Switch to Target File Size mode, type your exact limit (e.g. 100KB, 50KB, or 20KB), and the tool uses binary search over quality levels to land as close to your target as possible while keeping the best quality. Works with JPEG, WebP, and AVIF output.
Switch to Target File Size mode, type 20 KB, and choose JPEG output — most exam, passport, and government portals only accept JPEG. The tool searches quality levels to land as close to 20KB as possible. If the photo is very detailed, first set Max Dimension to 1200px or lower, then compress — smaller pixels reach tiny targets with better quality.
Yes, within limits. Start with Quality mode at 80 — for most photos the result looks identical to the original at a fraction of the size. For an exact limit, use Target File Size mode so the tool keeps the highest quality that still hits your target. Resizing to the actual display width first preserves far more visible quality. The full guide explains the quality tradeoffs.
Set Compression mode to Target File Size, type 200 with the unit on KB, and press Compress. The tool searches JPEG quality for the best setting that still lands under 200 KB. If it cannot reach the cap at full resolution, set Max Dimension to 1200px and run it again - dropping pixels saves far more than dropping quality, and the photo still looks sharp on screen.
Photo slots are usually JPG fields capped somewhere between 10 KB and 200 KB, and signature slots are usually the tighter of the two. Use Target File Size 100 KB with Max Dimension 1200px for a photo, and 50 KB with 600px for a signature. Aim for about 90% of the cap the form prints; landing a byte over is how uploads bounce.