How to Resize PNG: Complete Guide for Mac, Web, and Beyond

By Hieu Dinh

How to Resize PNG: Complete Guide for Mac, Web, and Beyond

If you've ever tried to email a PNG screenshot only to get a "file too large" error, or uploaded a logo that turned into a blurry mess on your website, you already know the pain. Learning how to resize PNG files properly solves both problems — and it takes far less time than you might think.

This guide walks through every practical way to resize PNG images, whether you need to shrink the dimensions, the file size, or both. We'll cover Mac's built-in Preview app, online tools, Photoshop, command-line utilities, and dedicated apps like Compresto. By the end, you'll know exactly which method fits your workflow.

What "Resize PNG" Actually Means

Here's the first thing that trips people up: "resize" can mean two completely different things.

Dimensions (pixels)

When most people say they want to resize PNG files, they mean changing the actual width and height in pixels. A 4000×3000 PNG becomes a 1200×900 PNG. The image gets physically smaller on screen.

File size (KB or MB)

Other times "resize" means shrinking the file size — going from a 5 MB PNG to a 500 KB PNG without necessarily changing its dimensions. This is closer to compression than resizing.

The two often go together. Cutting dimensions in half typically cuts file size by roughly 75%, since you're storing four times fewer pixels. But you can also reduce file size while keeping the same dimensions by compressing the image — that's a separate process covered in our compress PNG guide.

Throughout this article, I'll use "resize" to mean dimensions and call out file-size reduction explicitly when it matters.

Why Resize PNG Files in the First Place

Before diving into the how, let's quickly cover the why:

  • Web performance: A 4 MB hero image can add seconds to page load. Google's Core Web Vitals punish slow LCP scores.
  • Social media specs: Twitter, Instagram, LinkedIn each have their own dimension requirements. Upload an oversized PNG and the platform will compress it for you — usually badly.
  • Email attachments: Most providers cap attachments at 25 MB. A folder of full-resolution screenshots blows past that fast.
  • Storage: A few hundred uncompressed PNGs eat gigabytes. Resized versions take a fraction.
  • App and document use: Inserting massive PNGs into Notion, Figma, or Keynote slows everything down.

Knowing your target dimensions before you start saves a ton of back-and-forth. For web work, somewhere between 800px and 2000px wide is usually right.

Method 1: Resize PNG Using Mac Preview (Built-In)

Preview is already on your Mac, and it handles single-file PNG resizing well. Here's the step-by-step:

  1. Open the PNG by double-clicking it (Preview is the default app for images on macOS).
  2. Make a copy first. Go to File > Duplicate (Shift + Cmd + S) so you don't overwrite the original.
  3. Open the resize dialog. Click Tools > Adjust Size... in the menu bar.
  4. Set your dimensions. Make sure "Scale proportionally" is checked, then enter your desired width or height. Preview auto-fills the other dimension.
  5. Pick the right unit. Use "pixels" for screen and web work. "Inches" or "cm" only matter for print.
  6. Check "Resample image" to actually change the pixel count. Without it, you're only changing the print dimensions.
  7. Click OK, then save with Cmd + S.

Preview will show you the projected file size at the bottom of the dialog before you commit. It's a quick sanity check.

Resizing Multiple PNGs in Preview

Preview can technically handle batches: open all your PNGs at once, hit Cmd + A in the thumbnail sidebar to select them all, then Tools > Adjust Size. The change applies to every selected file.

The catch — Preview overwrites the originals by default and gives you zero control over compression after resizing. For more than a handful of files, a dedicated app saves a lot of headaches. We go deeper on this in our batch resize images Mac article.

Method 2: Resize PNG with Online Tools

When you don't want to install anything, browser-based tools are the fastest path. Two stand out.

TinyPNG

TinyPNG is technically a compressor, not a resizer — but it's the cleanest way to resize PNG file size while keeping dimensions intact. Drag your file in, get a 60–80% smaller version back. Free tier handles 20 files at 5 MB each.

Squoosh

Squoosh is Google's open-source image tool. It does both dimension resizing and compression in the browser — your files never leave your machine. The interface shows a before/after split view so you can dial in quality precisely.

For more browser-based options, our roundup of reduce image resolution online compares the best free tools head to head.

The trade-off with online tools: file size limits, no batching beyond a handful, and you have to upload sensitive images to a third party. Fine for one-off jobs, painful for repeat work.

Method 3: Resize PNG in Photoshop, Affinity, or GIMP

Professional editors give you the most control. The basics are nearly identical across all three:

Photoshop

  1. Open the PNG (File > Open).
  2. Go to Image > Image Size... (Cmd + Opt + I).
  3. Make sure the chain icon between width and height is locked (preserves aspect ratio).
  4. Enter your new dimensions in pixels.
  5. Pick a resampling algorithm — "Bicubic Sharper (reduction)" is best when shrinking.
  6. Click OK, then File > Export > Export As... to save as PNG with control over compression.

Affinity Photo

Document > Resize Document... opens the same kind of dialog. Affinity defaults to Lanczos resampling, which gives crisp results when downsizing.

GIMP (free)

Image > Scale Image.... Use "Cubic" or "LoHalo" interpolation when shrinking. GIMP is free and runs on Mac, Windows, and Linux.

For one-off, high-stakes resizing where you want pixel-perfect control, these editors win. For everything else they're overkill — opening Photoshop just to shrink a screenshot is like firing up a forklift to move a coffee mug.

Method 4: Resize PNG with Compresto (Batch + Quality Control)

When you regularly need to resize PNG files in bulk and care about both dimensions and file size, Compresto is built for exactly this workflow. It's a native macOS app that combines resizing with intelligent compression in one drag-and-drop step.

Here's the typical flow:

  1. Drag your PNGs (or a whole folder) into the Compresto window. It handles hundreds at once.
  2. Pick a resize mode:
    • By percentage (e.g. scale everything to 50%)
    • By max width or height (e.g. cap everything at 1200px wide)
    • By target file size (e.g. get every PNG under 200 KB)
  3. Set quality with a slider — Compresto previews the output so you can dial it in.
  4. Click compress. Files process in parallel using hardware acceleration. Originals stay untouched.

The real advantage over Preview is that Compresto handles transparency correctly across the entire batch, lets you mix resizing with format conversion (PNG to WebP, for example), and never silently overwrites originals. For anyone resizing PNGs more than occasionally, it pays for itself in the first afternoon.

Method 5: Resize PNG from the Command Line

If you live in the terminal — or you're scripting an image pipeline — command-line tools are unbeatable for automation.

sips (built into macOS)

sips ships with every Mac. Zero install required.

# Resize to max width 1200px, preserving aspect ratio
sips --resampleWidth 1200 input.png --out output.png

# Resize to max 800x600 box
sips -Z 800 input.png --out resized.png

# Batch resize every PNG in a folder
for f in *.png; do
  sips --resampleWidth 1200 "$f" --out "resized/$f"
done

ImageMagick

More powerful, more flags, more options. Install with Homebrew:

brew install imagemagick

Then resize:

# Resize to 50% of original
magick input.png -resize 50% output.png

# Resize to max 1200px wide
magick input.png -resize 1200x output.png

# Batch with mogrify (overwrites originals — be careful)
mogrify -resize 1200x *.png

ImageMagick's -resize operator is smart about aspect ratios by default, and you can chain it with -quality and -strip to control file size in the same command.

Maintaining Transparency When You Resize PNG

PNG's killer feature is the alpha channel — the transparent background that lets logos float over any color. Resizing can quietly destroy this if you're not careful.

A few rules:

  • Always save as PNG, not JPEG. JPEG has no transparency support. Resizing a PNG and exporting as JPEG fills your transparent pixels with white (or black, or whatever the editor decides).
  • Use proper resampling. Bicubic, Lanczos, and similar algorithms handle alpha correctly. "Nearest neighbor" can leave jagged edges around transparent areas.
  • Watch out for "flatten" options. Some editors flatten layers on export, which merges your transparent background with a default color.
  • Test with a colored backdrop. After resizing, drop your PNG onto a non-white background to confirm the transparency survived.

Compresto, Preview, Photoshop, Squoosh, and the command-line tools above all preserve transparency by default. Most online converters that strip transparency are doing format conversion under the hood, not just resizing.

Lossless vs Lossy PNG Compression

When you go from "resize dimensions" to "shrink file size," you cross into compression territory — and PNG offers two flavors.

Lossless compression rewrites the file to use less space without changing a single pixel. Tools: ImageOptim, OptiPNG, pngcrush. Typical savings: 10–30%.

Lossy compression strategically removes color data the human eye barely notices. Tools: TinyPNG, pngquant, Compresto. Typical savings: 50–80%.

For most web and social use cases, lossy is the right call — the visual difference at quality 75 is invisible, and the file-size win is massive. For logos, screenshots with text, or anything that'll be edited again later, stick with lossless.

We cover this in much more depth in our dedicated compress PNG guide and our how to make image file size smaller walkthrough.

Comparison: Which Method Should You Use?

MethodBest ForBatchingCostDifficulty
PreviewOne-off, single fileLimitedFreeVery easy
TinyPNG / SquooshQuick web file-size reductionUp to 20 filesFreeVery easy
Photoshop / AffinityPixel-perfect, single fileVia actionsPaidMedium
GIMPFree, full-featured editorVia scriptsFreeMedium
ComprestoRepeated batch work + qualityHundredsFree trialVery easy
sips / ImageMagickScripts and automationUnlimitedFreeHard

Most people end up using two or three methods depending on the job. Preview for the occasional one-off, an online tool for quick file-size cuts, and a dedicated app like Compresto when batching kicks in.

For a broader look at the tooling landscape, see our image compressor software breakdown.

Picking the Right Dimensions

A few targets that work well in 2026:

  • Website hero images: 1600–2000px wide
  • Blog post inline images: 800–1200px wide
  • Thumbnails: 400–600px wide
  • Email signatures: 200–400px wide
  • Twitter / X post images: 1600×900px
  • Instagram square posts: 1080×1080px
  • LinkedIn post images: 1200×627px

When in doubt, double the displayed size for retina displays. A 600px-wide blog image looks crisp at 1200px source.

If you're working with photos rather than graphics, you might also want to look at our reduce image size on mac guide and the broader how to compress JPEG walkthrough — JPEG is usually a better fit for photographs even if your source is currently PNG.

Frequently Asked Questions

Can you resize a PNG without losing quality?

Yes — when you make a PNG smaller, modern resampling algorithms (Bicubic, Lanczos) produce results that look essentially identical to the original at the new size. The "loss" is unavoidable in a strict pixel-counting sense (you have fewer pixels), but the perceived quality stays high.

You cannot make a PNG larger without quality loss. Upscaling invents pixels that don't exist, and the result always looks softer or blockier. AI upscalers help but never fully solve this.

What's the difference between resizing and compressing PNG?

Resizing changes the dimensions in pixels — a 4000×3000 image becomes 1200×900. Compressing changes how the file is encoded so it takes fewer bytes, without necessarily changing dimensions. Most workflows do both: resize first to your target dimensions, then compress the result.

What's the best size for a website PNG?

For most use cases, keep PNGs under 200 KB and capped at 1600–2000px wide for hero images, 800–1200px for inline content. If you need transparency, PNG is the right call. Otherwise, consider WebP (25–35% smaller than PNG at equivalent quality) or JPEG for photographs.

How do I resize a PNG on iPhone?

Use the built-in Photos app to crop, or grab a free app like Image Size or Photo Compress for true resizing. Tap the Files app to share the result. iOS resizing tools are limited compared to desktop — for serious batch work, transfer your images to a Mac and use Compresto or one of the methods above.

How do I resize a PNG on Windows?

Right-click the PNG and pick "Edit" to open it in Paint, then go to Resize in the toolbar. For better results, use the free Microsoft PowerToys Image Resizer, which adds a right-click "Resize pictures" option. Photoshop, Affinity, GIMP, Squoosh, and TinyPNG all work on Windows too.

Does resizing a PNG remove transparency?

No — resizing alone preserves the alpha channel as long as you save the result as PNG (or WebP). Transparency disappears only when you convert to a format that doesn't support it (JPEG, BMP) or when an editor "flattens" the image during export. Every method covered in this guide keeps transparency intact by default.

What about resizing RAW images instead of PNG?

If you're working with camera RAW files (CR2, NEF, ARW, DNG), the workflow is different — you typically convert to PNG or JPEG first, then resize. Our raw image format explained guide covers when RAW is worth preserving and when to convert.

Bringing It All Together

You've now got every practical method to resize PNG files: Preview for one-offs, online tools for quick web optimization, Photoshop and Affinity for precision work, command-line tools for automation, and Compresto for batch work that respects your originals.

The right method depends on volume. For a single screenshot, Preview takes ten seconds. For a folder of 200 product photos, a dedicated app like Compresto turns an afternoon into about a minute.

Whichever tool you pick, two habits will save you grief down the road:

  1. Always work from a copy. Never overwrite originals.
  2. Pick your target dimensions before you start. Knowing you need 1200px wide is faster than guessing and re-resizing.

Ready to stop wrestling with image files? Download Compresto for free and resize PNGs (plus JPEGs, WebPs, GIFs, and more) in batches with the kind of speed that makes you wonder why you ever did it any other way.

Related articles:

Ready to compress your files? Join thousands of creators using Compresto ⚡