How to resize a PNG image
Published
To resize a PNG image, open it in a resizer, type the new width with the aspect ratio locked, keep PNG as the output format and download the copy. In the OptiPix Image Resizer the PNG stays on your device. Shrinking the pixel size also shrinks the file, as our measured example shows.

How do you resize a PNG image online?
Drop the file into a browser resizer, set the size, keep PNG and save. Here are the steps in the OptiPix Image Resizer, which says Your files stay on your device - processed locally via WebAssembly, never uploaded.
- Open the resizer and drop the PNG on the drop area, or paste it.
- Pick a mode. The tool offers Presets, Custom, Scale % and Max Dim; we used Max Dim to set the longest side.
- Type the width you need. The aspect ratio stays locked unless you turn it off.
- Choose PNG under Output format, then download the resized copy.

The OptiPix Image Resizer keeps the PNG on your device while it resizes it.
Resize your PNG in the browser
How do you resize a PNG on Windows without new software?
Use the Photos app that comes with Windows. In a Microsoft Q&A answer, an Independent Advisor gives the path: open the image in Photos, select the three dots on the top menu, then Resize Image, and pick a preset or a custom size.
Can you resize a PNG without losing quality?
Making a PNG smaller keeps it sharp; making it larger only spreads the same pixels, so it looks soft. The W3C PNG specification describes PNG as a format for the lossless, portable, compressed storage of images, so saving the resized copy adds no compression artifacts. The OptiPix page puts the size limit plainly: Downscaling (making smaller) preserves quality well, while enlarging may reduce sharpness. To make a picture bigger with detail, an AI upscaler works differently from a resizer.
Does a smaller PNG in pixels mean a smaller file?
Yes, and by a lot. We resized two real PNGs in the OptiPix Image Resizer, with PNG output and the aspect ratio kept, and measured the downloaded files.
| File | Size in pixels | File size | Share of the original file |
|---|---|---|---|
| Screenshot, original | 1440 x 900 | 95,988 B | 100% |
| Screenshot | 1200 x 750 | 83,056 B | 86.5% |
| Screenshot | 800 x 500 | 44,695 B | 46.6% |
| Screenshot | 400 x 250 | 14,245 B | 14.8% |
| Transparent logo, original | 1200 x 300 | 26,301 B | 100% |
| Transparent logo | 600 x 150 | 7,069 B | 26.9% |
| Transparent logo | 300 x 75 | 2,550 B | 9.7% |
| Transparent logo | 150 x 38 | 803 B | 3.1% |
Test run: 28 Nov 2026, Max Dim mode, PNG output Pixels kept at half the width: 0.5 x 0.5 = 25% of the pixels Screenshot 1440 -> 800 wide (0.56 x): 31% of the pixels, 46.6% of the bytes Logo 1200 -> 600 wide (0.5 x): 25% of the pixels, 26.9% of the bytes
The flat-colour screenshot shrank less than its pixel count, because PNG already stores large areas of one colour cheaply. To hit a file-size limit in KB after you resize, run the copy through the OptiPix Image Compressor.
How do you resize a PNG to an exact pixel size?
Set both width and height, and pick how the tool fills the frame. The resizer's Mode setting offers Crop to Fill, Fit Within and Stretch: Crop to Fill trims the edges to fit, Fit Within keeps the whole picture inside the box, and Stretch distorts it to fill. Turn the aspect-ratio lock off only when both sides must be exact.
Does resizing keep the transparent background?
Yes, when the output stays PNG. We counted the translucent pixels of our logo before and after:
Logo 1200 x 300 original 92.9% translucent pixels Logo 600 x 150 output 93% translucent Logo 300 x 75 output 93% translucent Logo 150 x 38 output 93% translucent
The crop below shows the logo's edge, zoomed on a checkerboard, with the background still clear.

If you need a smaller file that keeps transparency, convert the PNG to WebP after resizing.