Choose images, select a JPG or WebP output and set quality or a target such as 20 KB, 50 KB, 100 KB or 200 KB. The tool checks actual output bytes and reports whether the target was met. All processing and ZIP downloads run locally.
How target-KB compression works locally
Target mode tests quality levels and then reduces dimensions if needed. It reports a best-effort result when the size cannot be reached instead of claiming success. Quality mode retains decoded dimensions. Still images only; animated sources are rejected.
| Target Mode | Typical Use Case | Output Behavior |
|---|---|---|
| Batch processing | Queue, cancel, compare and download individually or as ZIP | 20 files; 80 MB input; 120 MB output |
| Dimensions | Actual output resolution checked by decoding the result | 48 megapixels maximum per image |
| Size and quality | Actual byte target checked (20 KB to 1 MB+); best effort explicitly labelled | No guaranteed reduction or lossless-photo claim |
| Metadata | Camera metadata is not copied during re-encoding | Use the metadata tool for an explicit container check |
How do I compress an image to 20 KB, 50 KB, 100 KB, or 200 KB?
Use target file size mode for strict government upload portals, visa forms, email attachments, or chat limits. One-click presets include 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, and 1 MB. The processor measures the exact generated byte length instead of guessing that a quality percentage will fit.
A very small target like 20 KB or 50 KB can require lower quality and reduced pixel dimensions. If the tool cannot reach the target within its search bounds, the result is honestly labelled Target not reached.
- Add up to 20 still JPEG, PNG, WebP, or HEIC images.
- Choose JPG or WebP output and enable Target file size.
- Select 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, or type a custom KB ceiling.
- Process and review the verified output byte size and pixel dimensions.
- Download completed images individually or together as a ZIP archive.
How to compress an image to 100 KB or 50 KB for forms
Online visa portals, exam registrations, and HR systems frequently enforce strict file-size caps such as 100 KB or 50 KB. Guessing a quality percentage in a desktop editor often takes five or six exports to land just below the limit.
Our local compressor runs an automated multi-step search inside your browser. It encodes the image at progressive quality steps and checks the exact byte length of the resulting Blob until it finds the highest quality that fits under your chosen ceiling.
- Drop your JPEG, PNG, or WebP into the compressor above.
- Select a target ceiling (50 KB, 100 KB, 200 KB, 500 KB) or switch to Manual Quality.
- Choose JPEG or WebP output format and verify the exact output byte count.
- Download the compressed file directly from your browser.
How to reduce image size without noticeable quality loss
Uncompressed PNGs and 100%-quality camera JPEGs store chroma and high-frequency detail that the human eye cannot distinguish at normal viewing distances. Encoding at 80%–85% quality in JPEG or WebP typically cuts file size by 60%–80% with virtually no visible change.
Because the browser re-encodes only the visual pixels onto a clean canvas, all embedded EXIF previews, thumbnails, and metadata blocks are also removed—saving an extra 15 KB to 60 KB automatically.
Frequently asked questions
01Can I process multiple images at once?+
Yes. Queue up to 20 files, with 30 MB per file and 80 MB total input. Completed outputs can be downloaded individually or in a single ZIP archive, up to 120 MB total output.
02Are my images uploaded to any server?+
No. Image processing and ZIP creation happen entirely inside your browser using Web Workers and OffscreenCanvas. Your files never leave your device.
03Can you guarantee a 20 KB or 100 KB file size?+
The tool binary-searches quality and resolution settings, measures the exact output bytes, and clearly reports whether the target was met. If an image is too complex for an extreme ceiling like 20 KB, it labels the closest result honestly.
04Are animated images and iPhone Live Photos supported?+
Animated PNG and animated WebP files are rejected so frames are never silently dropped. HEIC decoding exports the primary still image; Live Photo video clips and depth maps are not retained.
05Why is my PNG file still large unless I switch to JPEG or WebP?+
PNG is a lossless format, so it cannot drop visual data to hit a small ceiling like 100 KB on a high-resolution photo. Switching the output to JPEG or WebP allows lossy compression that easily reaches 50 KB–200 KB.
06Are my ID or application photos uploaded to a server during compression?+
No. Everything is encoded inside your browser tab using HTML5 Canvas. Nothing is sent over the network.
07Does compressing a photo in the browser free up iPhone storage?+
Downloading a compressed file saves a new smaller copy. To clean up unwanted photos on your iPhone camera roll, use Octoshield's swipe-to-clean organizer on iOS.
08How do I compress photos for email attachments under 25 MB?+
Most email providers (including Gmail, Outlook, and iCloud Mail) cap raw attachments at 20 MB to 25 MB—and Base64 MIME encoding adds roughly 33% overhead, so 15 MB to 18 MB of raw photos is the safe limit. Compressing each photo to 200 KB–500 KB lets you attach 20 photos in a single email effortlessly.
09What is the difference between lossless and lossy image compression?+
Lossless compression (like PNG) reorganizes pixel data more compactly without changing a single RGB value, typically saving 10%–30%. Lossy compression (like JPEG and WebP at 80%–85% quality) discards subtle high-frequency chroma detail the human eye barely notices, cutting photo byte size by 60%–85%.
10How do I compress a signature or ID photo to 20 KB or 50 KB?+
Enable Target file size and click the 20 KB or 50 KB preset button. The tool automatically searches JPEG/WebP quality and, if needed, scales dimensions so the output lands below the strict portal limit.




