PNG Resizer

Resize a PNG to an exact width and height, or scale by a percentage. Keep aspect ratio locked or unlock for free-form resize. Transparency is preserved. Runs in your browser.

100%
100% private β€” processed in your browser. No upload, no server.

Why resize a PNG?

The single biggest reason to resize a PNG is page speed. A photograph shot on a modern phone is typically 4,000 pixels across; the spot on your web page that displays it might be only 800 pixels wide. Serving the full-resolution image means downloading roughly 25Γ— more data than needed, which kills Largest Contentful Paint scores and slows the page for every visitor β€” especially on mobile. Resizing the image down to the actual display size (or 2Γ— that for high-DPI screens) is the cheapest performance fix in web development.

Other practical reasons: you need a 1200Γ—630 PNG for an Open Graph image, a 512Γ—512 icon for an Android app, a 180Γ—180 apple-touch-icon, or a 1280Γ—720 thumbnail for YouTube. Most platforms want exact dimensions, and uploading the wrong size means rejection or ugly auto-cropping. This tool lets you hit the target size precisely.

How this resizer works

The browser draws your PNG onto a hidden <canvas> at the new target dimensions. The canvas uses the browser's built-in bilinear or bicubic resampling (depending on the resampling quality you choose) to interpolate pixels between the source and destination grids. The output is then re-encoded as PNG and offered for download. Transparency comes through cleanly β€” every pixel keeps its alpha value.

You have two ways to set the new size:

Aspect ratio β€” keep it locked unless you really mean it

Aspect ratio is the relationship between width and height (e.g. 16:9 widescreen, 4:3 standard, 1:1 square). When the lock is on, changing width recalculates height (and vice versa) to keep the same shape, so your image stays proportional. When the lock is off, you can stretch or squash freely β€” useful for skewing things to fit a specific banner, but it usually looks bad on photographs.

Common target sizes

PurposeRecommended size
Open Graph / Facebook preview1200 Γ— 630
Twitter card (large)1200 Γ— 628
LinkedIn share preview1200 Γ— 627
Pinterest pin1000 Γ— 1500
YouTube thumbnail1280 Γ— 720
Instagram square post1080 Γ— 1080
Instagram story / reel1080 Γ— 1920
Apple touch icon180 Γ— 180
Android adaptive icon (foreground)432 Γ— 432
Favicon (large)512 Γ— 512
Hero image (desktop)1920 Γ— 1080 or 2400 Γ— 1200
Card thumbnail (typical CMS)800 Γ— 600

Resampling quality β€” what changes between the three options?

Upscaling vs. downscaling

Downscaling (making the image smaller) almost always looks fine. The browser is averaging multiple source pixels into one output pixel, so detail is preserved gracefully and edges stay clean. This is the resize direction you want for web optimisation.

Upscaling (making the image larger) cannot create detail that wasn't there. Every algorithm β€” bilinear, bicubic, Lanczos, even AI super-resolution β€” is guessing. Modest upscaling (up to 2Γ—) often looks acceptable, especially on photographs. Beyond 2Γ— the image starts to look soft or muddy. For dramatic upscales, AI-based tools (Topaz Gigapixel, Real-ESRGAN, Stable Diffusion upscalers) outperform conventional resampling significantly β€” but they have to be run separately.

Tips and best practice

FAQs

Will transparency be preserved?

Yes β€” the canvas keeps the alpha channel and the output is a fresh transparent PNG.

How do I avoid stretching?

Keep "Lock aspect ratio" ticked. Editing one dimension will update the other automatically.

Why does the upscaled image look blurry?

Standard resampling can't invent detail that wasn't in the source. For dramatic upscales, use a dedicated AI super-resolution tool.

Does resizing reduce file size?

Usually yes β€” fewer pixels means less data. The exact reduction depends on image complexity.

Is anything uploaded?

No. Everything happens locally in your browser.

Can I resize multiple PNGs at once?

Not yet β€” one file at a time.

What's the maximum output size?

20,000 Γ— 20,000 pixels in theory. In practice, browser memory limits how big you can go β€” most desktops handle 8K (8000Γ—8000) without problems.

Related tools