1. Upload Your Image
Drag and drop any JPG, PNG, WebP, AVIF, GIF, or BMP file into the drop zone, or click to browse your files. Supports images up to 50MB with full EXIF orientation support.
Free, fast, and completely private. Drop in any JPG, PNG, WebP, or AVIF photo and compress it to exactly 20KB right in your browser — no uploads, no servers, no watermark.
A 20KB target is the strictest tier on the web, and it exists almost entirely because of government and exam portals. SSC, UPSC, state PSC boards, passport seva, and countless recruitment portals cap photo and signature uploads at 20KB or even less. Our binary-search engine pushes quality down carefully in small steps so your photo or scanned signature still looks sharp enough to pass manual verification, instead of the blotchy, over-compressed mess you get from a single fixed-quality slider.
Published specifications from recruitment and government portals whose accepted range includes 20KB. Always confirm against your specific exam's current notification before submitting.
| Portal / Exam | Document | Accepted Size | Format | Dimensions |
|---|---|---|---|---|
| SSC (CGL / CHSL / GD / Selection Post) | Signature | 10–20 KB | JPG/JPEG | 236×79px (6×2cm) |
| IBPS (PO / Clerk / RRB) | Signature | 10–20 KB | JPEG | 140×60px |
| UPSC Civil Services | Photograph (lower limit) | 20–200 KB | JPG | — |
| Most State PSC boards | Signature | 10–20 KB | JPG/JPEG | 6×2cm |
Choose your exact target file size and compress images with precision. Our intelligent algorithm optimizes quality and dimensions automatically.
Four simple steps to compress your images without compromising privacy. All processing happens locally in your browser.
Drag and drop any JPG, PNG, WebP, AVIF, GIF, or BMP file into the drop zone, or click to browse your files. Supports images up to 50MB with full EXIF orientation support.
Select your desired output size from 20KB to 500KB. Our intelligent binary search algorithm automatically adjusts quality and dimensions to reach your target precisely.
Click the Compress button. Our binary search quality optimization finds the best quality setting for your target size in milliseconds, right in your browser. No uploads required.
Preview the before and after results, then download your compressed image instantly. Compare file sizes, dimensions, compression percentage, and output format at a glance.
Our compressor works with all major image formats and intelligently selects the best output format for your needs.
The most common photo format. Excellent compression for photographs with rich colors. Our tool optimizes quality settings to reach your target size while preserving visual fidelity.
Lossless format with full transparency support. Ideal for screenshots, graphics, logos, and images with text. We preserve transparency when compressing PNG files automatically.
Modern format from Google offering superior compression. WebP typically produces files 25-35% smaller than JPEG at equivalent quality. We auto-convert when your browser supports it.
The next-generation format with the best compression ratios. AVIF can reduce file sizes by 50% compared to JPEG. Automatically used for very small target sizes when your browser supports it.
Unlike most online image compressors, we never upload your images to a server. All compression happens locally in your browser.
Every image you compress using Compress To KB is processed entirely within your web browser using JavaScript and the HTML5 Canvas API. This means your images are never sent over the internet, never stored on any remote server, and cannot be accessed by us or any third party. Compressed images exist only in your browser's memory and are discarded when you close the page.
This makes Compress To KB ideal for compressing sensitive photos, confidential documents, or any image you prefer to keep private. Your data stays on your device, exactly where it belongs. Once the page is loaded, you can even compress images without an internet connection.
Go deeper on formats, privacy and web performance in our blog.
A step-by-step guide for SSC, UPSC and IBPS photo and signature uploads.
What happens to your photo on a typical server-based compressor, and why local processing is different.
Yes. SSC (CGL, CHSL, GD and Selection Post notifications) and IBPS (PO, Clerk, RRB) both publish 10–20KB as the accepted signature file size, in JPG/JPEG format. 20KB sits right at the upper edge of that window, so it is the safest choice if you want maximum clarity without breaching the limit.
Most SSC and IBPS application portals hard-block uploads above 20KB with a JavaScript file-size check, so the form simply won't accept it. Use our tool to bring it down to exactly 20KB or slightly under, rather than guessing with a generic compressor.
No. Photo and signature fields have separate dimension requirements (a signature is a wide, short rectangle; a photo is a portrait). Compress each scan separately using the correct crop, and use our 20KB tool for the signature box specifically.
At very small sizes, JPG compression can lighten faint pencil or grey-ink strokes. Re-scan your signature with a black or dark-blue ink pen on plain white paper before compressing — this preserves contrast far better than trying to fix a faint scan after the fact.
Our tool treats 1KB as 1,024 bytes (the binary definition computers actually use), so choosing 20KB targets a file of at most 20,480 bytes. A small number of strict portals count 1KB as exactly 1,000 bytes instead; in that rare case, aim slightly under 20KB to be safe.
At 20KB, expect quality that is soft and noticeably lower-detail. Our tool always reduces quality gradually first and only shrinks pixel dimensions if quality reduction alone can't reach 20KB, which keeps the result looking as sharp as possible for this target.
For a 20KB target, our tool almost always needs its pixel dimensions reduced as well as quality, since 20KB leaves very little room for a full-size photo. You generally don't need to resize manually first — the binary-search engine tries quality reduction before touching dimensions, since that usually preserves more visible detail than shrinking the image outright.
You can upload JPG, PNG, WebP, AVIF, GIF, or BMP and compress to 20KB. For output, choose Auto (the tool picks the best format for a 20KB target) or force JPG, PNG, WebP, or AVIF specifically using the Output Format dropdown.
No. Compressing to 20KB happens entirely inside your browser using the HTML5 Canvas API — nothing is ever sent to a server. That matters especially for a signature or small ID photo, which you may not want leaving your device at all.
Not currently — this 20KB tool processes one image at a time so it can fully dedicate its binary-search process to hitting your target precisely. Run it again immediately for additional images; there's no limit on repeat uses.
Not directly — this 20KB tool accepts JPG, PNG, WebP, AVIF, GIF, and BMP, but not Apple's HEIC format. Most iPhones convert HEIC to JPG automatically during a browser upload; if yours doesn't, switch to Settings → Camera → Formats → "Most Compatible" first.
Quick links to our most-used target-size compressors.
The most common target for passport photos, signatures, and ID uploads across web forms.
A comfortable size for resume photos and small profile pictures that still need to look sharp.
Great for web forms, forum avatars, and directory listings with everyday upload limits.