Online Image Compressor (JPG, PNG, WebP)
Reduce JPG, WebP, or PNG image file size with a live quality slider and optional width scaling directly inside your browser.
Methodology, Worked Example & Limitations
Verified technical behavior of Image Compressor on Fuzengine Tools.
What It Does & Who Uses It
Decodes your local image onto a scaled HTML5 Canvas, optionally downscaling images wider than your chosen pixel ceiling while preserving aspect ratio, and calls canvas.toBlob(mime, quality/100) locally to stream live compressed byte size and visual preview.
Built for: Students uploading passport/form photos under KB caps, bloggers optimizing LCP hero images, and ecommerce sellers.
Worked Example
A 4032 × 3024 3.4 MB smartphone JPEG downscaled to Max 1280px wide in WebP at 80% quality shrinks cleanly under ~120 KB.
Understanding the Output: Note that switching a photo to lossless PNG ignores the quality slider; selecting JPEG or WebP unlocks lossy byte compression.
Formula & Processing Method
If natWidth > maxWidth, ratio = maxWidth / natWidth; output size = round(natWidth × ratio) × round(natHeight × ratio). JPEG/WebP quality slider maps 10..100 to 0.10..1.00.
Known Limitations & Scope
Re-saving an already-compressed JPEG as lossless PNG increases file size rather than shrinking it. Switching to Keep as JPG or WebP (Smallest) achieves dramatic KB reductions. Canvas also strips EXIF metadata automatically.
See also: All Image Tools · Full Privacy Spec
Frequently Asked Questions
Why does moving the quality slider not shrink a PNG file?
PNG is inherently lossless, so browsers ignore the quality parameter on PNG exports. Pick "WebP (Smallest)" or "JPG" under Output Format to enable compression or set a lower Max Width.
Does compressing remove camera GPS location too?
Yes. Redrawing through HTML5 Canvas removes EXIF/GPS metadata blocks alongside shrinking file size.