Many upload forms reject a photo that is even slightly over the limit. This tool compresses a JPG, JPEG or PNG image to about 40KB. It is commonly used for photo uploads that must stay between 20KB and 50KB.
The compressor searches for the JPEG quality that lands closest to 40KB, so you keep as much detail as the limit allows.
Upload the photo, keep the target at 40 KB and click Compress & Download. The saved file will be very close to 40KB. If your form is strict about the limit, set the target a few KB lower.
For normal photos the difference is hard to notice at 40KB. Very large images lose more detail, so resize them first if needed.
No. The image is compressed inside your browser and the file stays on your device.