Add Border to Image

Add colored padding or a border around any image.

Loading Image Margin…

How to use Image Margin

  1. Open the Image Margin tool.
  2. Drop an image in, or click to pick one from your device.
  3. Adjust the settings and watch the live preview update.
  4. Download the processed image. The file never leaves your browser.

About Image Margin

Add solid or transparent padding around an image. Set each of the four sides independently in pixels (or link them to change all at once), pick any margin color, and download the result as a PNG. Everything runs on the Canvas API in your browser; the image is never uploaded.

What people use it for

Frequently asked questions

Does it work offline?

Yes. Once the page has loaded nothing further is fetched, so you can disconnect and the preview, the margin controls and the download all keep working.

Why is the download always a PNG?

PNG is lossless and supports the transparent-margin option; JPEG can't hold transparency.

Is it private?

Every calculation happens on this page, in your own browser. Your input is never sent to a server and never logged, which also means the tool keeps working when you are offline.

Related tools

All Image tools · Every tool on OmniWebTools