100% in your browser · No uploads🇪🇺 GDPR friendly⚡ Instant · No signup

Compress an image to 300 KB

Reduce JPG, PNG, WebP or HEIC photos to under 300 KB without uploading. A comfortable target — quality stays close to the original even on large photos.

Drop a photo here, or tap to choose

JPG · PNG · WEBP · HEIC — files never leave your browser

0 photos uploaded — ever.
All processing happens locally in your browser.

A comfortable target — quality stays close to the original even on large photos. The encoder binary-searches the JPEG/WebP quality to fit just under 300 KB while keeping the image as sharp as possible.

What needs a 300 KB photo?

300 KB lets you upload a near-original quality photograph at passport or square-avatar dimensions. Several Latin-American visa portals and Indian state university applications use this cap.

How the compressor hits 300 KB

We binary-search the JPEG quality between 0.40 and 0.95 to find the highest setting whose encoded output fits under 300 KB. For most photos at typical document dimensions this lands within 1.5 KB of the target after 6–8 iterations. If quality 0.40 still overshoots, we progressively scale the canvas down by 10% and try again — the editor only ever reduces resolution as a last resort.

What if the output is still too big?

  • Reduce pixel dimensions. A 600×600 photo can never shrink to 300 KB as far as a 413×531 one can. Switch the size mode to a passport preset, or set custom pixel dimensions.
  • Switch format to WebP. WebP typically gives 25–35% smaller files at equivalent quality. Some upload portals reject it, so check the spec page first.
  • Crop tighter. Less background means less detail to encode, which lets the encoder use more bits on the face.

How to use this page

  1. Drop your JPG, PNG, WebP or HEIC photo above.
  2. Pick a size preset (passport, square avatar, custom pixels) — or leave it on "Free" to keep the original dimensions.
  3. The target is already set to 300 KB. Click Generate and download.

Privacy

Every step happens inside the browser tab you have open. Your image is decoded, cropped and re-encoded by the same JavaScript engine that runs this page — there is no upload, no temporary file on a server, and no "processed copy" cached by us afterwards. When you close the tab, the blob is gone. We document the full pipeline on our Methodology and How it works pages.

FAQ

Is 300 KB enough quality for a passport photo?

Yes — 100 KB and above is enough for most government portals at 413×531 px or 600×600 px.

Why is the output still above 300 KB?

If the source resolution is very high, the encoder cannot reach the target without progressive downscaling. Reduce the pixel size or switch to WebP.

Does it work with iPhone HEIC files?

Yes, HEIC is converted to JPEG locally before compression.

Does compressing to 300 KB blur the photo?

For a 413×531 px passport photo at 300 KB, the output is visually indistinguishable from the original on a phone or laptop screen. Below ~30 KB at the same dimensions you start to see mild softening; below ~15 KB JPEG block artifacts become visible.

Will the file be exactly under 300 KB?

The compressor stops the search at the first quality that fits, so the output is guaranteed to be ≤ 300 KB. You'll usually land 1–5 KB under the limit.

What happens to my image after I close the tab?

It is freed from your browser's memory like any other image you opened. We never received it, so we have nothing to delete on our side. See Trust & Safety for the full policy.

Related tools