PicsFit
Start Compressing
Your images never leave your device

Compress Image to Target Size

Set any KB or MB target. Binary-search compression finds the right quality, all in your browser.

Drop images here

JPG, PNG and WebP supported. Max 20MB each, up to 20 files.

Images are processed locally in your browser.

Target Size Settings

Target file size
Quality First keeps original dimensions as much as possible.
Remove EXIF (camera, GPS, timestamp). Required by many platforms.
Variables: {name} {ext} {w} {h} {idx} {format} {date}

How it works

  1. 1Drop your images.
  2. 2Pick a quick preset (100KB / 200KB / 500KB / 1MB / 2MB) or type a custom value.
  3. 3Choose Quality First (preserve dimensions) or Size First (allow downscaling).
  4. 4Click Compress. Each image binary-searches the right quality (up to 8 passes).

Why a custom target

  • Many forms and platforms enforce strict file-size caps (visa, university, government, eBay, Etsy).
  • Page-weight budgets — control exactly how much data your hero image consumes.
  • Avoid wasted-quality re-encodes — go just under the cap and no further.

Features

Custom or preset KB/MB targets
Quality First / Size First modes
Per-image binary search
Format auto-pick
Warning when target unreachable
Batch ZIP download

Frequently asked questions

What is the difference between Quality First and Size First?
Quality First preserves the image's original dimensions and only lowers JPG/WebP quality to hit the target. Size First also reduces dimensions if quality alone can't reach the target — useful for very strict KB caps.
What if my image can't be compressed to the target?
You'll see a warning per image. The tool offers one-click switches to Size First mode or to switch the format to WebP, which usually fits the target.
Are my images uploaded to your server?
No. All images are processed locally in your browser using JavaScript and WebAssembly. Your files never leave your device, and we have no infrastructure that could receive them.
Can I compress multiple images?
Yes. You can drop a batch of images (or an entire folder) and download the compressed results as a single ZIP file with the original folder structure preserved.
Which formats are supported?
JPG, PNG, WebP and AVIF are supported when available in your browser. The Auto mode picks the smallest modern format your browser can encode.
Can I compress images to a specific size?
Yes. Use the Compress to KB tool to target 100KB, 200KB, 500KB, 1MB or any custom size.
Do I need an account?
No. There is no signup, no login, and no payment. The tool works as soon as the page loads.

Related tools

Compress Image
Universal compressor for any format
Compress JPG
Free local JPG optimizer
Compress PNG
Lossless and smart PNG compression
Compress WebP
Local WebP optimizer
Compress AVIF
Modern AVIF encoder
PNG to WebP
Convert with transparency
Compress to 100KB
Hit the 100KB target
Compress to 200KB
Compress to 500KB
Compress under 1MB
Shopify product images
2048×2048 WebP
App Store screenshots
Social media resizer
Your images never leave your device. All compression happens locally in your browser. We do not upload, store, or view your images. No upload · No account