Compress Image
Shrink JPG, PNG and WebP images, or hit an exact size like 100 KB or 1 MB.
Drop images here
JPG, PNG, WebP, GIF, BMP — as many as you like
Files are processed on this device. Nothing is uploaded.
How to use Compress Image
- Drop one or many images (or paste with Ctrl+V).
- Pick a quality, or a target size such as 100 KB for an upload form.
- Select Compress images, check the savings, and download each file or all as a ZIP.
How it works
Images are decoded and re-encoded by your own browser using its built-in JPEG and WebP encoders, so nothing leaves your device and there is no limit on how many files you compress. Best for each image keeps photos as JPG and keeps transparent images in a format that supports transparency (WebP where available, otherwise PNG).
In Target size mode the tool tries up to eight quality levels per image (a binary search) and keeps the highest quality that fits under your limit. If even the lowest quality is too large, it says so and suggests also limiting the dimensions, which reduces size far more than quality alone.
Results are reported honestly: if re-encoding would make a file bigger (common with already-optimised images), the original is kept and marked as such.
Example
A 4.2 MB 4000×3000 phone photo compressed at 75% quality with "Max 1920 px" typically ends up around 300–600 KB, depending on detail, with no visible loss on a screen.
Frequently asked questions
How do I compress an image to exactly 100 KB?
Choose Target size and "100 KB". The tool finds the highest quality that stays under 100 KB. For large photos, also set "Max 1920 px" or smaller so the quality can stay high.
Will compression reduce quality?
JPG and WebP are lossy: some detail is removed. At 70–85% quality the difference is usually invisible on screens. PNG output is lossless but often much larger for photos.
Why is my PNG not getting smaller?
PNG is lossless, and browsers do not optimise PNG files as aggressively as specialised tools. Converting a photo to JPG or WebP shrinks it much more; transparent graphics can use WebP.
Are my photos uploaded?
No. Compression happens inside your browser. You can disconnect from the internet after the page loads and it still works.
Does it remove photo metadata?
Yes. Re-encoding drops EXIF data such as camera model and GPS location. To remove metadata without re-compressing, use Remove EXIF Data.
Limitations
- Animated GIFs become a single still frame.
- Very large images (over ~16,000 px on a side or ~250 megapixels) may exceed browser canvas limits.
- Colour profiles other than sRGB may shift slightly when re-encoded.
Last reviewed November 9, 2026. How we build and test tools.