EIT easy-image-tools / Add border to PNG

Add border to PNG

Draws a colored frame of the chosen thickness around the image.

Nothing found — try another word.

01

Add border to PNG

Nothing found — try another word.

Thickness

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Add border to PNG grows the canvas by a chosen number of pixels on every side and fills that frame with one solid color. The picture itself is never touched — no pixel is resampled, rescaled or recompressed, so the result is exactly as sharp as the source and only larger, by twice the thickness in each direction. Use it for a print mat, a framed screenshot, a mockup plate or a certificate edge. Everything is processed locally in your browser.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Thickness from 1 to 500 px, same on all four sides; the frame is fully opaque.
  • The picture is not resampled — only the canvas grows.
  • For a transparent or semi-transparent margin use the add padding tool instead.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Set Thickness in pixels, from 1 to 500; the default is 5.
  3. Pick Border color with the color picker or type a hex value.
  4. Download the bordered image from the Download button as PNG, JPG, WebP or BMP.

Questions

Does adding a border shrink or stretch the image?

No. The picture keeps its exact pixel dimensions and is placed in the middle of a larger canvas, so nothing is resampled and no quality is lost. Only the canvas grows, by twice the thickness in width and in height.

Can the border be transparent?

Not on this page: the frame is drawn fully opaque, which is what makes it read as a border. For a soft margin that keeps the alpha channel, use the add padding tool, where an Opacity slider decides between a transparent and a colored fill.

Are my images uploaded to a server?

No. Decoding, border drawing and encoding all run in the page you have open, so the file stays on your device. No account, no signup, no daily limit, free for commercial use, and the source is open.

Can I use a different width on each side?

Not here, the frame is the same thickness on all four sides. For asymmetric spacing, use the shift tool to move the picture inside the canvas, or the change canvas size tool, where the Anchor picks which part stays.

Related tools