100% free
Compress and resize images
Lower values mean smaller files but lower quality
WebP gives the best compression at good quality
Each image should end up no larger than this. To get there, the tool tries up to seven quality levels and reduces the dimensions if needed.
Scale images down to maximum dimensions
Upload images. Drag images here or click to choose
WebP
All-round format
Modern format with very good compression. Supports transparency and animation. The tool's default.
Default choice for many images
JPEG
For photos
Suited to photos and realistic images. Lossy compression with good quality, but no transparency.
Good for classic photos
PNG
Lossless
Lossless compression. Suited to graphics, logos, and images with transparency. Files are usually much larger than WebP or AVIF.
Good for graphics and transparency
Reduce image size in four steps
You don't need an account or an installation. Everything runs in your browser, and your images don't leave your device. If you want an image to end up at a specific size, enter a target size.
- Drag your images into the upload area or choose them. You can load several at once.
- Set the quality. The defaults are 80% and the WebP format. Optionally, enter a value in KB or MB under "Target size".
- If you need it, turn on "Resize" and enter a maximum width or height.
- Check the size before and after in the results list, and download each image or all of them as a ZIP.
Get an image to a specific size, e.g. under 2 MB
Enter a value under "Target size", for example 500 KB, 1 MB, or 2 MB. The presets set the value and the unit with one click. After compression, each image is then no larger than that, as long as the target is reachable.
- Choose JPEG, WebP, or AVIF. The quality you set then acts as the upper limit.
- Enter the target size or click a preset, then upload your images. The setting applies to all images in that run.
- The tool encodes the image several times with different quality levels, at most seven times per image, and keeps the highest quality that stays under the target. This is an approximation by halving the quality interval, not always the exact highest possible level.
- If even a low quality isn't enough, the tool also reduces the dimensions in steps. The aspect ratio is kept, and the image is never enlarged. Next to the image you can see what percentage of the original dimensions the tool went down to.
If the tool can't get under the target, it says so next to the image and keeps the smallest result. A target below 1 KB is ignored, and the image is compressed with the quality you set. Missing the target happens with a very small target, and with PNG when reducing the dimensions isn't enough either. Quality has no effect on PNG because PNG is lossless, so the tool only reduces the dimensions there. If you want PNG images under a limit and want to keep their dimensions, switch to WebP or JPEG.
KB and MB are calculated with 1,024, like the sizes shown in the tool. A target of 1 MB is therefore 1,048,576 bytes. Some upload forms count with 1,000, so set the target a little lower in that case.
Compressing and resizing images, what is the difference?
In everyday speech both words often mean the same thing, but technically they are two separate levers. The tool offers both.
| Lever | What changes | Where you set it |
|---|---|---|
| Compress | The file gets smaller and the pixel count stays the same. With lossy formats, detail is lost in exchange. | Quality and output format |
| Resize | The image has fewer pixels in width and height. If you halve both sides, a quarter of the pixels remain, and the file usually gets much smaller. | "Resize" with a maximum width and height |
Resizing only makes images smaller. An image that is already smaller than your maximum stays unchanged, and the tool never enlarges. With the aspect ratio kept, the image is scaled down proportionally.
Resize images for email
How much your email provider allows in attachments differs from provider to provider. Check there and add up the images.
- Upload all the images for the email together. The summary shows the total before and after.
- Choose JPEG as the output format if you're not sure what the recipient will open the file with. Almost every program can open JPEG, which isn't true for WebP and AVIF everywhere.
- For screenshots and phone photos, a maximum width of 1920 pixels is often enough, because the recipient mostly looks at them on a screen.
- If someone should be able to print the image, keep the dimensions larger and lower only the quality.
JPG, PNG, WebP, or AVIF, which format fits?
| Format | Good for | Keep in mind |
|---|---|---|
| JPEG | Photos and email attachments | No transparency |
| PNG | Logos, graphics, and images with transparency | Lossless, the quality slider has no effect, and the file often stays large |
| WebP | Images for your website | The tool's default |
| AVIF | Images for your website when they should be especially small | Only selectable if your browser can export AVIF |
All images in one run end up in the same output format. If you want photos as JPEG and a logo as PNG, do two runs. The tool processes animated GIFs as a single still image.
Keep an eye on the result, too. With a very small or already heavily compressed image, the new file can end up larger. The summary then shows "Larger", and you're better off keeping the original.
Frequently asked questions
How does the image compression work?
Which image formats are supported?
What is AVIF, and should I use it?
Are my images uploaded to a server?
Can I shrink an image to a specific size, for example under 1 MB?
Are EXIF data and GPS coordinates kept?
Why doesn't my PNG reach the target size?
How much can I reduce the file size?
How does resizing work?
What is the difference between the formats?
Is image quality lost during compression?
Related tools
- SVG OptimizerRemoves unneeded code from SVG files to make them smaller.
- Favicon GeneratorCreates every favicon size for browsers, iOS and Android from one image.
- Page Speed TestMeasures Core Web Vitals and performance metrics of a page.
- QR Code GeneratorCreates QR codes for URLs, text, vCards and Wi-Fi access.
Changelog
November 20, 2026
Transparency in JPEG and text corrections
- • Fixed: transparent PNG and WebP images turned black when exported as JPEG. Transparent areas are now filled with white.
- • The FAQ now mentions AVIF only where the browser can export it, instead of crediting every browser with it.
- • The target size texts describe the quality search as an approximation. A target below 1 KB is ignored, and the FAQ now says so.
- • The FAQ explains that EXIF data and GPS coordinates are lost during compression.
November 17, 2026
Target size
- • Added an optional target size in KB or MB, with presets for 500 KB, 1 MB, and 2 MB
- • For JPEG, WebP, and AVIF, the tool finds the highest quality that stays under the target by halving the quality interval, with at most seven encodes per image
- • If quality isn't enough, the tool reduces the dimensions in steps and shows this next to the image
- • If the target isn't reached, the tool says so next to the image and keeps the smallest result
- • Added a guide with instructions and use cases below the tool
- • Added related tools at the end of the page
May 12, 2026
AVIF input and ZIP download
- • AVIF as an input format (in addition to JPG, PNG, WebP, and GIF)
- • Download of all compressed images as a ZIP file
- • Better AVIF detection for more browsers
Show older versions
December 20, 2025
AVIF format and resizing
- • AVIF format for the best compression
- • Resizing with a maximum width and height
- • Option to keep the aspect ratio
- • Automatic browser compatibility check
December 17, 2025
Launch
- • Compression of JPG, PNG, WebP, and GIF
- • Export as JPG, PNG, or WebP
- • Adjustable quality level
- • Preview before and after compression
- • Size comparison in percent
- • Fully client-side processing