Skip to content
pagespeed.tools

Image compressor

Shrink images and convert them to WebP. Everything happens in your browser, so your images never leave your device.

Compression settings

Why image size matters

Images are usually the heaviest part of a page, and the largest image is often what the main speed measure (LCP) waits for. Smaller files reach the screen sooner, most of all on phones.

Choosing format and quality

WebP gives smaller files than JPEG at the same visual quality and works in every current browser, so it is the safe default. A quality setting around 75 to 80 is hard to tell apart from the original for photos. Screenshots and graphics with sharp edges or text may need a higher setting.

Resizing helps as much as compressing. An image shown 800 pixels wide does not need to be 4000 pixels wide.

Common questions

Are my images uploaded anywhere?
No. The compression runs entirely in your browser. Nothing is sent to our server or anyone else's.
Will transparency be kept?
WebP keeps transparency. JPEG does not support it, so transparent areas become white when you choose JPEG.
Why did my file get bigger?
An image that was already heavily compressed can grow when it is re-encoded at a higher quality. Lower the quality setting, or keep the original.

Learn more

All guides
See all 14 tools