Performance
Image Compressor
Shrink PNG, JPG and WebP images right in your browser.
How it works
Large images are the single most common cause of a slow page. This compressor loads your image into the browser, paints it onto a <canvas>, and re-encodes it with the browser’s built-in encoder at the format and quality you choose.
Pick WebP or JPEG and drag the quality slider: the compressed size and the exact percentage saved update as you go, so you can find the smallest file that still looks right. When you are happy, download it — the pixel dimensions are untouched, only the file weight changes.
Because everything runs through the canvas API on your device, no image is ever uploaded. Private screenshots and client work never leave the page.
Frequently asked
Are my images uploaded anywhere?+
No. The image is read into your browser, redrawn on a canvas and re-encoded entirely on your device — nothing is sent to a server. That means you can safely compress private screenshots, client mockups or unreleased assets.
Which format should I choose?+
WebP usually wins: it gives the smallest files at a given quality and every modern browser supports it, so it is the best default for the web. JPEG is a safe fallback for photos where you need maximum compatibility. PNG stays lossless, so pick it only when you need transparency or pixel-perfect edges — expect little or no size reduction.
What does the quality slider actually do?+
For lossy formats (WebP and JPEG) it controls how aggressively detail is discarded during encoding, from 10% (tiny, visibly soft) up to 100% (largest, near-original). The compressed size and the percentage saved update live, so you can dial in the smallest file that still looks right. PNG ignores it because it is lossless.
Why did my file get bigger instead of smaller?+
A couple of reasons: re-encoding an already-optimized JPEG as PNG will balloon it, and pushing WebP or JPEG quality to 100% can exceed the original. If you see a “+” instead of a “−”, lower the quality or switch to WebP — the live readout tells you immediately.
Does compressing resize the image?+
No — the pixel dimensions stay the same; only the encoding and file size change. The preview shows the exact width and height so you can confirm nothing was scaled.
More free tools
All toolsSVG Optimizer
Strip the cruft from an SVG and see how much smaller it gets.
Open toolCSS Selector Tester
Paste HTML, type a selector, see exactly what it matches.
Open toolColor Contrast Checker
Check any two colors against WCAG AA and AAA — and nudge to pass.
Open toolMore tools shipping weekly.
Ship a lighter, faster page
This tool shrinks the assets that slow a page down. Shotline closes the other half of the loop — clients pin feedback straight on the live page, so the fixes that make it fast and right land in one place.
No signup needed. Free demo canvases stay live for 72 hours.
or start your 14-day free trial — no card required.
