Compress Image to 20KB — Free
Target your portal's exact KB range — automatic quality, honest pass/fail verdict
Government and exam portals (SSC, IBPS, RRB, NEET, UPSC, Teletalk) rarely want a file simply "under 20KB" — they specify a range, like a 20–50 KB photo or a 10–20 KB signature, at an exact pixel size. A file squeezed too small is rejected just like one that's too big. This tool targets that whole band: pick your portal's preset (or type your own size and KB range), click once, and it automatically searches JPEG quality to land inside the range — then tells you pass or fail. No slider to nudge, no upload, runs entirely in your browser.
Your Files Never Leave Your Browser
Conversions run locally in your browser using the Canvas API. Your image data stays on your device and is never uploaded to any server.
We use Google Analytics and Google AdSense for aggregated traffic stats and contextual ads when consent allows it. Theme and language preferences stay in your browser. We never see, read, or store the images you convert.
Browser-based conversion has trade-offs: large files (>50 MB) may hit memory limits; animated GIF output flattens to a single frame; EXIF metadata is stripped; ICC color profiles may differ across browsers.
> portal_spec_reference
| Portal group | Required W×H (px) | Official KB range | Notes |
|---|---|---|---|
| India Govt Photo (SSC · IBPS · RRB · NEET · NTS) | 200 × 230 | 20–45 KB | Verify against current notice |
| Bangladesh Teletalk Photo | 300 × 300 | 30–80 KB | Exact pixels — off-size rejected |
| UPSC / Passport (square) | 350 × 350 | 30–150 KB | Keep 1:1 ratio |
| Standard Signature (SSC · IBPS) | 709 × 236 | 10–20 KB | SSC 6×2cm @ 300 DPI; IBPS validates by KB — verify current notice |
| Bangladesh Teletalk Signature | 300 × 80 | 15–50 KB | Exact pixels — off-size rejected |
| Wide Signature / Declaration | 800 × 400 | 50–90 KB | Verify against current notice |
These are sourced portal requirements, not measured output — specs change every exam cycle, so always confirm the exact dimensions and KB range against your portal's current notice. Portal validators read pixel dimensions and KB size; KB is decimal (1 KB = 1000 bytes), matching portal counters.
> measured_on_device_benchmark
A first-party benchmark drives this exact tool in a real headless Chromium browser against every preset and reads back the true output bytes. For each preset it checks four things: the file lands inside the official KB range, the output is at the exact pixel size, the JPEG is baseline (portal-safe, not progressive), and it carries no EXIF metadata. Latest run — 6 / 6 presets passed.
| Preset | Required W×H | Measured size | Official range | Baseline · no-EXIF | Result |
|---|---|---|---|---|---|
| India Govt Photo (SSC · IBPS · RRB · NEET · NTS) | 200 × 230 | 32.6 KB | 20–45 KB | ✓ · ✓ | PASS |
| Bangladesh Teletalk Photo | 300 × 300 | 53.6 KB | 30–80 KB | ✓ · ✓ | PASS |
| UPSC / Passport (square) | 350 × 350 | 89.2 KB | 30–150 KB | ✓ · ✓ | PASS |
| Standard Signature (SSC · IBPS) | 709 × 236 | 15.0 KB | 10–20 KB | ✓ · ✓ | PASS |
| Bangladesh Teletalk Signature | 300 × 80 | 25.2 KB | 15–50 KB | ✓ · ✓ | PASS |
| Wide Signature / Declaration | 800 × 400 | 69.0 KB | 50–90 KB | ✓ · ✓ | PASS |
Sizes are byte-honest and decimal (1 KB = 1000 bytes), matching portal counters. Inputs are high-detail synthetic samples that deliberately stress the compressor — a real photo or signature of similar detail behaves the same. A much simpler or smaller source may instead land below the KB minimum, which the tool flags honestly as under-sized rather than passing it off as compliant. The benchmark runs the untouched src/js/compressor.js engine via scripts/compressor-proof.mjs; full per-preset output is committed at src/assets/benchmarks/compressor/results.json.
> step_by_step_guide
- Upload your photo or signatureDrag and drop your image into the tool, or click to browse. It stays in your browser — nothing is uploaded. The original dimensions and file size are shown immediately.
- Pick a preset or enter your KB rangeChoose a portal preset (SSC, IBPS, Teletalk, UPSC and more) to load the required width, height and KB range, or switch to manual and type your portal's exact pixels plus the min and max KB from its notice.
- Click Compress to RangeThe tool builds the exact-size canvas and automatically searches JPEG quality to land inside your KB band. There is no slider to nudge and no compress-check-repeat loop — one click runs the whole search.
- Read the pass/fail verdict and downloadThe result panel shows a green PASS when the file is inside the range at the exact size. If it came out under the minimum you get an honest amber warning; if it went over the ceiling, or could only fit the range by resizing below your pixel size, it reports a clear FAIL. When it passes, click Download.
> file_size_limits_by_portal_type
- Indian exam portals (SSC, IBPS, RRB, NEET, UPSC): photos are commonly 20–50 KB at 200×230 to 350×350px, signatures 10–20 KB at sizes from 140×60 up to 709×236px (e.g. SSC's 6×2cm at 300 DPI). The exact size and range change each cycle — read the current notice.
- Bangladesh Teletalk: validates exact pixels (300×300 photo, 300×80 signature) and rejects off-size files. Use the locked Teletalk presets so the dimensions can't drift.
- University / college applications: commonly 50–200 KB for photos and 20–50 KB for signatures — check the specific institution's form.
- What validators actually read: pixel dimensions and KB file size. Portals rarely check cm/inch or DPI, and cm↔pixel conversions differ between notices — so set the pixel size the notice states rather than converting from centimetres.