Add Border, Rounded Corners & Shadow
Borders, rounded corners, shadows and Polaroid-style frames for one photo or a hundred.
Preview
Border, corners and shadow
Your images
About the Add Border, Rounded Corners & Shadow
Put a border around a photo, logo or screenshot: a solid colour, a gradient or a blurred copy of the photo itself, outside the picture (the image grows) or inside it (the size stays the same), with a different width on each side if you like. Round the corners, add a soft drop shadow and padding, or pick the Polaroid-style preset with its deep bottom edge and an optional handwritten caption.
Sizes can be set in pixels or in percent of the photo’s shorter side, so a whole batch of different-sized photos gets the same look — a 3 % border is 32 px on a 1080 px photo and 90 px on a 12-megapixel one. Rounded corners, shadows and transparent padding are saved as PNG or WebP with real transparency. Everything is drawn in your browser; nothing is uploaded.
How to use it
- Drop images onto the box, choose them, or paste one with Ctrl+V (⌘V on a Mac): JPG, PNG, WebP, HEIC, GIF, BMP or AVIF, up to 100 at a time.
- Pick a preset (white border, Polaroid-style, rounded with shadow, blurred, gradient …) or start from the controls.
- Choose the border style, where it goes (outside or inside the photo) and its width — one value, or different widths for the top, right, bottom and left.
- Set the corner radius, shadow and padding. The preview updates as you type; use Previous / Next to check other photos of the batch.
- Choose the file format (Auto keeps JPG photos as JPG and uses PNG when there is transparency), then Download — or Download all as ZIP for a batch.
Examples
4000 × 3000 px photo · Solid #FFFFFF · outside · 3 % on all sides
4180 × 3180 px: 3 % of the shorter side (3000 px) is 90 px on every side.
1080 × 1080 px · Polaroid-style preset (5.5 % sides and top, 21 % bottom, shadow, 3 % padding)
1280 × 1466 px PNG: borders of 59, 59, 227 and 59 px, plus 41 px left and right and 50 px above and below for the shadow, on a transparent background.
The canvas is made large enough for the whole shadow (about 1.5 × its blur past the shifted edge), so it is never cut off.
1200 × 800 px · Inner border preset (2 %, white)
1200 × 800 px — the same size; a 16 px white band covers the photo’s edges.
Common uses
- White borders that keep a photo from blending into a white page, feed or print.
- Rounded corners and a soft shadow for screenshots, app images and product photos on websites (PNG with transparency).
- Polaroid-style frames with a caption for invitations, scrapbooks and social posts.
- Blurred-photo or gradient frames that match the picture’s own colours.
- The same border on a whole folder of photos, sized in percent so every photo looks alike.
Outside or inside the photo?
- Outside the photo adds the border around the picture: nothing is covered, and the image grows by the border widths (a 1200 × 800 photo with 24 px borders becomes 1248 × 848).
- Inside the photo keeps the exact size and draws the border over the picture’s edges — useful when a website or printer needs a fixed size. The covered strip of the photo is lost.
- A caption needs an outside border: it is written in the bottom border, so make that one deep (the Polaroid-style preset uses 21 %).
Pixels or percent of the shorter side
With px, every image gets the same number of pixels, which looks thinner on large photos and thicker on small ones. With %, lengths are a share of each photo’s shorter side: 3 % is 24 px on an 800 px-high photo and 90 px on a 3000 px-high one, so a batch of mixed sizes looks consistent. The hint under the width shows the pixel value for the photo in the preview.
Corners, shadow and transparency
- Corner radius rounds the outer corners of the framed photo. With an outside border, Photo corners rounds the picture inside the border separately (equal radii minus the border width give evenly curved, concentric corners). Radii that are too large for the image are reduced in proportion, the way browsers handle CSS border-radius.
- The shadow follows the shape of the framed photo, including rounded corners and transparent parts of a PNG. Its blur works like CSS: the visible shadow reaches about 1.5 × the blur value past the shifted edge, and the canvas grows to include it.
- Areas outside rounded corners, the padding and the space around the shadow are transparent unless you choose a padding colour. PNG and WebP keep that transparency; JPG cannot store it, so it is filled with the JPG background colour (white by default).
Border styles
- Solid: any colour.
- Gradient: a linear gradient between two colours across the whole frame, at the angle you set (CSS convention: 0° points up, 90° to the right, 135° from top left to bottom right).
- Blurred photo: the photo itself, enlarged to cover the frame and blurred, optionally darker or lighter — a frame in the picture’s own colours.
Limitations
- Images up to 50 megapixels in, and results up to 16,384 px per side and 50 megapixels out.
- Animated GIFs and WebPs are framed as a single still image (their first frame).
- The photo is redrawn, so metadata such as EXIF camera details and GPS location is not kept; the photo is turned upright according to its EXIF orientation first.
- HEIC/HEIF photos (iPhone) open directly in Safari. Other browsers need the HEIC decoder (1.4 MB, the same one the HEIC to JPG Converter uses): it is downloaded from this site the first time you add a HEIC photo, then the photo is decoded on your device. Framed HEIC photos are saved as JPG (or PNG with transparency).
- One border per pass. For a double border (for example a thin dark line inside a wide white mat), download the result and add the second border to it.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
How do I add a plain white border to a photo?
Choose the White border preset, or set the style to Solid, the colour to white and a width such as 3 %. Keep the format on Auto, so JPG photos stay JPG.
Why are the rounded corners white instead of transparent?
JPG cannot store transparency, so the corners are filled with the JPG background colour. Choose PNG or WebP (Auto does this for you when the result has transparent areas).
Does adding a border reduce the photo’s quality?
The photo itself is not resized. PNG output is lossless; JPG and WebP are saved again at the quality you choose (92 by default), which keeps the picture visually unchanged for most photos.
Can I give the same border to many photos at once?
Yes. Add up to 100 images; every one gets the current settings. Use % units so photos of different sizes look the same, check a few with Previous / Next, then download them all as one ZIP.
Are my photos uploaded?
No. The photos are decoded and drawn by your browser on your device, and the page keeps working offline once it has loaded.