b4rn1 · imagetoolsphotos
Bin PH-03·Photos

Compress image

Shrink JPG, PNG and WebP files with a quality slider. See the before and after size before you download.

BinPH-03
DepartmentPhotos
Free runs5 a day
File limit25 MB
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What compress image does

Compress re-encodes a photo so it weighs less at the same pixel size. It is the tool for upload limits — a 6 MB phone shot that has to fit under 2 MB, a site hero that has to load fast, or a marketplace that rejects anything over 5 MB.

How it works

The image is decoded, drawn once onto a canvas at its original dimensions, and handed back to canvas.toBlob with an explicit MIME type and quality value, so the browser's own JPEG or WebP encoder does the squeezing.

Runs on your device

Nothing is uploaded, because nothing needs to be: the browser already has a decoder, a canvas and an encoder. Close the tab and every trace of the file is gone, which is a stronger guarantee than any deletion policy.

Formats and limits

TakesJPG, PNG, WebP, GIF, BMP, AVIF
ReturnsJPG or WebP, with the quality slider setting the target trade-off
KeepsPixel dimensions and the visible composition
Does not keepFine high-frequency detail as quality drops, and transparency if you choose JPG
Limits25 MB per file on the free bench. Quality runs from 1 to 100; most photographs land between 70 and 85 before artefacts become visible in a normal viewing size.
PriceFree, 5 runs a day, no account

Worth knowing

  • PNG output is generally a bad target for compression — if your source is a screenshot with flat colour, PNG stays sharp; if it is a photograph, WebP at quality 80 beats a squeezed JPEG at the same file size.
  • Progress shows the real ratio achieved against the original, so you can see whether the target was met instead of guessing.

Questions about compress image

How much smaller will my file get?

It depends on the source. A phone JPEG already compressed by the camera might drop 40–60% at quality 80; a PNG screenshot of a photograph can drop over 90% by moving to WebP. The tool shows the achieved size next to the original so the number is measured, not promised.

Will compression make the photo blurry?

Below roughly quality 50, JPEG blocking and ringing appear in gradients and around high-contrast edges. Keep between 70 and 85 for anything a human will look at closely, and drop lower only for thumbnails.

Which is better, 80% or 100%?

Around 75–85% is usually invisible on a screen and cuts the file size several times over. Use 100% only when the image is going to print.

Why did my PNG not get much smaller?

PNG is lossless, so quality has no effect. The tool re-encodes it and, when it is much smaller, offers a JPEG instead for photographs.

What file types can I use?

It takes JPG, PNG, WebP, GIF, BMP, AVIF. Anything the browser cannot decode is rejected with an error rather than producing a broken file.

What comes out at the end?

JPG or WebP, with the quality slider setting the target trade-off. What survives: Pixel dimensions and the visible composition. What is lost: Fine high-frequency detail as quality drops, and transparency if you choose JPG.

Is there a file size limit?

25 MB per file on the free bench, with no page or run limit inside that size. Larger files are refused before any work starts rather than failing halfway through.

Does my file leave my device?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Will it run on a plane?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.

Do I have to sign up?

Free, with no account: 5 runs of this tool a day, counted on our server against a device tag rather than an email address. Nothing to sign up for.