Back to Home

Image Compressor – Exact KB Control

Compress JPG, PNG to exactly 20KB, 50KB, 100KB, or any KB you need. Perfect for exam forms, visa applications, and documents.

Upload Image
Click or drag & drop (JPG, PNG, WEBP)
Preview
KB
Output: 800 x 600 px

Compress Image to Exact KB – How It Works

Our image compressor uses a smart binary‑search algorithm to adjust the image quality until the file size hits your target – whether it's 20KB, 50KB, 100KB, or any number you enter. You also have full control over the output dimensions and can keep the original aspect ratio. All processing happens in your browser, so your images stay private.

Why Exact KB Compression Matters

Many online forms – especially for government exams like SSC, UPSC, Banking, and Railways – have strict file size limits (e.g., “photo must be between 20KB and 50KB”). Our tool ensures your image falls exactly within those limits, preventing rejection due to “file too large” or “file too small” errors.

Exam Photo & Signature Size Requirements

Exam / Application Photo Size Signature Size File Size Limit
SSC (CGL, CHSL, MTS)3.5 x 4.5 cm4.0 x 2.0 cm20‑50KB / 10‑20KB
UPSC Civil Services350 x 350 px350 x 350 px20‑300KB
IBPS (Banking)4.5 x 3.5 cm140 x 60 px20‑50KB / 10‑20KB
RRB (Railways)3.5 x 4.5 cm2.0 x 4.0 cm15‑40KB
GATE Exam240 x 320 px80 x 280 px5‑200KB
US Visa2 x 2 inch≤240KB
Indian Passport35 x 45 mm≤100KB

Use our unit selector to work in cm or inches – the tool automatically converts to pixels at 300 DPI, ensuring print‑ready quality.

💡 Pro Tip for Best Results

When compressing to a very small size (e.g., 10KB), start with a well‑lit, high‑contrast image. The algorithm will reduce quality, but a clear original yields a better small photo. For exam photos, always check the official notification for exact requirements.

Frequently Asked Questions

Q: How accurate is the compression?

A: The tool aims for your target KB and typically achieves it within 1‑2KB. If your target is very low (e.g., 5KB), it may be slightly above, but we always provide the closest possible result.

Q: Can I compress PNG files?

A: Yes, you can upload PNG. For PNG, we adjust the image dimensions and then save as PNG, which may result in larger files than JPG. For smaller sizes, choose JPG.

Q: What happens if I don't enter a target KB?

A: If you leave the field empty, the tool compresses at 92% quality without targeting a specific size – useful when you only want to resize.

Q: Is my data safe?

A: Absolutely. Everything runs in your browser. Your images are never uploaded to any server. You can even disconnect from the internet after the page loads – the tool will still work.

Step‑by‑Step Guide

  1. Upload your image – Click the upload area or drag & drop a JPG, PNG, or WEBP file.
  2. Set dimensions – Adjust width and height as needed. Choose the unit (px, cm, inch). The preview updates automatically.
  3. Enter target KB – Type the exact file size you need (e.g., 20 for 20KB).
  4. Choose format – JPG is best for photos, PNG for transparency, WEBP for modern browsers.
  5. Maintain aspect ratio – Keep the box checked to avoid distortion.
  6. Click “Compress & Download” – Wait a moment while the algorithm finds the perfect quality.
  7. Download – Your compressed image is ready. Check the final size displayed.

Bookmark this page for quick access whenever you need to compress images for exams, visas, or documents. We're constantly improving the tool – if you have suggestions, let us know.