Change Canvas Size Online
Resize the canvas of PNG images while keeping the original centered.
Drop image here or click to upload
Max 50MB • 100% Private
Drop in a PNG, type the new width and height, and get back a bigger canvas with your image pinned dead center — no stretching, no blur. Pick a solid color or leave it transparent. And everything runs in your browser. Nothing gets uploaded.
How It Works
The browser creates a new canvas at your chosen dimensions, fills it with the background color you picked (transparent by default), and draws the original image dead center. No resampling, no compression artifacts. The output is a clean PNG at the exact pixel dimensions you specified.
Examples
App Icon for the App Store
Apple requires 1024×1024 icons. Your designer handed you an 800×800 PNG.
logo.png (800 × 800px)
Canvas target: 1024 × 1024
Background: transparent
logo-resized.png (1024 × 1024px)
112px padding on each side
Original centered, untouched
Product Photo with White Border
Amazon and Etsy listings look better with breathing room around the product. Quick way to add a clean white margin without cropping software.
mug-photo.png (600 × 400px)
Canvas: 800 × 600
Background: #FFFFFF
mug-photo-canvas.png (800 × 600px)
100px white margin on sides
100px white margin top/bottom
Making a Square from a Rectangle
Social media profiles need square images. Got a 1200×800 banner? Set the canvas to 1200×1200 and the image sits centered with transparent bars above and below.
banner.png (1200 × 800px)
Canvas: 1200 × 1200
Background: transparent
banner-square.png (1200 × 1200px)
200px transparent space top
200px transparent space bottom
Who Uses This
Pad icons and logos to exact spec sizes for app stores and brand kits.
Add white margins around product photos for uniform marketplace listings.
Resize sprites and UI assets to match grid dimensions without distortion.
Convert rectangular images to square format for Instagram and profile pictures.
Common Mistakes
If your image is 800×600 and you set the canvas to 400×300, the edges get clipped. The tool won't shrink your image — it crops instead. Always set dimensions equal to or larger than the original.
You wanted a transparent background but left it on white. Now the PNG has a white rectangle behind your logo. Double-check the color picker before hitting download.
Canvas resize adds space around the image. Image resize changes the image itself. If you need a 500px-wide version of a 1000px photo, you need a resize tool, not this one. This tool keeps every pixel exactly as-is.
Technical Details
- Processing: 100% client-side — nothing uploaded, nothing stored
- Browser Support: Chrome, Firefox, Safari, Edge
- Input Formats: PNG, JPG, GIF, WebP, BMP
- Output Format: PNG (lossless)
- Max File Size: Limited only by your browser's available memory
Frequently Asked Questions
How do I change the canvas size of a PNG without losing quality?
Upload your PNG here, type in the new width and height, and download. The original image isn't resampled or compressed — it's placed on a fresh canvas at the size you picked. Zero quality loss because the pixels don't change at all.
What's the difference between canvas size and image size?
Image size changes the actual picture — it stretches or shrinks pixels. Canvas size changes the workspace around the picture. Think of it like putting a photo in a bigger frame versus enlarging the photo itself.
Can I add a transparent background when extending the canvas?
Yes. Set the background color to transparent (it's the default). The extra space around your image will have no color — perfect for logos and icons that need to sit on different backgrounds.
Does this tool upload my images to a server?
No. The whole thing runs in your browser using the HTML5 Canvas API. Your image stays on your computer the entire time. You could disconnect from the internet after loading the page and it would still work.
How do I make a rectangular image square without cropping?
Set both width and height to whichever dimension is larger. For a 1200×800 image, set the canvas to 1200×1200. The tool centers the image and fills the extra space with your chosen background color. No cropping, no stretching.