Skip to content
100% local

Image compressor

Make a photo smaller by re-encoding it as WebP, JPEG or PNG, and see exactly how much you saved.

Input
80
Output

Image compressor

Choose a picture, set the quality and press Compress. The page redraws the image in your browser and saves it again as WebP, JPEG or PNG, then shows the original size, the new size and the percentage saved. Phone photos of several megabytes commonly shrink to a few hundred kilobytes with no visible change, which is what you want before attaching them to an email, uploading them to a form with a size limit or putting them on a web page.

WebP is the default because it gives the smallest file at a given look. JPEG is the safe choice when the picture must open everywhere. PNG is lossless, so it ignores the quality slider and is best for screenshots, logos and anything with sharp edges or transparency. Lower the slider for a smaller file and raise it if you can see blocks or smeared detail. Compression runs when you press the button, not while you drag, so a very large photo never stalls the page.

Be aware of what re-encoding does. It is lossy for WebP and JPEG, so compressing the same file again loses a little more each time. It removes metadata such as camera model and GPS position, which is usually a bonus before sharing. It does not resize: use the image resizer for that, since reducing the pixel dimensions saves far more than quality alone. If the result is larger than the original, the report says so, and you should keep the original.

The picture never leaves your device. It is decoded and re-encoded locally, there is no upload and no size quota, and the download is created in memory. You can also type two file sizes, such as 1.8 MB 420 KB, to work out the saving between any two files.

FAQ

Which quality setting should I use?
Between 70 and 85 is a good start for photos. Lower it until you can see the difference, then go back up a little. PNG is lossless and ignores the setting.
Why did my file get bigger?
An already well-compressed image, or a PNG saved from a small screenshot, can grow when re-encoded. The report flags it with a warning. Keep the original in that case.
Does it remove the location and camera data?
Yes. Re-drawing the picture on a canvas drops EXIF data, including GPS coordinates, in the saved copy.
Is my image uploaded anywhere?
No. The image is processed entirely in your browser and never sent to a server.