Image Compressor
Use this image compressor online to reduce JPG, PNG, WebP and GIF file size, then review the output before saving.
Compress PNG, JPG, WebP and GIF images in your browser; the result varies with the source file and quality setting.
Settings
Output Format
Max Width
Optional resize
Drop images here
or click to browse — PNG, JPG, WebP, GIF

About This Tool
This tool reduces the file size of JPG, PNG, WebP and GIF images directly in your browser. Nothing is uploaded to a server: your photos never leave your device, which makes it safe for contracts, ID scans, invoices or any private picture. It works best in two situations: shrinking photos to fit an email or a form that rejects large files, and cutting page weight so a website loads faster. A typical 4 MB phone photo drops to 300-800 KB at the default quality of 80, and you can go further by lowering the slider or resizing the width.
How to Use This Tool
Compressing an image takes under a minute: 1. Click the dashed drop zone or drag your image onto it. You can add several files at once. 2. Pick a quality: 80 is a good default for photos, 60-70 for screenshots with flat colors, 90+ when you need maximum detail. 3. Choose an output format. Keep Original is the safe choice; WebP gives the smallest files for websites. 4. Optionally set Max Width in pixels — 1920 fits a full-width blog image, 800 suits most article thumbnails. 5. Press the compress button and compare the before/after preview and the size shown under each result. 6. Download the result with the button under the preview. The original file on your disk is never modified.
Advantages & Use Cases
Send a 10 MB scanned document through a web form that only accepts 2 MB, or prepare real-estate and marketplace photos that load instantly on mobile connections. Compressing before uploading also saves bandwidth on metered connections and speeds up any cloud backup. Webmasters use it before uploading to WordPress or Shopify: a homepage that goes from six 3 MB photos to six 400 KB versions typically loads 3-4 times faster on 4G.
Supported Formats & Recommendations
- JPEG: best for photos; quality 75-85 is visually lossless for most people.
- WebP: 25-35% smaller than JPEG at similar quality; ideal for websites, supported by all modern browsers.
- PNG: keep it for screenshots, logos and images with transparency; compress the width instead of the quality since PNG is lossless.
- GIF: compression mainly strips metadata; for real savings convert an animation to WebP or MP4 instead.
How We Test This Tool
For each release we compress a fixed test set — a 12 MP JPEG photo, a 2 MB PNG screenshot, a 500 KB WebP graphic and a 3 MB GIF — and record input size, output size, dimensions and visible artifacts at quality 80. A release passes when the photo keeps legible text and faces, the screenshot keeps sharp edges with no color banding, and EXIF orientation is respected on the output.
Related Tools You May Like
Helpful Resources
Frequently Asked Questions
Will compressing reduce the quality of my photos?
At quality 80 the reduction is usually invisible on a normal screen: the tool keeps enough detail for printing at postcard size. If you see artifacts around sharp edges, raise the quality to 90 or keep the original dimensions instead of resizing.
How much smaller will my file be?
It depends on the source. Phone photos typically shrink 70-90%, screenshots 30-60%, and already-optimized WebP files may only shrink 5-10%. The tool shows the exact output size before you download, so you can try two settings and compare.
Are my images uploaded anywhere?
No. Compression runs in JavaScript inside your browser tab. You can disconnect from the internet after the page loads and it will still work, which is a good way to verify that nothing leaves your device.