Compress Images Online for Free
Compress or resize JPG, PNG and WebP images in your browser. Set maximum width and height, keep proportions, choose an output format, and optionally target a maximum file size before downloading.
Drop images here
or
Choose imagesResize and target file size (optional)
Leave dimensions blank to keep the original size. Enter a maximum width and/or height to resize. A file-size target is a maximum, not an exact guarantee; automatic quality tuning works with JPG and WebP.
Quality affects JPG and WebP. PNG output uses lossless browser encoding and may not get smaller. Files stay in your browser.
Private: your files are processed in your browser and are never uploaded to our server.
How to use
- Choose or drop JPG, PNG and WebP images. Each file can be up to 50 MB.
- Optionally set maximum width and height in pixels. Keep aspect ratio enabled to fit the image within those dimensions without stretching.
- Choose Keep original, JPG, PNG or WebP. For JPG and WebP, an optional maximum file-size target makes the tool try lower quality settings automatically.
- Press Compress images to compare dimensions and file sizes, then download the result.
How image compression works
This tool resizes and re-encodes images locally in your browser using the Canvas API. Maximum width and height can be set in pixels; when aspect ratio is enabled, the image is fitted inside those bounds without stretching. JPG and WebP quality can be adjusted automatically to try to meet a maximum file-size target, but very small targets may not be achievable without reducing dimensions further.
PNG output uses browser PNG encoding, which does not provide a lossy quality setting. If a PNG needs to become much smaller, choose WebP or JPG instead. JPG does not support transparency, so transparent areas are filled with the background color you select.
Frequently asked questions
Are my images uploaded to SindhTools?
No. Image decoding and compression happen in your browser. This tool does not send your image files to our server.
Can I target an exact file size?
The file-size field is a maximum target, not an exact guarantee. Automatic quality tuning works for JPG and WebP. PNG uses lossless browser encoding, so choose WebP or JPG if a strict size limit matters. If the target cannot be reached, try smaller dimensions.
Why does quality not reduce PNG file size?
Browser Canvas encodes PNG without a lossy quality control. For smaller output, choose WebP or JPG, or keep PNG when transparency and lossless output matter.
Which quality setting should I use?
About 80–90% is a useful starting point for JPG and WebP photos. Lower quality can reduce size more but may introduce visible artifacts. PNG ignores this setting.
Will the compressed file always be smaller?
No. Some images are already optimized, and re-encoding can occasionally increase file size. Compare the before and after sizes before downloading.
Which formats and file sizes are supported?
JPG, PNG and WebP images up to 50 MB per file are supported. HEIC, GIF, SVG and other formats are not supported by this tool.