Compress an image to exactly 200 KB
Hit any file-size limit — 100 KB, 200 KB, or your own target — entirely in your browser.
We keep the highest quality that still fits under your target.
Drop an image to compress
JPG or PNG · up to 15 MB
or press ⌘/Ctrl V to paste · drag anywhere
Frequently asked questions
How private, client-side compression works.
Absolutely secure. Unlike other online compressors, OptiShrink performs 100% of its computations directly inside your web browser. No files are ever sent to a server. You can even disconnect your internet entirely after opening this page and the compressor keeps working perfectly offline.
It runs a fast binary-search in JavaScript. Your image is drawn to an HTML5 canvas, then re-encoded at different quality levels: too big lowers the quality, too small raises it — settling on the highest quality that still fits under your target, in milliseconds.
Yes — upload JPG, JPEG or PNG. Because PNG has no lossy quality control, the tool exports the optimised result as JPEG to reach small target sizes while keeping text and detail readable.