Free tool · nothing is uploaded

Image compressor

Shrink a photo or convert it to WebP, with the real saving reported — including when a setting made the file bigger instead. The image never leaves your device.

Resize first, then compress

Quality sliders get all the attention and dimensions do most of the work. Halving an image’s longest edge removes three-quarters of its pixels, which is a saving no quality setting can approach — and unlike aggressive compression, it costs nothing visible as long as the result is still larger than the space it is displayed in.

The practical order is: decide how wide the image will actually appear, set the longest edge to roughly twice that for high-density screens, and only then reach for quality. Most oversized web images are oversized in dimensions, not in compression.

When compression makes things worse

Lossy formats discard information permanently. Re-encoding an already-compressed JPEG at high quality does not restore what the first pass removed; it preserves the damage and adds a second generation of it. Running the same file through a compressor repeatedly degrades it every time while saving progressively less.

The same logic explains PNG results that come back several times larger than the input. PNG is lossless, so it faithfully stores every JPEG artefact as though it were real detail. It is the right container for graphics, screenshots and anything with hard edges or flat colour — and the wrong one for a photograph that was already a JPEG.

Frequently asked questions

Should I use WebP or JPEG?

WebP for anything going on the web. At matching visual quality it lands roughly 25–35% smaller than JPEG, and every current browser supports it. JPEG remains the safer choice when a file has to open in older software, print workflows or a client's unknown machine.

What quality setting should I use?

Around 80. Most photographs are indistinguishable from the original at normal viewing size, for a fraction of the bytes. Below roughly 60, flat areas like skies begin to band visibly, and once banding appears no later step removes it.

Why did my file get bigger?

Usually because you chose PNG for a photograph, or a quality higher than the file was originally saved at. Re-encoding cannot recover detail that was already discarded, so all it adds is container overhead. The tool reports this outright rather than presenting a larger file as a success.

Does resizing matter more than quality?

Almost always. A 6000px photo displayed 1200px wide is carrying sixteen times the pixels anyone will ever see, and no quality setting recovers that waste. Set the longest edge to what the image will actually be displayed at first, then adjust quality.

Does compressing remove my photo's metadata?

Yes, as a side effect of re-encoding — EXIF and GPS do not survive the trip. If stripping metadata is the actual goal rather than a bonus, the EXIF remover does it without changing the compression or dimensions.

Will a large file freeze the page?

No. The work runs in a Web Worker, off the main thread, so a 40MP phone photo compresses without the page becoming unresponsive.

Related tools