Image Compressor
Compress JPG, PNG, WebP and AVIF images without uploading them anywhere.
Drag & drop your file here
or
JPG, PNG, WebP or AVIF — up to 50 MB per file
How to use Image Compressor
Add your images
Drag files into the drop zone or click it to browse. You can select several images at once.
Choose a format and quality
Pick the output format and set the quality slider. For the web, WebP at 80% is a good starting point.
Optionally cap the dimensions
Enter a maximum width or height if the image will be displayed smaller than its original size.
Compress and download
Press "Compress images" and then download the results individually or all at once.
Frequently asked questions
How much can I reduce the file size?
For typical photographs, 70–85 per cent is typical at an 80 per cent quality setting. Screenshots and logos compress less because PNG is lossless.
Will my image lose quality?
At the default quality of 80 per cent the difference is hard to see on screen. If you need to be certain, compare the result with the original at 100 per cent zoom.
Are my images uploaded to a server?
No. The processing happens in a Web Worker inside your browser, so the files never leave your device and the tool works offline.
Which format produces the smallest files?
AVIF, followed by WebP and then JPEG. PNG is the largest for photographs but the right choice for screenshots and graphics.
Can I compress several images at once?
Yes. Select as many files as you like and they are all processed in sequence, then you can download them together.
About Image Compressor
The Image Compressor reduces the file size of your photos and graphics while keeping them visually identical. Set a quality level, optionally cap the pixel dimensions, and download the result. Because the work happens in a background Web Worker on your own machine, a 20-megapixel photo is compressed without the page ever freezing.
How compression works
Modern image formats such as JPEG and WebP use lossy compression: the encoder analyses the image, keeps the detail that the human eye is sensitive to and discards the rest. The quality slider controls how much is discarded. At 80 per cent the difference is usually invisible on a screen, while the file can be a quarter of its original size. Lowering the quality further keeps shrinking the file but introduces artefacts around sharp edges, high-contrast text and fine detail such as foliage or hair. PNG is lossless, so its quality slider has no effect and only the resize controls change the file size.
Resizing before compressing
The two operations do different jobs and both matter. Compression removes information from the pixels; resizing removes pixels entirely. A photograph taken on a modern phone contains around twelve megapixels, but a thumbnail in a search result might be displayed at 400 pixels wide. Sending the full-resolution file to a browser that will scale it down wastes the user's bandwidth and slows the page. The most effective workflow is to cap the maximum width and height first, then compress, which is why both controls sit next to each other in this tool.
Which format should you choose?
JPEG is the right choice for photographs: the format removes detail the eye barely notices and packs it very efficiently. WebP beats JPEG by roughly thirty per cent at the same perceived quality and also supports transparency, so it is the better default for the web. PNG is the right choice for screenshots, logos, diagrams and anything with sharp edges or transparency, because JPEG's artefacts are very visible on those. AVIF produces the smallest files of all but takes considerably longer to encode and is not yet supported by every browser. If you are unsure, WebP is the safest modern choice.
Everything stays on your device
Decoding, resizing and re-encoding are performed by a WebAssembly and Canvas pipeline running inside a Web Worker on your computer. There is no upload request, no server-side copy and no retention policy to worry about, because the bytes never leave your machine. That also means the tool works offline, and that it is safe for photographs you would not want to publish — passport scans, medical images, screenshots of private conversations.
Use Image Compressor on your site
This tool runs free and private in the browser. Paste it anywhere — blog posts, documentation, team wikis — and your visitors will use it without leaving your site. The embed includes a small "Made with The Tools Today" credit link.
Related tools
Image Resizer
Resize images by pixels or percentage while keeping quality and aspect ratio.
Open toolImage Format Converter
Convert images between JPG, PNG, WebP and AVIF in your browser.
Open toolImage Cropper
Crop images to any area or aspect ratio and export locally.
Open toolImage to Base64
Convert an image to a Base64 data URL and copy HTML/CSS snippets.
Open tool