FileSwift
Home/Compress image under 100KB
Free · runs in your browser · hits an exact KB target

Compress a photo
under 100KB.

Set the exact size limit a form demands, and the tool steps quality - and dimensions, if needed - down automatically until the file fits. Common uses: passport photos, visa applications, job portals, and forms that flat-out reject anything over a size cap.

Input size
0 KB
Output size
0 KB
Saved
-
Private Local Image Processing: Your images never leave your device and are never uploaded or saved. Disconnect your internet to test-this page works 100% offline.

Compress to a target size

Upload one photo or several, set your target in KB, and download the compressed JPGs - as a batch, everything is compressed to the same target.

Drop photos here, or click to browse
One or many · JPG output

How it works

  1. Upload your photo, or several at once. Supports JPG, PNG, and WebP formats.
  2. Type your target size in KB. Check the portal's requirement first - most specify "under 100KB", "under 200KB", or "under 500KB" directly next to the upload field.
  3. Compress. The tool uses an iterative binary-search algorithm to find the highest quality level that stays strictly below your target KB limit.

Target-Size Image Compression Guide

Most online file upload forms impose strict file size ceilings (e.g. 50 KB, 100 KB, 200 KB, or 500 KB) to conserve database storage and ensure fast photo loading. However, manually adjusting quality sliders in image editing software can be tedious and imprecise.

Standard Government, Job Portal, & Exam Photo Requirements

Application TypeTarget Size LimitRecommended ResolutionAspect Ratio
Civil Service (CPNS / SSCASN)Max 200 KB (Min 100 KB)1200 × 1600 px3:4 (4x6 format)
University Entrance (UTBK / SNPMB)Max 100 KB (Min 40 KB)800 × 1200 px4:6 format
US / International Visa & PassportMax 240 KB600 × 600 px1:1 (2x2 inch)
LinkedIn & Resume Profile PhotoMax 500 KB - 1 MB800 × 800 px1:1 square
Marketplace Product (Shopee / Tokopedia)Max 2 MB1200 × 1200 px1:1 square / 3:4

How FileSwift Hits the Exact Target Size in Your Browser

  • Iterative Binary Search: Rather than guessing a random compression percentage, FileSwift measures the output byte buffer directly in client memory across multiple quantization passes until it reaches the highest visual quality under your exact threshold.
  • Dual-Stage Downscaling: If quality reduction alone cannot reach the target size (common with huge 48-megapixel phone cameras), the algorithm automatically scales down the canvas pixel dimensions in small, bilinear increments while preserving facial and document clarity.

Frequently Asked Questions

Will compressing to 100KB make my photo blurry?

Some quality loss is unavoidable when shrinking a large file, but FileSwift prioritizes fine-tuning the JPEG discrete cosine transform (DCT) quantization tables before touching the pixel dimensions, preserving sharp facial features and text.

What is the "Max dimension (px)" field for?

It caps the photo's width or height before compression begins. For example, setting it to 1200px for a 4000px smartphone photo dramatically reduces file size while improving sharpness at 100 KB.

Can I compress multiple photos in batch?

Yes. You can drop dozens of photos simultaneously. Each image will be individually compressed to the target KB limit, and you can download them one by one or as a single consolidated ZIP archive.

Does this tool upload my personal photos to any server?

No. All compression executes 100% inside your local web browser tab using HTML5 Canvas. Your photos never leave your device.

What if my photo has sensitive EXIF metadata?

You can use our free EXIF & AI Metadata Stripper tool to wipe GPS location tags, camera details, and C2PA AI credentials from your photos before sharing.