Compress image
Pick an image, choose WebP or JPG and a quality level, and compare the file size before and after. Dimensions stay identical; only the encoding changes, and the photo never leaves your browser.
Drop an image here
or pick them from your device: several at once is fine
Files never leave your device: this page has no server to send them to.
How it works
The image is re-encoded at your chosen quality with the browser's native encoder. WebP typically lands 25 to 35% smaller than JPG at comparable visual quality, which is why it is the default here. Quality 80 is the sweet spot for photos; below 60 the artifacts start to show in flat areas and gradients.
Frequently asked questions
WebP or JPG: which should I pick?
WebP, unless the file must open in legacy software. Every current browser reads WebP, and at the same visual quality the file is usually a quarter to a third smaller than JPG.
Why did my PNG get bigger instead of smaller?
Flat-color graphics (screenshots, logos) compress superbly as PNG already; re-encoding them as a photo format can grow the file or smudge the edges. Compress photos here; keep graphics as PNG and shrink them by resizing instead.
Does compressing lose quality every time?
Each lossy re-encode discards a little more information, so always compress from the original rather than re-compressing an already-compressed file. One pass at quality 80 is visually transparent for most photos.