Compress Image
Compress JPEG, PNG, WebP and other browser-decodable images by adjusting quality and dimensions without uploading them.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Drop files here, or browse
Accepts: image/*
Files stay on your device.
Ctrl+V to paste an image
Options
Automatic keeps JPEG as JPEG, or switches everything else to WebP for the smallest size.
Drop files above to begin
Your files are processed on this device and never uploaded.
How it works
What image compression does here
Decode a JPEG, PNG, WebP or any other browser-decodable image, redraw it at an optional capped width, and re-encode it to JPEG, WebP or an automatic pick. Batch input is accepted, each file is written with a -min suffix, and the run reports total original bytes, output bytes and an overall ratio.
When to shrink an image
Use it to fit photos under an upload form size limit, or trim bulky PNG screenshots to WebP for a web page. Handling several files together makes it practical to prepare a whole folder rather than compressing one image at a time.
The controls that matter
Quality runs from 10 to 100 percent and sets the encode target. The maximum width downscales while preserving aspect ratio, with zero keeping the original size. Format chooses JPEG or WebP, or Automatic which keeps JPEG as JPEG and switches everything else to WebP.
Caveats and limits
Source dimensions count against a canvas pixel budget and throw when exceeded. If the re-encoded blob is not smaller than the original, the original is kept instead. Metadata stripping is unavoidable during re-encoding, so disabling the option simply records a warning.
Nothing is uploaded
Decoding, downscaling, flattening and re-encoding all run on your device through the canvas and image APIs, so your photos never leave the tab and the compressor keeps working offline.
Questions
What happens if compression makes the file bigger?
The re-encoded blob is compared with the original and discarded if it is not smaller, so the source file is kept with a warning instead of an inflated result.
Can I keep the camera and GPS metadata?
No. Redrawing through the canvas always drops metadata such as GPS and camera details; turning the strip-metadata switch off only adds a warning explaining it cannot be preserved.
Which formats can I export?
JPEG, WebP, or automatic, which keeps JPEG sources as JPEG and converts everything else to WebP for the smallest result.
Can I compress several images at once?
Yes. The tool accepts multiple files and reports the total original and output bytes with an overall ratio.
Related tools
See categoryResize Image
Resize images by percentage or to exact dimensions, entirely in your browser.
Convert Image Format
Convert images between PNG, JPEG, WebP, AVIF and BMP in your browser.
Add Text to Image
Write captions and meme text on an image: fonts, outline, shadow, drag to place.
Blur & Redact Image
Blur, pixelate or black out parts of an image and export a clean copy with no metadata.