Compress Image
Compress images in your browser with a live quality slider and side-by-side size comparison. Free, unlimited, and never uploaded.
Runs entirely in your browser — no uploadsAbout this tool
Compress Image shrinks a JPG, PNG, or WebP picture by decoding it to a canvas and re-encoding it at a quality you choose, with the original and compressed sizes shown side by side before you download. This is a practical step whenever a photo is too big to email, upload to a job portal, publish on a web page, or send in a chat app.
How to use it
Drop in one image (up to about 50 MB). The panel shows the original size and the compressed size as you move the quality slider, so you can trade file size against visible quality in real time. Optionally enable Resize to cap the width in pixels — scaling down also cuts size. Choose JPEG or WebP output, then download the result.
What happens under the hood
Your image is decoded into a canvas and re-encoded with the browser’s built-in encoder at the selected quality. PNG input is flattened onto white, or kept transparent where the output format allows it (WebP preserves alpha; JPEG does not). Photos typically shrink 60–90% at medium quality because they contain smooth gradients that compress well; flat graphics with sharp edges compress less.
Limitations and edge cases
Quality is a trade-off: low settings create small files but visible artifacts, especially around text and edges; 0.6–0.8 is usually indistinguishable from the original on screen. Re-encoding also strips metadata such as EXIF, which is good for privacy but removes camera info. Animated images are not supported — only the first frame is processed. If a file is already aggressively compressed, you may see little gain; compare sizes before downloading.
Practical example: a phone photo from a recent trip is 8 MB, but a job portal allows at most 2 MB. Open the photo here, drop quality to medium, optionally resize to 1600 px wide, and watch the live size readout until it fits under the limit — then download and upload with confidence.
For email, most providers reject attachments above 25 MB, so compressing a handful of photos before attaching them avoids bounced messages. For web publishing, a compressed WebP often looks identical on screen while weighing a fraction of the original JPG, which keeps pages fast.
Privacy: decoding and encoding happen entirely on your device via the Canvas API. Your photo is never uploaded or stored, and the tool works offline once loaded.
Related: Convert Image Format · Resize Image · Crop Image · guide: Choose JPG, PNG, or WebP · article: Preparing images for email, job portals, and the web