Practical example
Resize a 4000-pixel camera image to its 1200-pixel display width before comparing WebP and JPEG quality around text and edges.
Drop an image here or click to choose a file
Compression runs in your browser via canvas — the image never leaves your device.
This tool compresses and resizes images entirely in your browser using the canvas API. Pick an output format (JPEG, WebP, or PNG), adjust the quality slider, optionally cap the width, and download the result.
Because everything runs locally, your photos never touch a server — there is no upload, no queue, and no privacy trade-off. It works offline once the page is loaded.
Smaller files speed up pages, but format choice, dimensions, and visible artifacts deserve a quick review.
Do not ship a 4000px image into a 400px slot. Cutting dimensions saves more than any quality slider.
WebP usually beats JPEG at the same quality; PNG is for graphics with sharp edges or transparency.
Aggressive quality settings show banding and blocking around text and gradients. Zoom in before publishing.
Lossy compression is irreversible. Store the source file so you can re-export with different settings later.
Resize a 4000-pixel camera image to its 1200-pixel display width before comparing WebP and JPEG quality around text and edges.
Removing metadata can discard orientation, color profile, copyright, or accessibility workflow information—not only location data.
I measure the rendered result at target dimensions; a smaller file is not a win if text becomes blurry or colors shift.
You may also find these tools useful.