Resize by pixels, percentage, or platform preset with contain/cover/stretch modes and upscale warnings.
Compress Image
Hit your size target with transparent quality control and a real before/after comparison.
Loading tool…
How to use compress image
Select an image; it decodes locally.
Choose an output format and quality, or set a target file size.
Compare original and compressed versions with the wipe slider.
Download — the size you saw is exactly the size you get.
What this tool does
- Quality slider with live re-encode and exact byte counts
- Target-size search that reports honestly when the target is unreachable
- JPEG, WebP, and PNG output
- Wipe-style before/after comparison at matched zoom
- Metadata stripped by default via clean re-encode
How the result is verified
The compressed bytes are re-decoded to confirm the image parses and dimensions match, and the displayed byte size is measured from the actual output blob.
Frequently asked questions
Why is my compressed file sometimes bigger?
Re-encoding an already optimized file can add overhead, especially for PNG. When output exceeds the original size, the tool flags it and recommends keeping the original or switching format.
Is my file uploaded to a server?
No. The file is opened with your browser's File API and processed by code running in your tab. You can confirm this yourself: open your browser's developer tools, watch the Network panel, and process a file — no request carries your file's bytes. See our How it works page for a step-by-step verification guide.
Is there a file size limit?
There is no artificial upload limit because there is no upload. Practical capacity depends on your device's memory and your browser. Very large files may be slow or fail to decode on low-memory devices; if that happens the tool fails safely without altering your original file.
Task-specific versions of this tool
The same local tool, preconfigured for a specific job.
Related tools
PNG, JPEG, and WebP conversion with explicit transparency handling and per-file batch results.
Inspect EXIF, GPS, and device fields grouped by risk, then export a stripped copy that is rescanned to prove it.