Make photos and graphics smaller as JPEG, WebP or PNG. Set a quality or a target size in KB, and compare the result with the original before you download.
Initializing in your browser…
Shrink SVG files by removing editor data, comments, metadata and extra precision, and check that the optimised file still draws exactly the same picture.
Convert SVG files to PNG, JPG or WebP at any size, sharp at every scale, with a transparent or coloured background and a live preview.
Resize one photo or a whole batch to exact pixels, a percentage or a social media preset, with fit, fill and crop, or stretch, and save as JPEG, PNG or WebP.
A 405 KB photo has to go into a web form that accepts at most 100 KB.
Input
sample-sunset.jpg, 1600 x 1067, 405 KB Target size: Email (100 KB)
Result
JPEG: 64% quality, 92.4 KB, likeness 0.826 WebP: 76% quality, 94.2 KB, likeness 0.848 Highest JPEG quality: 1,033 KB; lowest: 13.9 KB
The search first encodes at the lowest and highest quality to find the range this photo can reach (13.9 KB to 1,033 KB as JPEG), then keeps halving the range of qualities, ten test encodes in all. 64% is the highest JPEG quality that fits, and rounding it down keeps the file at 92.4 KB, safely under the limit. WebP compresses this photo more efficiently, so the same limit allows 76% quality and a slightly higher likeness score. The likeness values are modest because the sample photo carries deliberate film grain, which no compressor can keep cheaply.
Shrink a picture so it uploads faster, fits an email or a form limit, or loads quickly on a web page. Choose a quality and watch the file size change, or type a target such as 100 KB and let the tool find the highest quality that fits. A before and after slider shows exactly what the compression did.
Get under the size limit of a form, job portal, marketplace or email service.
Lighter pictures load faster, which visitors and search engines both notice.
Smaller copies of photos for sharing or for storage on a full phone.
See how far a photo can be compressed before the difference shows.
A 405 KB 1600 by 1067 JPEG needs to be under 100 KB. Target size finds 64% quality and a 92 KB file after ten test encodes; as WebP the same target allows 76% quality, which looks a little better.
Saving the same photo as JPEG at 80% gives 159 KB, 61% smaller than the original, with a likeness of 0.85 on a deliberately grainy sample.
A 4000 pixel photo will not get under 250 KB without looking blocky. Cap the longest side at 2048 pixels under Reduce dimensions: a quarter of the pixels, so the target can be met at a much higher quality.
Two ways to compress. With Quality you set the JPEG or WebP quality and see the result straight away; 70 to 85% suits most photos, and the presets jump to 95, 85, 75 and 60%. With Target size you pick Email (100 KB), Social (250 KB), Web page (500 KB) or Large (1 MB), or type any size, and the tool tries qualities in turn, halving the range each time, until it finds the highest one whose file fits. The quality it settles on is rounded down, so the file you download is never over the target.
The size shown is the real file. Every change makes the actual compressed file in the background, so the Compressed figure is the size of the file you will download, to the byte, not an estimate. The tool also opens the compressed file again and compares it with the original, pixel by pixel. The likeness figure is SSIM, a standard measure of how similar two pictures look, where 1 means identical; above about 0.95 differences are hard to see at normal size. Measurements and metadata adds PSNR and how many pixels changed.
Choosing a format. JPEG is the safe choice for photos and opens everywhere. WebP is usually smaller at the same quality and keeps transparency. PNG keeps every pixel exactly, so it has no quality setting and suits screenshots and graphics; a photo saved as PNG usually gets bigger, and the tool warns when a result is larger than the original. When a picture has transparent areas and you choose JPEG, they become white, and the tool says so.
When quality is not enough. If a target cannot be reached, the tool says how small the format can go at this size. The answer is then fewer pixels: under Reduce dimensions you can cap the longest side, with a choice of resampling filter and an option that keeps fine detail from darkening. A 4000 pixel phone photo shown on a web page at 1200 pixels wide carries far more data than it needs.
Privacy and metadata. Compression happens in your browser; nothing is uploaded. The compressed file does not keep camera details, GPS location or other metadata from the original, and a photo marked as rotated is saved the right way up.
For photos, 70 to 85% is usually indistinguishable from the original at normal viewing size. Go lower for thumbnails, higher for pictures people will zoom into. Use the slider and the before and after view to judge your own picture.
It compresses the picture at the highest and lowest quality first, then keeps halving the range of qualities, about ten test encodes in all, until it finds the highest quality whose file fits. The quality is rounded down, so the download is always at or under the target.
Either the format was PNG, which cannot compress photo detail the way JPEG does, or the original was already compressed more strongly than the quality you chose. Pick JPEG or WebP, or lower the quality.
Every format has a floor for a given number of pixels. When the lowest quality is still too big, the tool says so; reduce the dimensions or switch from PNG to WebP or JPEG.
Usually smaller at the same quality, and it keeps transparency. On the sample photo at a 100 KB target, WebP fits at 76% quality where JPEG needs 64%. Every current browser opens WebP, but some older apps do not.
Yes. The picture is re-encoded, so camera details and GPS location are not carried over. To remove metadata without recompressing, use the Image Metadata Remover.
No. Compression and the comparison both run in your browser.
Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.