image-tools tool

Image Compressor

Compress images to exact KB limits for NEET, government portals, and online forms. Smart presets for passport photos, document scans, and profile pictures — resize, crop, and convert formats. Everything runs in your browser.

Compress your image to the exact size the form expects.

Pick a preset for passport photos, documents, or profile pictures — the tool auto-adjusts quality and dimensions to hit the target. Works entirely in your browser; nothing is uploaded.

Click to upload or drag & drop

JPEG, PNG, WebP, GIF — up to 20 MB

About This Tool

Government portals and exam applications like NEET, UG admissions, and community certificate requests often enforce strict image file size limits — typically under 50 KB for passport-style photos and under 200 KB for document scans.

This tool compresses any image to meet those limits automatically using your browser's built-in Canvas API. Upload a photo, pick a preset, and download the compressed file instantly — no sign-up, no server, no data leaves your device.

You can also manually crop the image before compressing, switch output format between JPEG, PNG, and WebP, and override the maximum dimensions for precise control.

How To Use

  1. 1. Click the upload area or drag and drop your image (JPEG, PNG, WebP, GIF — up to 20 MB).
  2. 2. Choose a size preset: Passport Photo (<50 KB), Document / Certificate (<200 KB), Profile Photo (<100 KB), or Custom to set your own target.
  3. 3. Optionally switch the output format (JPEG is smallest for photos; PNG for lossless; WebP for best compression).
  4. 4. Toggle Crop image to trim the photo before compressing. Toggle Limit dimensions to cap width and height.
  5. 5. Click Compress & Download — the file saves automatically.

Frequently Asked Questions

Is my image uploaded to a server?

No. All compression, resizing, and cropping is done entirely inside your browser using the HTML5 Canvas API. Your image never leaves your device — there are no server calls.

Which preset should I use for a NEET or government form photo?

Use Passport Photo for identity photo fields — it targets under 50 KB with sensible maximum dimensions. Use Document / Certificate for mark sheets, certificates, and ID card scans that typically allow up to 200 KB.

Why does PNG sometimes produce a larger file than JPEG?

PNG is lossless — it stores every pixel exactly and cannot be compressed with a quality setting the same way JPEG can. For photographs, JPEG or WebP will produce much smaller files. Use PNG only when you need transparency or a pixel-perfect copy.

What happens if the image still can't fit within the target size?

The tool first runs a binary search on compression quality. If even the lowest quality setting exceeds the target, it progressively scales down the image dimensions (in 10% steps) until the file fits the limit.

What image formats are supported for upload?

Any format your browser can display — JPEG, PNG, WebP, GIF, BMP, AVIF, and SVG. The output can be saved as JPEG, PNG, or WebP.

Related Tools