ToolKit

Compress Image to a Target Size (KB)

Select an image, set the target file size, and download the compressed result. Everything happens locally in your browser — no file is ever uploaded.

Advertisement Space
(以后把谷歌给的广告代码粘贴在这个div里面,把这段文字删掉)

How to use this tool

Click "Choose an image" and pick a JPG, PNG or WebP file from your device. Enter the file size you need in kilobytes (for example, many online forms require a photo under 50KB or 100KB). Then click "Compress Image". The tool automatically reduces the image quality and, if necessary, the dimensions until the file fits under your target size. Once done, a preview appears with a download button.

All processing is done with your browser's built-in Canvas API, so your photo never touches a server. This is especially important for documents like ID photos, passport photos or application uploads.

Frequently asked questions

Will the image quality drop?

Yes, compressing a file always reduces quality to some degree. The tool finds the highest quality that still meets your target size, so the result is as sharp as possible. If your target is very small, the tool will also reduce the resolution.

Does it support PNG and WebP?

You can upload PNG and WebP files, but the output is saved as JPEG for maximum compression. If you need a transparent background, PNG compression is not supported by this tool.

Are my images uploaded to a server?

No. The entire compression process runs locally in your browser using JavaScript. Your files never leave your device.

Why can't the tool reach my target size?

If the target is extremely small, the tool reduces resolution as far as possible. Some images (for example, very detailed photos) may still not fit under extremely small targets. In that case, try a slightly larger target or crop the image first.