โ† Back to Tools Home | Olutil Image Tools
๐ŸŒ English

Add Border to Image

A photo dropped straight into a document or a shop listing often looks unfinished. A border, a little breathing space and a soft shadow make it sit properly on the page, and the shape stays consistent across a whole set of images.

Set the border width, colour, corner radius, inner padding and shadow strength, then export PNG, JPG or WebP at the size the frame needs. All processing runs locally in your browser. Your data is not uploaded to any server. 100% Local

๐ŸŸก Upload an image to add a border

How to Use Add Border to Image

  1. Upload an image โ€” click the drop zone, drag a JPG, PNG or WebP in, or paste with Ctrl/โŒ˜+V.
  2. Set the border width โ€” drag from 0 to 100 px; the same thickness is drawn on all four sides.
  3. Pick the border colour โ€” use the picker for any hex value, or click White, Black or Transparent.
  4. Round the corners โ€” the radius shapes the image and the outer frame together, so the curve stays parallel.
  5. Add inner padding if the image feels cramped โ€” padding pushes the photo away from the border and creates a mat effect.
  6. Tick the shadow and tune its strength โ€” blur, offset and opacity grow with the frame size instead of using fixed values.
  7. Choose a format โ€” PNG or WebP keeps transparent borders and shadows, JPG flattens onto white.
  8. Download the framed file and check the corners at 100% zoom.

Linking width, padding and radius

These three numbers share the same geometry, so changing one affects the others. A 40 px radius on a photo with 24 px border and 12 px padding needs an outer radius of 76 px; the tool handles that automatically. Keep the total under half of the shorter side, otherwise the curves flatten against each other. If the frame starts to look like a thick slab, reduce the border before increasing the radius.

Transparent borders and shadow-only frames

A transparent border colour leaves the frame area empty while the shadow is still drawn, which produces the lifted-photo look without any visible line. That combination only works in PNG or WebP, because JPG has no alpha channel. On a coloured page the shadow blends into the background, so test the file on the real page colour rather than on white.

Features

When to Use Add Border to Image

Product listings and catalogues

Marketplace thumbnails look cleaner when every product sits inside the same frame. Set one border width, one padding value and one radius, then apply the same numbers to the whole catalogue. A white border with a light shadow separates a bright product from a white page without adding a heavy graphic element. Export at the marketplace's recommended pixel size to avoid extra compression.

Documents, reports and printables

A screenshot pasted into a report looks like a raw capture until it gets a thin frame. A 1โ€“4 px border in a neutral grey defines the edge, and a small radius keeps it from looking like a table cell. For print, keep the border dark enough to survive photocopying and export PNG rather than JPG so fine lines stay crisp.

Social posts and story graphics

A coloured border turns a plain photo into a branded tile that fits a feed grid. Pick a colour from the brand palette, add a few pixels of padding and a soft shadow, and the image reads as a designed card rather than a snapshot. Keep the border proportional: a 10 px frame on a 1080 px image is visible, while 40 px on a 300 px thumbnail would swallow the subject.

Polaroid-style gifts and photo prints

Wide white borders with extra space at the bottom imitate instant prints and work well for gifts. Use padding rather than a thick border so the photo keeps its size, then add a light shadow for depth. Print on matte paper, keep the border a true white and export at 300 DPI so the edge stays clean after cutting.

FAQ

Why does my transparent border show white in the JPG?

JPG cannot store transparency, so the empty frame area is flattened onto white during export. Use PNG or WebP if the image will sit on a coloured background, or set the border colour to match that background before exporting. The geometry is unchanged; only the empty pixels receive a colour.

What is the difference between border and padding?

The border is the visible frame around the outside. Padding is the gap between the photo and that frame, which shows the same border colour as a mat. Padding does not change the border thickness, so a wide pad with a thin border produces the classic passe-partout look, while zero padding gives a tight frame.

Why is the shadow so soft on a large photo?

The blur, offset and opacity are calculated from the frame size and the strength slider, not from fixed pixels. A shadow that looks right on a 600 px thumbnail would be invisible on a 4000 px export, so the values scale up. Lower the strength if you want a crisper, more graphic shadow on a big image.

Does the tool crop or resize my photo?

No. The canvas grows by the border and padding on each side, and the original pixels are drawn at their full size in the middle. Nothing is cropped and nothing is upscaled, so the photo keeps its detail. Only the outer canvas dimensions change.

Is my image uploaded to a server?

No. The file is read locally, drawn on a canvas and exported on your device. There is no upload step and no stored copy. That makes the tool usable for client photos, internal documents and product images that have not been published yet.

Related Tools