Image Compressor
Drop a JPEG or WebP photo, drag the quality slider, and download a much smaller file — all computed on your own machine. Unlike most "image optimizer" sites, nothing is ever uploaded.
JPEG / WebP / PNG (PNG becomes JPEG — use it for photos)
How browser-side compression works
When you pick a file, the page reads it locally, paints it onto an off-screen <canvas> (optionally downscaling it to your chosen max width), and re-encodes it through the browser's own JPEG/WebP encoder. Quality 70-80 is the sweet spot for photographs: viewers rarely see a difference, while file size often drops 60-90%. WebP usually beats JPEG at the same visual quality, and every modern browser can both encode and display it today.
Because the pipeline is purely local, this workflow is safe for images you would never want on a third-party server: passports, invoices, medical images, unreleased product photos. A good rule of thumb for the web is to keep hero images under 200 KB and thumbnails under 40 KB — resizing to the width you actually display matters even more than the quality slider.
FAQ
- Do you keep a copy of my images?
- Impossible — there is no upload endpoint on this site. The image bytes only ever live in your browser's memory.
- Why does my PNG become JPEG?
- PNG is lossless and stays huge for photographs. JPEG/WebP are the right formats for photos; keep PNG for flat graphics with transparency.
- What quality should I pick?
- Start at 70. Drop toward 50 for email attachments; stay at 80+ for anything that will be printed or zoomed.