Image compressor
Compress an image to a target size for the platform you are posting to.
Enter a size above 0 KB.
Filled from the platform. You can change it. 1 KB is 1,000 bytes.
This browser cannot save WebP. Pick JPG or the original type, or open this page in Chrome or Edge.
Compressed files appear here.
Tray (0)Files stay in this browser
Rules this tool uses
Checked 2026-12-05 · how we check
How to use it
- Choose one or more images, or drop them on the box. JPG, PNG and WebP work.
- Pick the platform you are posting to, or type your own size. The target is in KB.
- Read the before and after sizes. Open Compare to slide between the original and the result.
- Download each file, or download them all as one ZIP.
About this tool
Most compressors give you one quality slider and no idea what size you will get. This one starts from the size you need. It tries the highest quality that fits under your target, and only if that is not enough does it shrink the picture too. The page shows the real size of the file it made.
If your file is already under the target and you keep the same format, the original is handed back untouched. Nothing is re-saved, so there is no loss. Re-saving a picture removes its camera and location data; a file that needs no change keeps it, so use the metadata remover if you want that data gone.
The platform sizes come from the platforms' own help pages. Instagram's 8 MB is the figure for uploads made through its API; its help pages give no number for the app. YouTube's sources disagree about the thumbnail limit, so that preset is marked, and you can change the number. A KB here is 1,000 bytes and a MB is 1,000,000 bytes, the stricter reading.
Questions
Why did my PNG get smaller in pixels?
PNG keeps every pixel exactly and has no quality setting, so the only way to make it smaller is fewer pixels. Choose JPG or WebP to keep the size and lower the quality instead.
What happens to transparent areas when I choose JPG?
A JPG cannot be transparent, so those areas turn white. Keep PNG or choose WebP to keep the transparency.
Are my pictures uploaded?
No. Compressing happens in this tab, and the page makes no network request while it works.