JPEG Compressor – Hit Any Exact File Size Free Online 2026

Your photo never leaves your device — processed entirely in your browser.

Loading tool, please wait…

The fastest way to compress a JPEG to an exact KB target

Government portals — UPSC, SSC, Kerala PSC, Sarathi, Passport Seva — all have specific file size limits. The most common failure when filling out exam applications is a photo that is "file too large." This tool compresses your JPEG to any target size you specify — 20 KB, 50 KB, 100 KB, or any custom value — using a binary search algorithm that finds the exact quality setting needed. No manual trial and error, no repeated uploads. Set the target, click compress, done.

How This Tool Works

ParameterRequirement
InputJPG or PNG (PNG is converted to JPG)
OutputJPEG at target file size (±1 KB precision)
MethodBinary search on quality parameter (16 iterations max)
Presets20, 30, 50, 100, 200, 300 KB — or custom value
DimensionsOriginal dimensions preserved (no resizing)

How to use this tool

  1. 1

    Upload your image (JPG or PNG). PNG files will be converted to JPEG for output.

  2. 2

    Select a preset: 20, 30, 50, 100, 200, or 300 KB. Or type any custom KB value in the field.

  3. 3

    Tap "Compress." The binary search runs up to 16 iterations to find the quality that produces a file at or below your target.

  4. 4

    Check the output stats — original KB, compressed KB, and reduction percentage.

  5. 5

    Download your compressed JPEG.

Which preset to use for common portals

Different government portals use different limits. Here are the common ones so you can pick the right preset without reading the fine print each time:

  • UPSC: Max 300 KB (use 200 KB preset for comfort)
  • SSC GD: Max 50 KB for photo, 20 KB for signature
  • Kerala PSC: Max 30 KB (use 20 KB preset)
  • Passport Seva: Max 100 KB (use 100 KB preset)
  • Sarathi: Max 50 KB (use 50 KB preset)
  • Aadhaar upload: Usually 300 KB (use 300 KB preset)

If you are compressing for a portal not listed here, check the application form for the exact limit, then type that number in the custom KB field.

FAQs

Frequently asked questions

Share:WhatsAppTwitter/X