Image compressor
Compress PNG, JPEG and WebP images locally with quality, dimension and optional file-size targets.
Text, files and images are processed in your browser and are not uploaded.
Result
Run the tool to see the result.
Result text
How to use
Choose a PNG, JPEG or WebP image up to 20 MB and 32 megapixels. Maximum dimensions preserve aspect ratio without enlargement. Quality applies to JPEG and WebP; PNG uses resizing or re-encoding. Optional target sizes use 1024 bytes per KB; further resizing is optional and the result reports whether the target was reached. Same-format output never exceeds the original size. If keeping the original would violate the requested dimensions and re-encoding is larger, an error is shown. JPEG uses the selected background for transparency. Re-encoding may remove metadata and exports one animation frame. Output is limited to 50 MB.