Compress Image to KB

ExactPDF Max
100% Private
100% Local
No Signups

Photo or signature to exact KB, as JPG

Shrink a photo or signature to 20 KB, 50 KB, 100 KB or any size for exam and government forms. Converts JPEG, JFIF, PNG, WEBP and HEIC (Safari) to JPG. Runs in your browser; the image is not uploaded.

Need the PDF under a limit too?

Compress PDF to 100 KB, 200 KB, 500 KB or any exact size.

Need this in a production workflow?

Use one-time API credits for automation, or Max for larger files, background jobs, batches, and PDF audio.

20 free test creditsTransparent meteringNo subscription required
Use the APIMax plans

Frequently asked questions

How do I compress a photo to 50 KB or 20 KB?

Choose the photo, tap a target such as 20 KB or 50 KB (or type any size), and press Compress. ExactPDF tries JPG quality levels and, only if needed, a smaller pixel size, and returns the best-quality JPG at or under your limit. The success message shows the exact byte count.

Can it convert JFIF, WEBP, PNG or HEIC to JPG?

Yes. The output is always a .jpg file, which most exam and government portals require. JPEG, JFIF, PNG, WEBP, GIF, BMP and AVIF open in any modern browser. HEIC iPhone photos open in Safari; in other browsers, share the photo as JPG first.

Is "KB" 1,000 or 1,024 bytes?

ExactPDF uses 1 KB = 1,000 bytes, so a 50 KB target means at most 50,000 bytes. That keeps the file under the limit on portals that use either definition.

Will my photo be cropped or stretched?

No. If you enter a maximum width and height, the photo is fitted inside that box with its proportions kept. For a passport-style crop to official dimensions, use the Passport Photo tool.

Is my photo uploaded?

No. Decoding, resizing and JPG encoding run in your browser, and re-encoding removes location and camera metadata from the output.

What if it cannot reach my target?

You will see the smallest size it reached instead of a false success, and no file is offered as meeting the limit. Allow a smaller pixel size or choose a larger target and try again.

Did this tool work for you?

Your feedback helps us improve. Approved comments appear on this page after moderation.

Tried this tool?

Your honest experience helps us find broken flows faster.

Overall rating
Did it meet your expectations?

Focus on the product experience, not document contents.

Do not include personal data or confidential document content.

Would you recommend this tool for a similar task?