Image

Runs in your browser. No file uploads for processing.

Pad PNGs to an Exact Canvas Size

Expand PNGs to the same exact canvas size with transparent padding. Keep their original pixel sizes and get placement coordinates.

Loading tool...

Already have extra transparent space? Trim PNG edges to their visible bounds.

How to expand a PNG canvas without resizing the image

  1. Choose still PNGs

    Pick one or more icons, sprites, or other PNGs. Files stay in your browser and are processed one at a time.

  2. Enter one target size and alignment

    For a square icon pack, enter the same width and height. Choose Center and Middle, or align to any edge without moving pixels by fractions.

  3. Download PNGs and positions

    For example, a 70 × 45 PNG centered on a 128 × 128 canvas starts at x = 29, y = 41; the extra vertical pixel is at the bottom. The archive records each original image’s rectangle in its new canvas.

Use cases

  • Make a set of sprite frames share identical dimensions without stretching, for UI icons or animation strips.
  • Add space around existing artwork without cropping; use bottom alignment to keep a common baseline.

Limits and privacy

  • Still PNG only. Up to 24 files, 8 MiB per PNG, 32 MiB total input and 32 MiB of PNG outputs. Source and target can have up to 4 million pixels, with no side over 4,096 px.
  • A source wider or taller than the target is skipped rather than shrunk or cropped. The browser re-encodes padded images; color profiles, ancillary metadata and hidden RGB values may not be preserved.

The tool processes inputs in your browser. Account features and usage analytics are separate.

Frequently asked questions

How can I make a PNG square without changing its scale?

Set the target width and height to the same value, at least as large as both source dimensions. The browser positions each image on a clear square canvas and reports the integer offsets.

Does padding resize or crop my PNG?

No. The original bitmap is placed at its current pixel dimensions on a larger transparent canvas. A source that does not fit is skipped.

Where does the odd extra pixel go when the image is centered?

Horizontal and vertical offsets are rounded down to whole pixels, so an odd spare pixel goes on the right or bottom.

Can I pad several differently sized icons to the same square?

Yes. Give the batch equal target width and height. Each file that fits gets the same canvas size and its own placement coordinates in the ZIP report.

Are the images uploaded or animated?

Files are not uploaded. Animated PNGs are rejected rather than flattened; use still PNGs for transparent padding.

Related tools