TARGET FILE SIZE

Hit your target file size in KB.

Enter a maximum KB or MB ceiling. imgbug runs an iterative binary quality search to approach your limit while preserving the highest visual clarity possible.

Free Online Tool No Registration Client-Side Privacy

Drop images here, or browse from your device

Supports JPG, PNG, WebP, AVIF, GIF, BMP, TIFF, SVG, and HEIC/HEIF · Up to 40 files (40 MB each)

No files queued yet
READY WHEN YOU ARE

Upload one image or a batch of 40.

Switch freely between Compress, Resize, Convert, Edit, and Workflow tabs without losing your uploaded queue. Standard processing happens locally in your browser.

01 / HOW TO USE

Three steps to export

  1. Upload your images by dragging files into the workspace or clicking Upload Images.
  2. Fine-tune settings using the right-hand controls and verify dimensions or quality in the live preview.
  3. Process & download individual optimised files or bundle the entire batch into a ZIP archive.
02 / SUPPORTED FORMATS

Compatible file types

  • JPEG / JPG (best for target KB)
  • WebP (higher efficiency)
  • PNG (quantized palette steps)
03 / AVAILABLE OPTIONS

Precision controls

  • Quick target chips (20 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB) plus custom KB/MB input
  • Iterative binary quality search (up to 8 passes) to find optimal quality under your ceiling
  • Optional automatic dimension downscaling if minimum quality still exceeds target KB
04 / USE CASES & LIMITS

Practical scope

  • Meeting strict government portal, passport, and scholarship upload limits
  • Keeping email newsletter graphics under 100 KB per asset
  • Preparing fast-loading marketplace product thumbnails

Note: Exact byte-for-byte file sizes cannot be guaranteed for every image because encoder output depends on image entropy; imgbug reports the closest achievable size.

TECHNICAL ANSWERS

Frequently asked questions.

Clear guidance on browser-side processing, file limits, and output behaviour for Compress Image to KB.

01 Why might a large photo miss a 20 KB target without resizing?

Even at minimum quality, a 4000×3000 pixel photo contains too much structural data to fit in 20 KB. Enable "Allow resize fallback" or resize dimensions first for extreme KB targets.

02 Which format works best for target KB compression?

JPEG and WebP give smooth, granular size control across quality levels. Lossless PNG is less predictable for strict KB caps unless palette quantization is enabled.