Images & Design
Image Resizer & Compressor
Resize and export a supported raster image locally, with the output dimensions and format made clear.
Interactive tool
Loading the local tool…
Decode, resize, and export in one tab
Choose an image, set dimensions or quality, preview the output facts, and download the locally generated file.
The browser decodes a JPEG, PNG, or WebP, then a Canvas surface resamples it to the requested dimensions. Preserve aspect ratio is on by default, and upscaling remains off unless the visitor explicitly enables it.
The browser's own encoder produces the chosen JPEG, PNG, or WebP copy. Quality affects JPEG and WebP but not PNG, and output facts are shown before download. Temporary decoded and preview resources are released on replacement, reset, or cleanup.
Method summary: Uses native image decoding and Canvas resampling, preserves aspect ratio by default, and exports through the browser's supported encoders.
Method references
Limits worth knowing
- Inputs are limited to JPEG, PNG, or WebP, 25 MiB, and 40 megapixels; each output side is limited to 8,192 pixels.
- Browser encoder support and resulting file size vary by format and browser.
- Canvas export removes original metadata; animated images, vector files, and color-profile-critical print work are outside this tool's scope.
Useful ways to try it
- Create a 1,200-pixel-wide JPEG copy.
- Export a PNG as WebP when the browser supports it.
- Fit a landscape image inside a square without stretching it.
Questions worth asking
Does a lower quality setting guarantee a smaller file?
Usually it reduces JPEG or WebP size, but browser encoders and image content differ. The tool reports the actual output bytes so you can compare.
Will the downloaded image keep metadata?
No. Canvas export creates a new pixel file and does not preserve the original EXIF, location, camera, animation, or color-profile metadata.