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.

A large purple cube beside a smaller lilac cube, with small grey and black squares scattered around them

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.

  1. Open the resizer and drop the PNG on the drop area, or paste it.
  2. Pick a mode. The tool offers Presets, Custom, Scale % and Max Dim; we used Max Dim to set the longest side.
  3. Type the width you need. The aspect ratio stays locked unless you turn it off.
  4. Choose PNG under Output format, then download the resized copy.
OptiPix Image Resizer in Max Dim mode, PNG output, resizing the 1440 by 900 screenshot to 1200 by 750
The resizer in Max Dim mode with PNG output.

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.

FileSize in pixelsFile sizeShare of the original file
Screenshot, original1440 x 90095,988 B100%
Screenshot1200 x 75083,056 B86.5%
Screenshot800 x 50044,695 B46.6%
Screenshot400 x 25014,245 B14.8%
Transparent logo, original1200 x 30026,301 B100%
Transparent logo600 x 1507,069 B26.9%
Transparent logo300 x 752,550 B9.7%
Transparent logo150 x 38803 B3.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
Measured OptiPix Image Resizer output.

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.

Left edge of the 600 pixel logo output at 3x zoom on a checkerboard: the transparent background is kept
Edge of the resized logo, zoomed in on a checkerboard.

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

All 131 Tools

Image CompressorBackground RemoverVideo CompressorImage UpscalerOCR Text ExtractorFormat ConverterImage ResizerEXIF RemoverFace BlurDepth EstimationQR Code GeneratorWatermark MakerColor Palette ExtractorPhoto FiltersImage to PDFObject DetectionImage ClassifierImage CaptionerAI Image GeneratorMeme GeneratorGIF MakerPhoto Collage MakerImage CropPhoto EffectsImage to SVGColor ChangerNoise RemoverPhoto RestorationColor PickerFavicon GeneratorImage to Base64Image Metadata ViewerImage AnnotatorPassport Photo MakerDocument ScannerASCII Art GeneratorImage ComparisonSprite Sheet GeneratorObject RemoverPanorama MakerWord CounterCase ConverterLorem Ipsum GeneratorUUID GeneratorText DiffURL Encoder / DecoderHTML Entity Encoder / DecoderBase64 Text Encoder / DecoderText to Binary / Hex / OctalHash GeneratorJSON Formatter / ValidatorRandom String GeneratorCSV ↔ JSON ConverterMarkdown EditorUnit ConverterPercentage CalculatorBMI CalculatorAge CalculatorTip CalculatorCSS Gradient GeneratorCSS Box Shadow GeneratorCSS Border Radius GeneratorGlassmorphism GeneratorNeumorphism GeneratorCSS Text Shadow GeneratorFlexbox PlaygroundCSS Grid GeneratorAudio TrimmerAudio ConverterAudio MergerAudio RecorderVideo to Audio ExtractorAudio Speed ChangerAudio Volume BoosterRingtone MakerVocal RemoverText to SpeechSpeech to TextAudio Noise RemoverAudio EqualizerAudio EffectsVideo TrimmerVideo MergerVideo ResizerVideo Speed ChangerVideo RotatorVideo to MP4 ConverterAdd Music to VideoMute VideoVideo LooperReverse VideoVideo ScreenshotAdd Subtitles to VideoVideo WatermarkScreen RecorderWebcam RecorderSlideshow MakerVideo FiltersCron Expression BuilderRegex TesterUnix Timestamp ConverterHEIC to JPG ConverterWebP to JPG ConverterWebP to PNG ConverterPNG to JPG ConverterJPG to PNG ConverterCompress PDFPDF to JPG ConverterPDF to PNG ConverterMerge PDFSplit PDFRotate PDFJPG to PDF ConverterJPG to WebP ConverterPNG to WebP ConverterVideo to GIF ConverterAVIF to JPG ConverterTIFF to JPG ConverterSVG to PNG ConverterPNG to ICO ConverterGIF to MP4 ConverterWebM to MP4 ConverterMP4 to MP3 ConverterJSON to CSV ConverterBase64 to Image ConverterJFIF to JPG ConverterAVIF to PNG ConverterGIF to PNG ConverterMKV to MP4 ConverterMP4 to WebM ConverterMP4 to WAV Converter