Image Compressor
Compress JPEG, PNG and WebP images with MozJPEG, OxiPNG and libwebp — the same codecs professional optimization tools use. Everything runs in your browser, so your images are never uploaded.
Processed on your device
Your image is processed locally in your browser and isn't uploaded to EditVaultz for compression.
Drop an image here or click to browse
JPEG, PNG or WebP — up to 50 MB
What this image compressor does
It re-encodes your image with a more efficient encoder so the file gets smaller while looking as close to the original as possible. You can also resize an image and convert it between JPEG, PNG and WebP. Smaller images mean faster page loads, quicker uploads and less storage — which matters whether you are publishing a thumbnail, attaching a reference frame or shipping assets to a client.
Supported formats
- JPEG
- Encoded with MozJPEG using progressive scans and optimized Huffman tables — typically smaller than a browser’s own JPEG encoder at the same quality.
- PNG
- Compressed losslessly with OxiPNG. Pixels stay bit-for-bit identical, and transparency is preserved.
- WebP
- Encoded with libwebp, the reference WebP encoder. Supports transparency and usually beats JPEG at a comparable quality setting.
How the compression works
Your browser decodes the image natively, which also applies the EXIF orientation that phone cameras record, so photos are not rotated incorrectly. If you asked for a smaller size, the image is scaled with high-quality smoothing — and for reductions beyond 4× it is scaled in two steps, which avoids the harsh aliasing a single large downscale can produce. The resulting pixels are then handed to a WebAssembly build of the appropriate encoder, and the encoded bytes become a local download.
For JPEG and WebP, compression is lossy: the quality value decides how much detail is discarded. For PNG it is lossless, so the optimization level only changes how long the encoder spends looking for a smaller file.
Private by design
Most online compressors upload your file to a server, process it there and send it back. This one does not. The codecs are downloaded to your browser and run locally, so your image data never leaves your device — there is no upload step, nothing is stored, and the tool keeps working if you go offline after the page has loaded.
Which compression mode to use
- Balanced
- Quality 75 for JPEG and WebP. The setting to reach for when you want a clearly smaller file that still looks right at full size.
- Maximum Quality
- Quality 92. Best for images you will crop, grade or re-edit later, where you want to keep as much detail as possible.
- Maximum Compression
- Quality 50 and the highest PNG effort level. Best for thumbnails, previews and anything where load speed matters more than fine detail.
- Custom
- Type or drag an exact value. Quality runs 1–100 for JPEG and WebP; PNG exposes an optimization effort level of 1–6 instead, because PNG output is always lossless.
Frequently asked questions
Are my images uploaded to a server?
No. Compression runs entirely in your browser using WebAssembly. Your image data is never sent to EditVaultz or any third party, which also means the tool works offline once the page has loaded.
Which image formats are supported?
You can compress JPEG, PNG and WebP files, and convert between those three formats. Files are validated by inspecting their actual bytes, not just the file extension.
Does compressing a PNG reduce its quality?
No. PNG compression here is lossless — the pixels stay identical. The optimization level only changes how hard the encoder searches for a smaller file, which affects processing time rather than image quality.
What happens to transparency if I convert a PNG to JPEG?
JPEG cannot store transparency. If your source image has transparent areas and you choose JPEG output, those areas are flattened onto a white background. The tool warns you before this happens.
Why is my compressed file sometimes larger than the original?
If the original was already well optimized, re-encoding it can add bytes. The tool measures both files and tells you plainly when the output is larger, so you can keep the original instead.
Is there a file size limit?
Files up to 50 MB and roughly 100 megapixels are accepted. The limit exists because a compressed image expands to width × height × 4 bytes in memory while being processed, which can crash a browser tab on large images.