Lighter images, nothing uploaded
Drop JPEG, PNG or WebP, compare before and after, and download only what got smaller.
or drop here, or paste with Ctrl+V. JPEG, PNG and WebP.
For PNG, quality sets the number of colors: {n}.
No images yet. Files stay on your device.
How to compress
Tap Choose images (or drag and drop, or paste with Ctrl+V) and pick one or more JPEG, PNG or WebP files. Each is compressed right away. Every row shows the size before, the size after and the percentage saved; the status line above the list adds it all up. Changing any option redoes the whole list.
Two modes
In by quality mode you pick the number on the slider. For JPEG and WebP, 70 to 85 usually cuts a lot with no visible difference in photos. Below 50 you start to see blocks and smearing, and the comparison helps you find your own limit.
In by target size mode you say how big you want it: say 200 KB, or 40% of the original. The tool tries different qualities (binary search, at most 8 attempts) and keeps the highest quality that fits. If even the lowest quality cannot get there, it tells you and hands back the smallest result it found. In that case, also lower the max width.
How PNG works
PNG has no quality setting: it is lossless, and re-saving a photo as PNG almost never makes it smaller. So for PNG, the tool reduces colors: it merges similar shades into a palette of up to 256 colors (median-cut algorithm) and writes an indexed PNG. The quality slider then sets how many colors remain, and the hint under it shows the number. Logos, screenshots and illustrations lose little; photos and gradients can show visible banding. Dithering spreads the error across neighboring pixels and hides the bands, at the cost of a slightly larger file.
Reducing the width
The max width field resizes images larger than it, keeping the aspect ratio. For phone photos, going from 4000 px to 1600 px cuts the weight to a fraction and is rarely noticeable on screen. Images smaller than the value are not enlarged.
What the tool does not do
It never returns a file larger than the original: if the result is not smaller, the original is kept and the row says so. The result's metadata (EXIF), such as date, camera and location, is discarded; the photo's orientation is applied to the image. It does not read GIF, AVIF, HEIC or SVG, does not keep animations and does not touch the color profile. Lossy compression cannot be undone, so keep your originals.
Downloading
Each file has its own download button; with two or more, a ZIP of everything appears. By default the output has the same format as the input. With WebP, the same picture is usually smaller than JPEG or PNG, and current browsers support it.
Frequently asked questions
Are my images sent to a server?
No. Compression runs in your browser, using its own image features. You can even go offline after opening the page and it keeps working.
Why does PNG barely shrink if I only use the top quality?
Because PNG is lossless. At quality 100 the tool still uses 256 colors, which helps illustrations but not much for photos. Lower the quality to cut more colors, or switch the output to WebP.
What happens if the result is larger?
The original file is kept and the row shows a notice. You never download something bigger than what you put in.
What is the target size, and when is it not reached?
It is a limit in KB or as a percentage of the original. The tool looks for the highest quality that fits. If even the lowest cannot, it warns you and returns the smallest result possible; lowering the max width usually fixes it.
Does the photo data, like location, stay in the file?
No. Date, camera and location (EXIF) are dropped from the generated file, which also helps privacy.
How many images can I compress at once?
There is no fixed limit. Device memory is the limit: on older phones, work in smaller batches, especially with large photos.
Which browsers work?
Current ones: Chrome, Edge, Firefox and Safari. PNG color reduction needs CompressionStream; without it the PNG is just re-saved, and the row says so.