Resize and compress images with live file-size preview.
🔒 100% client-side — resizing happens locally in an in-browser canvas with high-quality smoothing. The size shown is the real encoded output, measured with canvas.toBlob.
Need a photo at exactly 1200×630 for a social card, an avatar at 256×256, or a product shot at half size? This resizer scales any image to the dimensions you type, right in the browser. It redraws the image in a local canvas with high-quality smoothing, shows you the real encoded file size before you download, and never uploads anything — the file never leaves your device.
With the lock on, changing the width recomputes the height from the original proportions — and vice versa — so the image never stretches. Turn it off only when you genuinely need to distort, or when you plan to crop later. The 25% / 50% / 75% / 100% buttons are the fastest way to shrink for email, thumbnails, or srcset variants without doing any math.
Most resizers guess at the output size; this one actually re-encodes the image in a hidden canvas as you type (debounced, so it stays snappy) and reports the exact byte count from canvas.toBlob. The preview thumbnail is the actual encoded output too — what you see is literally what you download. If the result is bigger than you hoped, drop the quality slider or switch to WebP before exporting.
Canvas resampling is excellent at making images smaller, but enlarging beyond the original dimensions just invents pixels — expect softness. For crisp results, start from the largest source you have and scale down. Also note that transparency is preserved in PNG and WebP output, while JPEG flattens it onto a white background; pick PNG or WebP for logos and cut-out artwork.
More tools you might find useful
Build OG and Twitter Card meta tags with a live social share preview.
Convert PNG/JPG to WebP and see the size savings.
Convert pixels to rem and em with a custom root font size.
Strip comments, metadata, and whitespace from SVG files.