Center Png Online
Upload a PNG image and center it on a new canvas with custom output dimensions and background.
Drop a PNG, pick the canvas size you need, and the image lands dead center — no Photoshop math. Pick a background color or leave it transparent for overlaying onto other designs. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool creates a blank canvas at the dimensions you specify. It calculates the center point, positions your image there, and draws it using the browser's Canvas API. If the image is larger than the canvas, it gets scaled down proportionally first. Transparent backgrounds use an alpha channel — no white fill sneaking in behind your artwork.
Examples
App Icon on a Square Canvas
Your app icon is 512x512 but the store requires a 1024x1024 submission with padding around the edges.
icon.png (512 × 512)
Canvas: 1024 × 1024
Background: Transparent
centered-icon.png (1024 × 1024)
256px padding on all sides
Transparency preserved
Product Photo for an E-Commerce Grid
A product shot is 800x1200 (portrait) but the website grid needs square thumbnails at 1000x1000 with white backgrounds.
product.png (800 × 1200)
Canvas: 1000 × 1000
Background: #ffffff
centered-product.png (1000 × 1000)
Image scaled to 667 × 1000
White fill on left and right
Logo Placed on a Social Media Banner
You need a small 300x100 logo centered on a 1500x500 Twitter header-sized canvas with a brand-color background.
logo.png (300 × 100)
Canvas: 1500 × 500
Background: #1da1f2
centered-logo.png (1500 × 500)
Logo at original size, centered
Blue fill surrounding it
Who Uses This
Prep icons and assets for app stores that require specific canvas sizes with padding.
Make product photos uniform for grid layouts without cropping any part of the image.
Center logos and graphics on platform-specific banner and post dimensions.
Generate correctly sized placeholder or splash screen images for mobile apps.
Common Mistakes
The image gets scaled down to fit, which means you lose resolution. If you want 1:1 pixel quality, make sure your canvas is at least as large as the original image.
The default background color is white. If you need a transparent PNG — say, for overlaying onto another design — tick the transparency checkbox before downloading. Otherwise you will get a white rectangle behind everything.
JPG files don't support transparency. If you upload a JPG with a white background and select transparent canvas, the white area in the original image stays white. Start with a PNG that already has transparency cut out.
Technical Details
- Processing: 100% client-side — nothing uploaded to any server
- Max File Size: 50 MB per image
- Max Canvas: 10,000 × 10,000 pixels
- Input Formats: PNG, JPG, WEBP, BMP
- Output Format: PNG (always)
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
How do I center a PNG on a larger canvas?
Upload your PNG, set the canvas width and height to the size you want, then pick a background color or check transparent. Hit download and you'll get a new PNG with your image perfectly centered. Takes about five seconds.
Can I center an image without losing quality?
Yes, as long as your canvas is equal to or larger than the original image dimensions. The tool places pixels 1:1 without recompression. If the canvas is smaller, the image gets scaled down — that's where you'd lose some sharpness.
Does centering a PNG add white space around it?
Only if you set the background to white. If you check the transparent background option, the extra space around your image is fully transparent — no color fill at all. You can also pick any custom color if you want a colored border effect.
What's the maximum image size I can center?
Files up to 50 MB and canvas sizes up to 10,000 × 10,000 pixels. Practically, very large canvases (above ~5000px) might feel slow on older machines since the browser is doing all the work. Most use cases are well under those limits.
Is my image uploaded to a server when I use this tool?
No. The entire process happens in your browser using JavaScript and the Canvas API. Your image never leaves your device. You could disconnect from the internet after loading the page and it would still work fine.