Turn text or a URL into a static QR code and download it as PNG or SVG.
Image Compressor
Resize and compress a JPEG or PNG locally, then export WebP, JPEG or PNG.
How to use it
- Choose a JPEG or PNG within the displayed size and pixel limits.
- Select the output format, maximum long edge and quality. PNG ignores quality because it is lossless.
- Compress and compare the original and output sizes. Download only if the dimensions, appearance and size suit your task.
Examples
Reducing a large landscape photograph
- Input
- A 4,000 × 3,000 JPEG; long edge 1,920; WebP at 80% quality
- Result
- An output of 1,920 × 1,440 pixels. The tool reports its measured byte size; the saving depends on the image.
Quality, dimensions and file size
Resizing reduces the number of pixels. JPEG and WebP quality also trade visual detail for encoding size. There is no single quality setting that is best for every photograph, screenshot or illustration.
The maximum long edge preserves the aspect ratio and never enlarges a smaller image. PNG export is lossless after resizing, but browser PNG encoding does not guarantee a smaller file than the original. A larger output is explicitly reported.
Supported images and privacy limits
Input supports JPEG and PNG up to 10 MiB, 20 million pixels and 10,000 pixels per side. Dimensions are checked before browser decoding. SVG, GIF, animation and WebP input are outside this version’s supported input formats.
Processing uses the browser’s image decoder and canvas encoder, so output can vary between browsers. JPEG fills transparent areas with white. Canvas export discards source metadata such as EXIF; output is not a byte-for-byte preservation workflow. The file stays on your device until you choose a local download.
Questions, answered.
Can it guarantee a file below a specific size?
No. The encoder controls quality and dimensions, not an exact byte target. Adjust the settings and compare the measured output.
Why did my PNG become larger?
The source may already use an efficient encoder. Try a smaller long edge or WebP; keep the original if the output is not useful.
Are images uploaded?
No. File reading, decoding, resizing and encoding take place in this browser. No image-compression API is called.