pngtoolskit.org
PNG and image utilities, in the browser
Say hi →

Change a PNG's Canvas Size

new width & height · centred · transparent or coloured padding · batch

Set a new canvas size and drop your image onto it, centred — expand it to add breathing room, or shrink it to crop the edges. Pad the extra space with transparency or a colour of your choice. Unlike resizing, the image itself isn't scaled; only the canvas around it changes. Runs in your browser.

Drop images here

Multiple files allowed

    no files
    Ready.

    Canvas size vs. resize

    Resizing scales the image's pixels to new dimensions. Changing the canvas keeps the image at its original size and changes the space around it — adding padding or cropping the border. Reach for this when you need an image to sit inside a specific frame without stretching it.

    FAQ

    Will my image be stretched?

    No — the image stays its original size and is centred on the new canvas. Only the surrounding space changes.

    Can I make the canvas smaller than the image?

    Yes — set a smaller width or height and the edges of the image are cropped by the new bounds.

    How do I fit the whole image into a size instead?

    Use Fit in a rectangle, which scales the image down to fit and pads the rest.