Image Resizer
Set a size, preview the fit, and save a PNG at the displayed dimensions.
- Free
- Works Offline
- No Uploads
How to Resize an Image
- Open the HTML, review Security Check, then select Continue.
- Choose a still PNG or JPEG, or select Open Sample.
- Enter width and height in pixels, then choose Fit Inside, Crop to Fill, or Fit and Pad. Enable Allow Upscaling when you want to enlarge the image.
- Review the planned dimensions and preview, then select Resize Image and Download PNG.
Preview Sizing and Fit
- Keep the image proportions in every fit mode.
- Choose whether the image may upscale.
- Preview the crop or padding before building the PNG.
Formats and Compatibility
| Input | Choose a single still PNG or baseline or progressive JPEG. The sample includes edges and transparent areas. |
|---|---|
| Output | Download a separate 8-bit PNG with the previewed dimensions. PNG retains transparency from the decoded image and any added padding. |
| Browser | A modern browser with local file support. |
| Scope | One still PNG or JPEG, up to 64 MiB, 16 million pixels, and 8,192 pixels per side. |
| Operating Systems |
Local Processing Without Uploads
This browser-based tool resizes images locally with no upload. The selected file stays on your device.
Select Open Sample to see the workflow with the included example.
Choose a Fit Mode
Fit Inside keeps the entire image within the requested bounds. Crop to Fill uses the exact target and trims the centered edges that fall outside it. Fit and Pad uses the exact target and adds transparent space around the centered image.
Check the Actual Pixel Dimensions
The workbench shows planned width and height before resizing. The result shows before and after dimensions, the saved PNG preview, and the byte size.
Frequently Asked Questions
How do I use the image resizer offline?
Get the image resizer download, extract the ZIP, and open ImageResizer.html. The free image resizer includes a marked landscape sample.
Can I use the image resizer in browser?
Yes. The local image resizer uses your browser to decode, resize, and save the image.
Can I use the image resizer without uploading?
Yes. You can resize photo files or change image dimensions and keep the source and saved PNG on your device.
Why can Fit Inside produce a smaller size than I entered?
The entered dimensions are upper bounds. Fit Inside uses the largest proportional size within both bounds and skips enlargement by default.
What happens when I disable upscaling?
Fit Inside stops at the original size. Fit and Pad can add transparent space around the original without enlarging its pixels. Crop to Fill asks for a smaller target when the selected size needs enlargement.
What happens to image metadata?
The tool creates a separate 8-bit PNG from the browser-decoded pixels. Source metadata and original color profiles are outside the saved output. Animated files and multi-picture JPEG are outside the supported scope.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.