Add Padding to an Image

Instant, in-browserNever uploaded

Put a photo on a larger canvas: the same space on every side or a different amount on each, or just enough to make it square. Fill the space with any color or leave it transparent. The photo is not scaled, and the file never leaves your device.

Drop an image here, click to choose, or paste from clipboardJPG, PNG, WebP, HEIC, TIFF and more · processed entirely on your device

Free. No account, no card, no trial — nothing to cancel. Your images stay on your device. No download limits, no watermark.

Need a colored background behind a transparent PNG? Use Add Background Color. Want to cut space away instead? Trim Transparent Edges removes empty borders.

Frequently asked questions

Is my image uploaded to a server?

No. The padding is added directly in your browser. The file never leaves your device.

How is the padding measured?

In pixels, or in percent of the shorter side of the photo. With 10 percent, a photo that is 1,000 px tall gets 100 px of space, and a landscape and a portrait photo get the same relative amount.

Can I add a different amount on each side?

Yes. Choose “Each side separately” and enter the top, right, bottom and left amounts. Use 0 for a side that should get no space.

How do I make a photo square without cropping it?

Tick “Make the result a square”. The shorter side is extended with space, shared between the two opposite sides, so the photo stays in the middle. Nothing is cropped or scaled.

Can the padding be transparent?

Yes, if you save as PNG or WebP. JPG has no transparency, so a JPG always has a colored padding.

Does the photo lose quality?

No. The pixels of the photo are copied one to one onto the larger canvas. PNG and WebP are saved without any loss. JPG always loses a little, so it is saved at 95% quality.

How big can the result be?

One picture is limited to 100 megapixels and 16,384 px on its longest side, and less on iPhone and iPad. If the padding would make the picture too large, the page tells you.

Can I undo a change?

Yes. Undo and Redo (buttons above the settings, or Ctrl+Z / Ctrl+Shift+Z) step back through every setting.

Can I add padding to many photos at once?

This tool works on one picture at a time. In the Batch Photo Editor, the “Pad” option of the size step puts every photo whole on a frame of the size you choose, with margins added.