IMAGE TOOLS
Image Resizer
Choose an image and resize it to exact pixel dimensions. The image is read and redrawn in your browser; it is never uploaded to a RandomTools application server. You can keep the original aspect ratio or set width and height independently, then download the result.
STEP 1
Choose an image
No image selected yet.
- File
- Format
- Dimensions
- Size
STEP 2
Set the output size
With the aspect ratio locked, changing one side updates the other. Output is limited to 10,000 px per side and 40 megapixels. JPEG does not keep transparency and is drawn on a white background.
RESULT
Resized image
- Dimensions
- Format
- Size
How the image resizer works
The selected file is decoded by your browser and drawn onto a canvas at the width and height you choose. The canvas is then encoded as PNG, JPEG, or WebP, and the download link points at that new file in memory. The original file is never changed, and RandomTools does not upload it to an application server.
With Keep the original aspect ratio checked, editing either side recalculates the other from the source proportions. Uncheck it to stretch the image to independent dimensions. The percentage presets are convenient starting points; the fields still show and accept exact pixels.
Size, format, and quality limits
Input files can be up to 40 MB and 16,384 px on the longest side, with at most 50 megapixels. Output is limited to 10,000 px per side and 40 megapixels. Very large canvases can exhaust browser memory, so the tool rejects requests beyond those limits instead of freezing the page.
PNG is lossless and keeps transparency. JPEG is lossy, is usually smaller for photographs, and is drawn on a white background because it has no alpha channel. WebP supports lossy and lossless data plus transparency; the browser chooses the encoding details. Resizing smaller discards detail permanently, so keep the original if you may need a larger version later.
GIF input is supported, but only the first frame is redrawn, and an animated GIF therefore becomes a still image. SVG is rejected because it is a document format that can reference external resources. AVIF support depends on the browser's decoder.
Image resizer FAQ
Is my image uploaded?
No. The file is read with the browser's local file APIs and drawn to a canvas in this page. RandomTools does not send the file to an application server. As described in the privacy policy, the disclosed advertising script runs in the same page context, so local processing does not guarantee isolation from third-party JavaScript; blocking that script disables the advertising without affecting the tool.
Why did my PNG get larger?
Resizing does not automatically make a file smaller. PNG stores pixels losslessly, and a resized PNG can be larger than the original if the original used efficient compression or a lower color depth. Try JPEG or WebP when a smaller file matters more than exact lossless pixels.
Can I resize to a larger size?
Yes, within the limits. Enlarging cannot add real detail; it interpolates existing pixels and can look soft. Start from the largest original you have when you need a bigger output.
Related image tools
To compare original and new file sizes at the same dimensions, use the image compressor. To cut out part of an image instead of scaling all of it, use the image cropper.
Last updated: