Upload your JPEG
Drop your JPG, browse files, or paste directly from clipboard with Ctrl / ⌘ + V.
Drop JPEG images here
or choose files from your device
JPG, JPEG, PNG, WebP, AVIF · up to 30 MB each · max 20 files
You can also paste an image with Ctrl / ⌘ + V
A 20KB file size limit equals approximately 20,480 bytes. In the context of modern digital imaging, this is an ultra-tight data budget. Modern smartphones capture images containing 12 million to 50 million pixels, weighing between 3MB and 15MB.
When an online form, exam portal, or document submission portal requires a file under 20KB, it treats that figure as a hard stop: any file that is even 20.1KB will be automatically rejected. CompressJPEG searches for the highest image quality setting that ensures the final file stays strictly below your 20KB limit.
The most common legitimate use case for a 20KB limit is applicant signature scans and biometric thumb impressions on registration portals.
Target: 20 KB
JPEG compression works through Discrete Cosine Transform (DCT) on 8×8 pixel blocks. When you force a 4000×3000 photo to under 20KB without changing dimensions, the compression algorithm has to quantize frequency data aggressively. The result is recognizable "mosquito noise", color banding, and illegible text.
Instead of destroying visual fidelity through extreme quantization, reducing the resolution to an appropriate physical dimension (such as 400px to 600px wide) dramatically reduces the raw byte load before compression even starts. This allows the JPEG encoder to use a gentle, high-quality quantization table, giving you a sharp 20KB result that passes automated validation cleanly.
Simple 3-step workflow
Three steps to a smaller JPEG.
Drop your JPG, browse files, or paste directly from clipboard with Ctrl / ⌘ + V.
Select an exact file size limit (like 100KB) or use Smart mode for automatic balance.
Save your compressed photo instantly with zero uploads and pristine clarity.
CompressJPEG processes your images directly in your browser. Your photos are not uploaded to a server.
Images stay on your device.
Start compressing immediately.
Your compressed images remain yours.
Target 20KB Questions
A 20KB file size holds only about 20,480 bytes. If you take a 12-megapixel smartphone photo (4000×3000 pixels) and try to squeeze it into 20KB using quality compression alone, the JPEG encoder must discard almost all high-frequency image data, creating severe 8×8 block artifacts and fuzzy edges. To keep a 20KB image sharp, resize the pixel dimensions down (e.g., 400px to 800px wide) before or alongside compression.
For personal signatures and official stamps, dimensions between 300×150 pixels and 600×300 pixels work best. For profile photos or passport avatars under 20KB, dimensions between 200×200 pixels and 350×450 pixels keep the subject crisp while easily satisfying the 20KB limit.
Yes. Signatures written with blue or black ink on clean white backgrounds compress extremely efficiently because plain white space contains minimal frequency variation. Simply upload your signature scan, enable Resize if the image is from a phone camera, and Target Size mode will cleanly output a file below 20KB.
Target Size mode treats 20KB as a strict maximum ceiling, not a guaranteed exact number of bytes. The algorithm searches JPEG quality levels 100 down to 1 to find the highest possible fidelity that stays safely under 20,480 bytes. Producing 19.2 KB to 19.8 KB ensures your file will never be rejected by strict online upload validators.
If a photograph still looks too soft or fails to reach the 20KB target, crop away unnecessary background space to focus tightly on the subject, or reduce the image dimensions in the editor before compressing. Reducing the pixel count by 50% cuts the uncompressed pixel data by 75%, allowing the encoder to preserve much higher visual sharpness.
Free forever · No registration · Zero server uploads
Drop your image above — Target Size 20KB is pre-configured for instant compression.