Compress image to 40 KB

Fit a photo or signature within a 40 KB form limit.

Enable JavaScript in your browser to use this tool.

Compress image to 40 KB help

Choose a photo or signature and fit it within 40 KB. Some online forms ask for a photo under 40 KB. The result is a JPG, and the page tells you if it could not reach the limit.

How to use Compress image to 40 KB

  1. Choose the photo that must be under 40 KB.
  2. Keep the 40 KB target, or type the exact limit.
  3. Click Compress image and wait while it finds a fit under 40 KB.
  4. Make sure the face looks sharp in the preview, then download the JPG.
Options explained
Choose a target file size
Starts at 40 KB. Pick a different quick size or type the exact limit in KB. Sizes use 1024 bytes per KB.
Limits and supported files

JPG, PNG and WebP images. The result is always a JPG. See-through areas in PNG or WebP become white.

A target size is an aim. A detailed photo may need fewer pixels to fit, and very small targets can make faces or text hard to read.

Photos above about 16.7 million pixels are reduced to that size first. Choose up to 100 images at a time.

Tested in Chromium, Firefox and WebKit.

Questions

Will a passport photo look good at 40 KB?

Usually, yes. A head-and-shoulders photo keeps good detail at 40 KB. Check the preview before you send it with your form.

My form asks for 20 to 50 KB. Is 40 KB a good choice?

Yes. 40 KB sits inside that range, and the tool stays just under the number you enter.

Does the 40 KB result keep the photo's shape?

Yes. If the pixels need to shrink, width and height shrink together, so the photo is not stretched.

Is my photo sent anywhere when I compress it to 40 KB?

No. Your browser does the work on this device, so the photo is never uploaded.

Your files are processed on your device. Verify it yourself. Read our privacy policy for details about website analytics and saved settings.