Image Compressor
Your files never leave your device — processing happens in your browser.
How to compress an image
Upload a photo by clicking the box above or dragging the file onto it. The picture appears on the left, with its size in pixels and its file size underneath. Move the quality slider to choose how much to shrink it. For most photos, a quality of 70 to 85 keeps the picture looking good while cutting the file size a lot. You can also pick a target instead: Under 100 KB for a small photo you want to email or send in a message, or Under 200 KB for a larger photo. With a target set, the tool tries your quality first, then steps the quality down in a loop until the file fits under the target, or until the quality cannot go any lower. Press Compress image and the result appears next to the original, with both file sizes shown underneath, so you can see exactly how much smaller it became. Choose JPG for the widest support, WebP for the smallest file in most modern browsers, or PNG if you need a lossless copy. Press Download compressed image to save the finished file.
Why compressing an image helps
Photos from a phone or camera are often several megabytes, which makes them slow to send by email, slow to upload to a social app, and quick to fill up storage. Many email services limit attachments, and messaging apps often shrink photos on their own, with no control over the result. Compressing first gives you that control: you choose the quality, you see the new file size before you download, and the picture stays the same size on screen. A typical phone photo can drop to roughly a tenth of its size at a quality of 80, with no difference you can see. The picture itself does not change — only the file gets smaller, because compression throws away detail your eyes would not notice. PNG files are different: PNG is lossless, so it keeps every pixel exactly and the quality slider cannot shrink it. If a PNG will not get smaller, save it as JPG or WebP instead. Always keep your original photo. Compressed images are meant for sharing and uploading; if you later need the photo for print, you will want the full-quality original back.
Frequently asked questions
What happens if my image will not fit under 100 KB?
The tool steps the quality down in a loop until the file fits under the target, or until the quality reaches its lowest level. If the result is still over the target, the message says so — try a smaller image, or save it as WebP, which usually gives a smaller file than JPG.
Should I choose JPG, WebP or PNG?
JPG is the safest choice and works everywhere. WebP usually gives a smaller file than JPG at similar quality, and most modern browsers support it. PNG is lossless, so use it when you need every pixel kept exactly, such as a logo or a screenshot with text.
Why didn't my PNG file get smaller?
PNG is a lossless format, so it keeps every pixel exactly as it was. The quality slider has no effect on a PNG file. To make the file smaller, choose JPG or WebP as the output format instead.
Will compressing change my image's size in pixels?
No. This tool keeps the width and height exactly the same and only reduces the file size. If you also want the picture smaller in pixels, use the Image Resizer to change its dimensions first.
Are my photos uploaded anywhere?
No. Your photos never leave your device. The compression is done in your browser with the Canvas API, and nothing is sent to a server.