About this tool
Image compressor, explained
This image compressor makes photos and graphics lighter by re-encoding them as WebP, JPEG or PNG at the quality you choose, and can resize them at the same time. It handles many images at once, entirely in your browser: your files are never uploaded.
How to use it
- 1Drop, paste or choose images. Add as many as you like; a sample image stays in place until you add your own.
- 2Pick a Format (Same format, WebP, JPEG or PNG) and move the Quality slider. Lower values give smaller files.
- 3To resize, pick a Max width (2560, 1920, 1280 or 800) or type a Width and Height in pixels. Add a File name suffix such as -min if you want one.
- 4Drag across the preview to compare the original and the compressed image at Fit or 100%, then download each file or click Download all (.zip).
How it works
How the compression works
Your browser decodes each image, draws it onto a canvas and encodes it again in the format you picked. For WebP and JPEG, the quality setting from 10 to 100, 75 to start, controls how much detail the encoder keeps; PNG is lossless, so the slider is turned off. Same format keeps JPEG, PNG and WebP files as they are and turns a GIF or other format the browser cannot write into WebP. Transparent areas are filled with a color you choose when saving to JPEG, which has no transparency.
Resizing keeps the proportions and never enlarges an image. When "Keep the original when it is smaller" is on and you have neither resized nor changed the format, a file that would grow is left as it was and marked "original kept". If your browser cannot write the format you asked for, the file gets the format it actually produced and the matching extension.
Each file shows its size before and after, and the summary adds up the batch. A saving can be negative, as an already optimized image can grow when converted, and the tool shows it. Sizes use base 1000, so 1 KB is 1,000 bytes, as most browsers and operating systems display them.
When to use it
Ways people use it
Speed up a website
Resize photos to 1920 or 1280 pixels wide and convert them to WebP before uploading them to your site or CMS.
Meet upload limits
Bring a photo under the size limit of a form, a marketplace listing or an email attachment.
Process a whole folder
Drop a batch of product photos or screenshots, compress them with the same settings and download them in one ZIP file.
Share images privately
Compress screenshots or documents that should not be uploaded to an online service.
FAQ
Questions people ask
Is it safe to compress images online?
With this tool the images are processed by your own browser and never leave your device. That makes it suitable for screenshots, documents and personal photos.
WebP or JPEG: which should I use?
WebP usually produces smaller files than JPEG at similar visual quality and supports transparency, and all major browsers display it. JPEG remains the most widely accepted format, which matters for older software or upload forms that reject WebP.
What quality setting should I use?
Start at the default 75 and compare both sides of the preview at 100%. If you cannot see a difference, try lower. Photos usually tolerate lower settings than images with text or sharp edges.
Why did my image get bigger?
An image that is already compressed, or a simple graphic saved as PNG, can grow when converted to another format or saved at a high quality. Try a lower quality or a smaller size. With Same format and no resizing, the tool keeps your original file in that case.
Does compressing remove photo metadata?
When an image is re-encoded, the new file is rebuilt from the pixels drawn on the canvas, so camera metadata such as EXIF data and GPS location is not copied into it. If the tool keeps your original because it was already smaller, that file is unchanged, metadata included.