Image Tools

Add Border to Image

Add a solid color border around an image. Runs entirely in your browser.

Click to upload or drag and drop

Select an image file

How it works

Set a border width from 1 to 100 pixels and a color, then press Add Border. The image is placed in the middle of a larger canvas filled with the border color, so nothing is cropped: a 1000 × 800 image with a 20 px border becomes 1040 × 840. Transparent areas inside the original take on the border color too.

Output

PNG images stay PNG; every other type is saved as a JPEG at 92% quality. The download is always named bordered.png or bordered.jpg. Files over 50 MB are rejected.

Limits

You get one solid color on all four sides — no different widths per side, gradients, rounded corners or shadows. The width is in pixels, so the same setting looks thinner on a very large photo, and there is no live preview: press Add Border again after changing the width or color.

Worked examples

A 600 × 600 image with the default 20 px white border becomes 640 × 640. A 1920 × 1080 photo with a 50 px border becomes 2020 × 1180, and at the maximum of 100 px it becomes 2120 × 1280. The border is the same width on all four sides, and the original picture sits whole in the middle at full size.

The size ceiling

The enlarged size is checked against the same browser limit as the other image tools: 16,384 pixels on a side, or 268,435,456 pixels in total. A picture 16,300 pixels wide with a 50 px border would need 16,400 pixels and is refused with a message, while the same picture with a 40 px border (16,380) goes through.

Color and re-applying

The color comes from your browser's color input, starting at white (#ffffff), and fills the border completely, so a semi-transparent border is not possible. Changing the width or color does nothing until you press Add Border again, which replaces the earlier result. The download is named bordered.jpg or bordered.png whatever the original file was called.

Frequently asked questions

Does the border change the image's overall size?

Yes — the output image is larger than the original by twice the border width (added to both width and height), since the border is added around the existing image rather than cutting into it.

Can the border be transparent?

No. The border is a solid, opaque fill in the color you pick. A PNG saves it in that color rather than as empty space.

How wide can the border be?

From 1 to 100 pixels on each side. Because it is added on every side, the output grows by twice that amount in both width and height.

Why does my border look so thin on a large photo?

The width is in pixels, not a percentage. A 20 px border on a 4,000-pixel-wide photo is only half a percent of its width, so raise the width for big images.

Related tools