Image Compressor
Compress JPEG, PNG, or WebP images with a quality slider and optional max-dimension cap, with a side-by-side preview.
Processed locally in your browser — nothing is uploaded.
Image Compressor
Files are processed entirely in your browser — nothing is uploaded to any server.
About Image Compressor
Load an image, drag the quality slider, and watch the file size drop. An optional max-dimension cap scales oversized photos down at the same time, which is usually where the biggest savings come from.
Output is re-encoded to JPEG or WebP on a canvas in your browser. The original and compressed versions are shown side by side with their sizes and the percentage saved, so you can pick the lowest quality that still looks right.
Common uses
- Get a photo under an email or form upload limit
- Prepare images for a web page without a build pipeline
- Turn heavyweight PNG screenshots into small WebP files
Example
Input
3.8 MB JPEG photo, quality 70, max dimension 1920
Output
Roughly 300–500 KB JPEG, ~90% smaller
Limitations
- JPEG and WebP are lossy — inspect the preview before using low quality values.
- PNG input with transparency keeps its alpha only when WebP output is chosen.
Frequently asked questions
Do my images get sent to a server for compression?
No. The image is re-encoded on a canvas entirely in your browser; it is never uploaded or stored anywhere, which matters when you are compressing personal photos or work screenshots.
What quality setting should I use when compressing a photo?
For photos, 70–85% is usually the sweet spot where artifacts are hard to notice but files shrink dramatically; the tool defaults to 75%. Use the side-by-side preview to find the lowest value that still looks acceptable for your image.
Why is my compressed image larger than the original?
Re-encoding an already well-compressed file at a high quality setting can produce a bigger file, because you are paying encoding overhead without discarding much data. Lower the quality slider or set a max dimension — downscaling oversized photos is where the biggest savings come from.
Does compressing an image reduce its resolution?
Not by default. The quality slider only changes how aggressively pixels are encoded, keeping the original dimensions; the resolution changes only if you set the optional max-dimension cap, which scales the longest side down to that value.
Can I compress a PNG and keep its transparency?
Only if you choose WebP as the output format, which supports an alpha channel. JPEG output has no transparency, so transparent areas are lost when a PNG is re-encoded as JPEG.