Image Compressor
Reduce image file size by adjusting JPEG and WebP quality, with a live before-and-after comparison and an exact size readout. The picture is decoded, re-encoded and never uploaded.
- Runs in your browser
- Accepts: JPG, PNG, WebP
- Produces: JPG, WebP
- Max file size: 30 MB
- Free · No sign-up
Loading the tool…
How to use image compressor
- Drop a JPG, PNG or WebP file, or choose one from your device.
- Move the quality slider until the size and preview look right.
- Choose the output format and download the compressed picture.
Practical examples
A 4 MB phone photo for a job application
Photographs straight from a phone are usually 3–6 MB. Re-encoding at JPEG quality 70 typically lands between 300 KB and 800 KB while staying sharp on screen.
Limitations to know about
- Re-encoding removes camera metadata (EXIF), including GPS location. Keep the original if you need it.
- PNG images with smooth gradients may look banded at the lowest quality settings because PNG is lossless and the browser re-encodes it to a reduced palette only when you pick WebP.
- An exact target size cannot be guaranteed at a fixed quality. Use the target-size compressor when a portal demands a specific limit.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Frequently asked questions
Is my photo uploaded anywhere?
No. The file is read with a local object URL and re-encoded with the browser Canvas API. Nothing is sent over the network.
Why is the compressed file sometimes larger?
PNG has no lossy quality setting. Converting a small PNG to JPEG or WebP usually helps; otherwise the original is already efficient and should be kept.
Related tools
All image toolsVersion 1.0.0 · Last updated 2026-12-06 · Processing: local browser