How Does Image Compression Work, and When Is It Useful?
Image compression shrinks a photo's file size using two techniques together: lossy re-encoding — formats like JPEG/WebP discard more detail as the quality percentage drops, shrinking the file more aggressively — and size reduction — lowering the image's pixel width/height (e.g. 4000×3000 → 1920×1440). This tool applies both techniques using your browser's canvas API and a web worker; you set the target file size (MB), and the tool gradually lowers the quality to try to reach that target.
The most common scenario is preventing a website from slowing down when uploading images — large, uncompressed photos directly affect page load speed. It's just as useful for shrinking a photo that exceeds an email attachment's size limit, meeting a KB limit on an application form (e.g. "photo must be under 200 KB"), or saving storage space on your phone. You can also drag and drop multiple photos at once for batch compression — each one is processed separately in its own row and can be downloaded individually or all together.
Tip: before lowering the quality too much, try reducing the "Max. width/height" value first — most use cases (web, email, forms) don't need an image larger than 1920 pixels, and reducing dimensions usually causes less visible degradation than lowering quality. At the same quality setting, WebP typically produces a smaller file than JPEG, though some older systems may not support WebP.
Your photos — whether an ID document, a family picture, or a work file — are never uploaded to a server; the entire compression process happens completely on your own device, inside your browser. This is an important privacy advantage, especially when shrinking sensitive document photos — unlike many online "photo resizer" sites, your file never touches a third-party server.
Try This Next
Finished here? These might be your next step.
Frequently Asked Questions
0.5 for 500 KB). The tool gradually lowers the quality to try to bring the file below that size.Last updated: