UTILS.
Private by default
px

Image Compressor & Resizer

Shrink JPEG, PNG and WebP files right in your browser. Nothing is uploaded.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

Your images stay on this device. Nothing is uploaded.

Try a worked example

Example

Choose a 2400 × 1600 JPEG, set Width to 1200 and Quality to 80%, then choose Create result. The result is a 1200 × 800 JPEG. Compare the actual file sizes before downloading.

Keep in mind

Aspect ratio is preserved. Images are not enlarged. PNG preserves transparency. Quality does not apply to PNG. Changing the image or its settings clears the previous download so the saved file always matches your current edits. File size can increase; compare the actual result before choosing which version to keep. Exports a still image. Animation is not preserved; SVG is converted to pixels.

About this tool

Choose an image to see it immediately. Set its width, output format and quality. The height adjusts automatically to preserve its shape. Create a result to inspect its actual dimensions and file size.

Changing the image or its settings clears the previous download so the saved file always matches your current edits. File size can increase; compare the actual result before choosing which version to keep.

Exports a still image. Animation is not preserved; SVG is converted to pixels.

Your images stay on this device. Nothing is uploaded.

A real photo, resized without an upload

This mountain photo is a reproducible example, not a promise about every image. We prepared the source JPEG at 2400 × 1600 pixels. In the tool above, choose 1200 px maximum width and 80% JPEG quality, then create the result. The downloaded JPEG measured 1200 × 800 pixels.

Cloudy mountains and green meadow before resizing, 2400 by 1600 pixels
Before: 1,089,495 bytes (2400 × 1600). Download the exact source JPEG to repeat the test.
The same mountain and meadow photo after resizing, 1200 by 800 pixels
After: 180,931 bytes (1200 × 800), an 83.4% reduction for this one source and browser run. Download the captured output JPEG.

Inspect your result at its intended display size before downloading. The smaller file may lose fine detail, and other browsers or photos may produce different sizes. PNG keeps its PNG format here; the JPEG quality setting does not shrink PNG. The original file stays on your device. Need a different format? Try Convert to WebP. Need to remove location or camera metadata? Use Remove EXIF separately.

The displayed previews may be recompressed by the site's CDN, so their transfer sizes can differ from the figures above. The two download links serve the exact JPEG bytes used for this comparison. Photo: www.Pixel.la Free Stock Photos, via Wikimedia Commons, CC0. We cropped and resized the public-domain original to prepare the downloadable source JPEG.

Frequently asked questions

Are my images uploaded to a server?
No. Compression happens locally using the HTML canvas, so your photos never leave your device.
Which formats are supported?
JPEG, PNG, WebP, GIF, BMP or SVG · up to 25 MB and 16 megapixels Choose an image and select JPEG, PNG or WebP. For JPEG, choose a background for transparent areas. Create a result to compare the actual image and file size before downloading.

More tools