CompressImg

Resize Image in KB — Free Online

Set a target size — 20KB, 50KB, 100KB, 200KB, 500KB — and resize automatically. JPEG output, 100% browser-based and private.

KB

Drop image here or click to upload

JPG, PNG, WebP, HEIC — max 20MB

⚡ Resized in seconds·🔒 Files never leave your device·✓ Free, no sign-up

What Does "Resize Image in KB" Mean?

When you resize an image in KB, you are changing the image's file size — measured in kilobytes — rather than just its pixel dimensions. Government portals, exam application systems, job sites, and visa forms typically specify a maximum file size in KB (e.g., "photo must be under 50KB" or "document must not exceed 200KB"). Uploading a file that exceeds the limit causes an instant rejection, even if the image looks correct.

This tool automatically reduces your image to under your chosen KB target by intelligently combining quality reduction and dimension scaling. You set the target size — 20KB, 50KB, 100KB, or any value — upload your photo, and the tool finds the smallest combination of quality and dimensions that keeps the file under your limit.

How to Resize Image to Specific KB — 3 Simple Steps

  1. 1

    Set your target KB

    Enter the maximum file size allowed by your portal (e.g., 50KB for a passport application portal, 100KB for Naukri resume photo, 200KB for a visa document). Use the preset buttons for common sizes — 20KB, 50KB, 100KB, 150KB, 200KB, 300KB, 500KB, 1MB. You can also type any custom value.

  2. 2

    Upload your image

    Click the upload area or drag and drop your file. Supported formats: JPG, PNG, WebP, and HEIC (iPhone photos). HEIC files are automatically converted to JPEG before processing. The tool immediately begins resizing — no additional buttons to click.

  3. 3

    Download and upload to your portal

    The result shows "Under 50KB target ✓" when your file is within the limit. Download the resized JPEG and upload it directly to the government portal, exam site, or job application form. If you need a different size, change the target and the image is automatically reprocessed.

Common Target Sizes — Quick Reference

TargetCommon use caseTypical max dimensions
10KBAadhaar signature, micro thumbnail200×230px
20KBSSC signature, government form signature300×80px
30KBUPSC photo, online exam profile350×450px
50KBPassport portal (DS-160), NEET, JEE413×531px
100KBResume photo, job portal, IBPS600×600px
150KBStandard ID photo on most portals800×800px
200KBAadhaar/PAN document scan1024×1024px
300KBVisa application photo1200×1200px
500KBHigh-quality web image1600×900px
1MBEmail attachment, social media1920×1080px

Resize in KB vs Compress Image — What's the Difference?

Standard image compression (like using a quality slider) reduces file size by decreasing image quality — you set quality to 70% and see how big the output is, then adjust. The result depends on the image content and you have to iterate manually.

Resize in KB works differently: you specify the target file size, and the tool automatically finds the right combination of quality and dimensions to get under that limit. It runs a binary search — trying multiple quality and scale combinations until the output file is within your budget. This eliminates the guessing and iteration.

Use the compress tool (quality slider) when you want visual control. Use resize in KB when a form or portal has a specific file size requirement you need to meet exactly.

Supported Formats

JPG / JPEG

Best format for reaching very small sizes. Quality reduction is lossy, so very small targets (10–20KB) will show compression artifacts for high-resolution inputs. For photos, JPG is the most efficient format.

PNG

PNG uses lossless compression. Very small targets (under 50KB) are difficult to achieve with large PNGs since the format cannot reduce quality. The tool converts PNG to JPEG automatically for size reduction. Transparency is not preserved in the JPEG output.

WebP

WebP supports both lossy and lossless modes. The tool outputs JPEG for maximum compatibility with government portals and form upload systems, which typically require JPEG or do not accept WebP.

HEIC (iPhone)

iPhone photos are saved as HEIC by default. Upload HEIC files directly — they are automatically converted to JPEG before resizing. No separate conversion step required.

All output files are JPEG — the format most widely accepted by portals, exam systems, and government forms.

How Does It Achieve the Exact File Size?

The tool uses a combination of quality reduction and dimension scaling to get your image under the target size:

  1. 1. Quality binary search: It starts at high quality and reduces quality in steps until the file is under the target KB. A JPEG at quality 60 is typically 40–60% smaller than quality 90.
  2. 2. Dimension reduction: If the minimum quality still produces a file larger than the target, dimensions are reduced proportionally — halving the pixels reduces the file size by roughly 4×.
  3. 3. Result: The tool outputs the highest-quality, largest-dimension image that fits within your KB budget. You get the best possible visual quality at your target size.

Note: for very small targets (under 10KB), even a tiny image at minimum quality may exceed the limit. The tool shows a warning if it cannot achieve the target and outputs the smallest possible file.

Use Cases by Country and Portal

India — Exam & Government Portals

  • SSC CGL/CHSL: Photo 20–50KB, Signature 10–20KB
  • UPSC Civil Services: Photo 40KB, Signature 20KB
  • IBPS PO/Clerk/SO: Photo 50KB, Signature 20KB
  • NEET UG: Photo 10–200KB, Signature 4–30KB
  • JEE Main/Advanced: Photo 10–100KB
  • Aadhaar/UIDAI: Document 200KB
  • DigiLocker docs: 100KB–1MB

International — Visa & Passport

  • US Passport (DS-160): Under 240KB, JPEG
  • US Visa Application: Under 240KB
  • Schengen Visa (EU): Under 500KB
  • UK Visa: Under 6MB (very generous)
  • Canada eTA: Under 4MB
  • Australia ETA: Under 500KB
  • Vietnam e-Visa: Under 2MB

Job Applications

  • Naukri.com: Photo under 100KB
  • LinkedIn: Profile photo under 8MB (lenient)
  • Indeed: Under 5MB
  • Government jobs (India): Photo 20–100KB
  • HR systems: Typically 100–200KB

Online Forms & Education

  • University admissions: 100–500KB
  • Scholarship portals: 50–200KB
  • Online exam portals: 20–100KB
  • Medical registration: 50–200KB
  • Bank KYC: 50–200KB

Tips for Best Results at Specific KB Sizes

  • Under 20KB: Use a small, well-lit photo with a plain background. Signatures (white background, dark ink) compress very well. Avoid complex backgrounds.
  • Under 50KB: A 413×531px passport photo at JPEG quality 70 typically lands at 25–45KB — well within the 50KB limit. If your image is still large, check if it has unnecessary padding or extra background.
  • Under 100KB: Most ID-size photos (600×600px) reach under 100KB easily at quality 65–75. Problem cases are usually 4K photos that have never been resized — let the tool handle the scaling.
  • Under 200KB: Document scans compress well to under 200KB at 1024px wide. If the portal requires a specific DPI (300 DPI for print-quality documents), check the portal guidance — web uploads typically only care about pixel dimensions and file size, not DPI metadata.
  • PNG transparency: If your image has a transparent background, it will be converted to JPEG with a white background. If you need to keep transparency for a specific purpose, use the resize tool and keep PNG format instead.

Privacy — Your Files Never Leave Your Device

This tool runs entirely in your browser. No image, no file, and no personal data is ever sent to any server. Government IDs, passport photos, and application documents are sensitive — they stay on your device throughout the entire process. When you close the tab, nothing is retained.

Frequently Asked Questions