Add a border to an image

Add a colored border around a photo, in pixels or percent, and round its corners if you like

Need the text of an image in another language? Our image translation service translates it while preserving visual design.

Need text translation in images?

The image translator gives you the same image back with its text in another language and its original layout.

Try translation

How adding a border works

Adding a border surrounds an image with a band of solid color, with square or rounded corners.

  • You set the width in pixels or as a percentage of the image, the color and, if you like, a corner radius.
  • The image is sent to our server, processed in memory with the sharp image library and returned to your browser; it is not saved.

Free to use, with no account or sign-up. No watermark or logo is added to your result.

On a computer or a phone

The tools open in your browser: nothing to install and no account to create.

Computer

Recent versions of Chrome, Firefox, Safari and Edge.

Mobile

Safari on iPhone and iPad, Chrome on Android. Upload a photo from your gallery or your files.

Frequently asked questions

Everything you need to know about adding a border and rounded corners to an image.

How do I add a border to an image?

Upload the image, set the border width, pick its color, then download the result. The live preview shows the border to scale, and the size of the result is shown below it.

Can I set the border width in pixels or percent?

Yes. Choose from 0 to 1,000 pixels, added on each side, or from 0 to 25% of the image’s shorter side, which gives photos of different sizes borders of the same proportion.

How do I round the corners of an image?

Move the Rounded corners slider. The radius is a percentage of the shorter side of the result: 0% keeps square corners and 50% rounds the short sides completely, so a square image becomes a circle. With a border width of 0, the corners of the image itself are rounded.

Are the rounded corners transparent?

In PNG, WebP, AVIF and TIFF, the area outside the corners is transparent. JPEG has no transparency, so that area is filled with a color you choose, white by default. GIF keeps transparency, but its curved edges look jagged.

Which formats and file sizes are supported?

JPEG, PNG, WebP, AVIF, TIFF and GIF images up to 10 MB; an animated GIF keeps only its first frame. The result keeps the original format unless you choose another one, and can be up to 40 megapixels with its border.

Are my images stored?

No. The image is sent to our server, processed in memory for this request and returned to your browser; the tool does not save it. No account is needed.

Translator, API and guides

To translate one image, use the image translator; to translate images from your own code, use the API. The blog has guides, and our comparison with Google Translate explains when each tool fits.

Get your image back in another language

Upload a product photo, ad, menu or screenshot and get it back with its text in another language. Check names, numbers and prices before you share or publish it.

Text rewritten by an AI image model
Follows the original layout, fonts and colors
45 target languages
No credit card required
Free plan: 3 images a month