Compress an image
Make a JPG, PNG or WebP file smaller by re-encoding it at a quality you choose. You see the size before and after, and if the result is not smaller the tool says so instead of handing you a bigger file.
or drag and drop a file here
JPG, PNG, WebP · up to 20 MB
Privacy: this tool runs in your browser. Your file is not uploaded to our servers. How we handle files
How to use Compress Image
- Choose a JPG, PNG or WebP image, or drag it onto the upload area.
- Pick the output format: keep the original format, or switch to WebP or JPG.
- For JPG and WebP output, set the quality (1–100). The default is 75.
- Select Compress image and compare the original size, new size and percentage saved.
- Select Download, or choose Change settings to try a different quality or format.
Supported formats and limits
- Input: JPG, PNG, WebP, up to 20 MB per file.
- JPG and WebP output is lossy: detail is removed to save space, more so at lower quality settings.
- PNG output is a lossless re-encode with no quality setting. It often does not shrink the file at all; to make a PNG substantially smaller, convert it to WebP (keeps transparency) or JPG (fills transparency with a colour you choose).
- If the result is the same size or larger than your original, no download is offered and the tool suggests settings to try instead.
- Pixel dimensions are not changed. To reduce them, use the resize tool.
- Animated PNG and WebP files are processed as a single still image (the first frame).
- Images up to 50 megapixels, with no side longer than 16,384 px.
- Metadata such as EXIF camera details, GPS location and embedded colour profiles is not copied to the output. Rotation stored in EXIF is applied to the pixels first, so the picture stays the right way up.
- One image at a time.
Frequently asked questions
- Why did my PNG not get any smaller?
- PNG is a lossless format and this tool re-encodes it without removing anything, so there is often nothing to gain. Choose WebP or JPG as the output format for lossy compression, which is where the real savings come from.
- Does compressing reduce image quality?
- With JPG or WebP output, yes: that is how the file gets smaller. At quality 70–85 most photos still look fine at normal viewing size. Use the preview to judge before you download.
- What does it mean when the tool says no smaller file was produced?
- The re-encoded image came out the same size or larger than your original, which can happen when the original was already heavily compressed. Lower the quality or switch output format and run it again.
- I need the file under a specific size, such as 100 KB. Can this do that?
- Use the target-size compressor instead. It searches for the highest quality that fits under a size you set.
- Are my images sent to a server?
- No. Compression happens in your browser on your device, and the image is not uploaded to us.
Related tools
- Compress to Target KBCompress a JPG, PNG or WebP to a target file size: 20 KB, 50 KB, 100 KB, 200 KB or a custom value. The tool finds the highest quality that fits and tells you if the target cannot be reached.
- Resize ImageResize a JPG, PNG or WebP to exact pixel dimensions in your browser. Lock the aspect ratio to keep proportions or unlock it to set any width and height.
- JPG to WebPConvert JPG or JPEG images to WebP with a quality setting you control. Runs in your browser without uploading the image.
- PNG to WebPConvert PNG images to WebP in your browser. Transparent backgrounds are kept, and you choose the quality. No upload required.
- Crop ImageCrop a JPG, PNG or WebP in your browser. Drag a crop box with mouse or touch, pick a ratio such as 1:1 or 16:9, or type exact pixel coordinates.
Page last reviewed: