What This Tool Does
This image resizer changes one uploaded image to the width and height you enter. After an image loads, the page fills the width and height fields with the original dimensions and shows both the original and resized previews.
The resized image is created from a canvas and downloaded as a PNG file. Use this page when you need to change pixel dimensions, not when you need to crop part of an image or choose another output format.
Width, Height, and Aspect Ratio
Enter pixel values in the width and height fields. If a field is empty or invalid, the script falls back to the original image dimension for that field.
When Maintain aspect ratio is checked, editing the width automatically recalculates the height, and editing the height automatically recalculates the width. Clear the checkbox if you need separate width and height values.
Supported Input and Output
The upload control accepts image files that your browser can load, including common formats such as JPEG, PNG, and WebP. The resized download is always a PNG file with a .png filename.
The page does not set a fixed maximum width or height. Very large images or dimensions may depend on what your browser and device can handle.
How to Use the Resizer
- Click the upload area or drag one image onto the page.
- Enter the target width or height. Keep the aspect-ratio checkbox selected for proportional resizing.
- Review the resized preview and dimension label.
- Click Download Resized to save the PNG file, or use Reset and Upload New to start again.
Privacy and Processing
The resizer script reads the selected image in the browser, draws it to a canvas at the chosen dimensions, and creates a PNG data URL for download. The script does not contain an upload request for the selected image.
Common Uses
- Changing a photo to a specific pixel width or height.
- Making a smaller PNG copy while keeping the original file unchanged.
- Preparing an image before using the compressor, cropper, or format converter.