DailySmartTools

Image Compressor

Shrink JPEG, PNG and WebP images in your browser. Choose quality and size, and download the result.

Updated September 19, 2026Checked by the editorial team

Drop images here

JPEG, PNG or WebP · up to 10 at a time · 25 MB each

Images are processed on your device with your browser’s own encoder. They are never uploaded. Changing a setting applies to the next images you add.

Large photos slow pages down and fill up inboxes. This tool re-encodes your images at a lower quality and, if you wish, a smaller width, and shows the size before and after so you can judge the trade-off.

Everything happens in your browser. The images are not uploaded to a server, and nothing is stored once you leave the page.

How image compressor works

Choose an output format, a quality from 30 to 95 and an optional maximum width, then drop images onto the box or choose them. Each result shows the original size, the new size, the percentage saved and the new pixel dimensions, with a Download button.

Both output formats are lossy: they discard detail the eye is least likely to notice. Lower quality gives a smaller file and more visible artefacts. WebP is usually smaller than JPEG at similar visual quality and is supported by current browsers, while JPEG works everywhere. JPEG has no transparency, so transparent areas are filled with white.

Reducing the width has the largest effect. File size roughly follows the number of pixels, so halving the width leaves about a quarter of them. If a result comes out larger than the original, the tool says so, which can happen with images that were already well compressed.

The formula

Pixels  =  width × height
Space saved  =  (original size − new size) ÷ original size × 100

Scaling an image by a factor k in width and height multiplies the number of pixels by k².

Worked example: resizing a phone photo

A 4000 × 3000 photo has 12 million pixels. Scaling it to 1920 pixels wide gives 1920 × 1440, which is about 2.76 million pixels, or 23% of the original.

Before any change to quality, the amount of image data is already less than a quarter of what it was. That is why choosing a smaller maximum width usually saves more than lowering quality.

When to use this tool

  • Preparing photos for a website or blog so pages load faster.
  • Fitting images under an email or form upload size limit.
  • Converting a batch of JPEGs to WebP.

Common mistakes to avoid

  • Compressing an already-compressed file again and again. Each pass loses detail. Keep the original and compress from it.
  • Using very low quality for images with text or sharp edges, where artefacts are most visible.
  • Expecting transparency to survive in JPEG. Use WebP if you need it.
  • Resizing far below the size the image is displayed at, which makes it look soft on high-resolution screens.

Frequently asked questions

Are my images uploaded?
No. They are processed by your browser on your own device and are never sent to a server.
What quality should I choose?
Around 75 is a common starting point for photographs. Check the result at the size it will be viewed, and raise the quality if you see artefacts.
Why is the compressed file bigger?
Some files are already efficiently compressed, and re-encoding can add size. The tool flags these cases so you can keep the original.
Can it compress PNG losslessly?
No. It outputs WebP or JPEG, which are lossy. For lossless PNG optimisation you would need a different tool.
Does it remove the location data in photos?
The re-encoded image is drawn fresh from the pixels, so metadata such as camera details and GPS location is not copied into the output. Check the result before sharing if privacy matters.

Learn more

Results are for information only and are not financial, legal or medical advice. The calculation logic is covered by automated tests, and examples on this page are worked out and re-checked before publishing. Spotted a mistake? Tell us.