No upload, 100% local, no account

How-to

Compress a photo to exactly 100 KB

Some upload forms reject a photo the moment it crosses a hard byte ceiling, usually 100 KB or 200 KB, no matter how good it looks. Dragging a quality slider by eye rarely lands under that number on the first try. The image compressor has a target-size mode and optional Max dimension downscaling built for exactly this: pick 1280 px or 800 px if your camera shot is oversized, type the KB limit you were given, and it finds the highest quality that still fits under it, entirely in your browser.

Step by step

  1. Open the image compressor and drop your photo in. For 12 MP+ phone photos, optionally set Max dimension to 1920 px, 1280 px, or 800 px, then switch the mode toggle from "Quality" to "Target size" to reveal the KB input.
  2. Type the limit the form asked for, 100 in this case. The tool downscales once via WebAssembly if a Max dimension was chosen, then re-encodes at several quality levels to narrow in on the highest quality that still lands at or under 100 KB.
  3. Download the result. The savings summary shows the final size next to the original so you can confirm it is under the limit before you upload it to the portal that asked for it.

Why some forms demand an exact KB ceiling

Visa applications, exam board registrations and government e-forms often store the photo in a fixed-size database field or attach it to a document template with a hard byte budget. The form does not care about resolution or how sharp the photo looks; it checks one number, the file size in kilobytes, and rejects anything over it. A phone photo straight out of a 12 MP or 48 MP camera is commonly 2 to 6 MB, twenty to sixty times over a 100 KB cap, so lowering quality alone often leaves visible JPEG blocking.

FeatureUS DOS / DS-160India SSC / UPSCSchengen Visa Portal
File size cap≤ 240 KB (Exact)20 KB to 50 KB≤ 100 KB (Strict)
Reference600x600 px (300 DPI)200x230 px (Color)35x45 mm (413x531 px)
Supported formatsJPEG 24-bit sRGBJPEG (200 DPI)JPEG Baseline 8-bit

How the search finds a size instead of a quality

Target-size mode does not pick a quality number for you to eyeball; it runs a small search. Each attempt re-encodes the photo at a candidate quality and measures the output in bytes. When an attempt is under your limit, the tool keeps it as the best answer so far and tries a slightly higher quality; when it is over, it tries lower. After a handful of attempts it settles on the highest quality it found that stays at or under your KB limit, and re-encodes once more at that value for the file you download. The result lands under the target, not at an exact byte count: 97.4 KB for a 100 KB limit is a typical, and perfectly valid, outcome.

FeatureQuality Step (0.01 - 1.0)Chroma SubsamplingPre-Resize (Image Resize)
ReferenceBinary Search (Log2(N))YUV 4:2:0 vs 4:4:4Scale Down Oversized Dimensions First
File size capConverges Near Target CapSaves 15% to 25% PayloadMatches Required Pixel Dimensions
Processing modeClient WASM Binary Search LoopClient Canvas Context2DOffscreenCanvas Worker
ResultTypically ~95–99 KB (≤ 100 KB)Sharp Facial GeometryMeets File-Size Cap (Check Portal Rules)

Using Max dimension downscaling for 12 MP+ photos

When quality reduction alone cannot reach 100 KB without visible blocking on a 12 MP+ camera shot, select 1920 px, 1280 px, or 800 px in the Max dimension dropdown right inside Image Compress. The worker decodes and downscales the image once via WebAssembly while preserving its aspect ratio, then runs the target-size search on the smaller pixel grid so text and facial details stay clean under 100 KB.

The tools used in this guide

Frequently asked questions

Will the downloaded photo be exactly 100 KB?

It will be at or under 100 KB, not an exact byte count. The search stops at the highest quality it found that still fits the limit, which is usually a little under it (97 to 99 KB for a 100 KB target is typical). Portals that state a maximum, not an exact figure, accept this without issue.

Can I compress a PNG down to a 100 KB target?

Yes. When keeping PNG format, lowering quality below 100 or running target-size mode applies RGBA channel quantization via @jsquash/png WASM to shrink the file. However, for camera photographs, switching the output format to JPEG or WebP still achieves much sharper results under a strict 100 KB ceiling.

Sources