About CompressKit

CompressKit is a free, browser-based image compressor that hits an exact target file size — whether you need 20KB for a visa photo, 100KB for a job application, or 1MB for a web hero image.

Why we built it

Online forms worldwide enforce hard file-size limits, and most online compressors either don't let you specify an exact size or upload your image to a server. We wanted a tool that (a) hits your target precisely and (b) never sees your image. Everything runs locally in your browser via the Canvas API.

How it works

The compressor runs a binary search over JPEG quality (0.01–1.0). For each quality value it draws your image to a canvas, encodes a JPEG blob, and checks the size. If the blob is too big it lowers the quality; if too small it raises it. In 7–12 iterations it converges on your target. If quality alone can't reach a very small target, it progressively downscales the image and retries.

Privacy

No upload. No server. No storage. No account. Your image is processed in your browser's memory and discarded when you close the tab. See our privacy policy.

Contact

Questions or feedback: [email protected]