Skip to content

Image Padding

Add padding around an image by extending its canvas on any side. Set the top, right, bottom and left padding in pixels, choose a solid or transparent color, or fill the new area by copying the edge pixels, repeating the image or mirroring it. Designers use it to give logos breathing room, fit images to social media frames and prepare assets for printing.

Choose files or drag and drop them into the upload field. Maximum file size: 5 MB.

Reset

Frequently asked questions

How do I add padding to an image?

Upload your image and enter the padding for the top, right, bottom and left sides in pixels. Each side accepts 0 to 1000 pixels and defaults to 20. The canvas grows by those amounts and your original image stays untouched in its place.

Can the padding be transparent?

Yes. Enter the word transparent or a hex color with an alpha value such as #ffffff00. The result is a PNG with an alpha channel, so the padding stays see-through on websites and in design tools.

Which color formats are accepted?

Use a hex color with 3, 4, 6 or 8 digits, for example #fff, #ffffff or #ffffff80, or the word transparent. The 4 and 8 digit forms include an alpha value for semi-transparent padding. The default is white.

What do the fill modes do?

Solid color fills the new area with your color. Copy edge pixels stretches the outermost row or column outward, repeat image tiles the image into the padding, and mirror image reflects it at the edges. The color is only used by the solid color mode.

How big can the padded image be?

Uploads larger than 4000 pixels on a side are scaled to fit 4000 pixels first, and each side takes at most 1000 pixels of padding. The finished image is therefore never more than 6000 pixels wide or tall.

Can I pad only one side?

Yes. Set the sides you do not want to change to 0. For example, a bottom padding of 200 with every other side at 0 adds a strip below the image for a caption.

How do I make an image square with padding?

Subtract the shorter side from the longer one and split the difference between the two shorter edges. A 1200 by 800 image needs 200 pixels on the top and 200 on the bottom to become 1200 by 1200. For cropping instead of padding, use the Image Aspect Ratio tool.

Does padding reduce image quality?

No. The original pixels are copied unchanged into the larger canvas and the result is saved as a lossless PNG. Only the new area around the image is generated.

Which file formats can I upload?

JPEG, PNG, GIF, WebP, TIFF and AVIF images up to 5 MB are supported. Animated files use their first frame. The download is always a PNG so that transparent padding is preserved.

What is the difference between padding and a border?

The Image Border tool adds the same solid width on all four sides. Padding lets you set each side separately, use transparency and fill the area with copied, repeated or mirrored pixels instead of a flat color.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.