Choose a file or try the sample.
This page resizes and re-encodes an image entirely on your device using the browser's Canvas API. Your file is never uploaded to a server, and nothing is stored after you close the tab.
Inputs: PNG, JPEG, WebP (whatever your browser can decode). Outputs: WebP, JPEG, or PNG. WebP typically produces the smallest files for the web; JPEG is best for photographs; PNG preserves transparency.
No. Decoding, resizing, and encoding all happen in your browser. The only network requests are for the page's own assets and the font.
Re-encoding at a higher quality or larger width can increase size. Try lowering quality or reducing width, and compare the reported file sizes.
Yes. Set Fit to Crop to square to center-crop the image to a square at the chosen width.