To add a border to an image, add your photos, set the border width (in pixels or as a percentage of the shorter side), pick a colour and whether it goes outside or inside the picture, optionally add a second border, and press Apply. Free, private, and your images are never uploaded.
Add your images, adjust the settings with a live preview and download the result. Everything runs in your browser, so your images are never uploaded.
Loading the tool…
To add a border to an image, add your photos, set the border width (in pixels or as a percentage of the shorter side), pick a colour and whether it goes outside or inside the picture, optionally add a second border, and press Apply. The border is drawn in your browser; nothing is uploaded.
Frame photos with a clean border in any colour. Add it outside the picture for a classic white frame, or inside to overlay the edges, and stack a second thin line for a polished look. It is a free tool from Websolindia, a New Delhi website design and SEO company that builds fast, image-optimised websites.
Unlike most online image tools, this one does not upload your pictures. Your browser decodes each image, applies the edit with our own pixel code and shows a live preview before you download. You can process up to 30 images at a time and download them one by one or together as a ZIP.
Once your image is ready, you may also want the Round Image Corners, the Add Watermark to Image Online or the Square Image Cropper Online. All of our free image tools are listed in the Image Editing Tools Online collection and the Websolindia Image Converter.
Use this table to choose settings with confidence.
| Border (% of shorter side) | Look |
|---|---|
| 1–2% | Fine outline |
| 3–6% | Classic photo frame (recommended) |
| 8–15% | Wide matte, gallery style |
| 15%+ | Heavy frame |
This is exactly what happens to your image, with no hidden step. You can check that nothing is uploaded by watching your browser's network tab while you use the tool.
| Step | What happens |
|---|---|
| 1. Read and decode | The photo is decoded and its orientation applied. |
| 2. Work out the width | Pixels are used as given; a percentage is applied to the shorter side of each image: width = shorter side × p ÷ 100. |
| 3. Build the frame | Outside: a larger canvas in the border colour (and the second border colour around it) with the photo centred. Inside: the outer edge pixels are replaced by the border colours. |
| 4. Encode | The result is saved in your chosen format and quality. |
| Setting | Default | Choices | What it does |
|---|---|---|---|
| Border size in | % of the shorter side | Pixels; % of the shorter side | |
| Border width | 4 | 0 to 400 | |
| Border colour | #ffffff | Any colour | |
| Border position | Outside (makes the image larger) | Outside (makes the image larger); Inside (covers the edges) | |
| Add a second border | Off | On / Off | |
| Second border width | 1 | 0 to 200 | |
| Second border colour | #000000 | Any colour | |
| Save as | Same as the original | Same as the original; PNG (keeps transparency); WebP (smaller, keeps transparency); JPG (smallest for photos) | |
| Quality | 92 | 1 to 100 | Used for JPG and WebP output. 85–92 suits most images. |
| What | Formula | Notes |
|---|---|---|
| Border width | shorter side × p ÷ 100 | Percent mode. |
| Outside size | width + 2 × (b₁ + b₂) | Same for height. |
| Component | Role | Where it runs |
|---|---|---|
| Our border code | Draws outside and inside frames | Your browser |
| Topic | Detail |
|---|---|
| Images per batch | Up to 30 at a time |
| File size | Up to 150 MB per image |
| Image dimensions | Up to about 120 megapixels; larger images are declined to protect your browser |
| Privacy | Images are processed in your browser and never uploaded |
| Browsers | Current Chrome, Edge, Firefox and Safari (WebAssembly is needed for AVIF, HEIC, TIFF and AI tools) |
| Metadata | EXIF and location data are not copied into new files |
Add the photo, keep the colour white, choose a width such as 5%, and press Apply.
Outside adds a frame around the picture and makes the file larger in pixels. Inside paints over the outer edge and keeps the original size.
Yes. Tick 'Add a second border' and choose its width and colour; it is drawn outside the first.
A percentage keeps the border proportional to each image, so a batch of different-sized photos looks consistent.
No. The photo pixels are kept as they are (outside mode). Saving as JPG applies JPG compression.
Yes, with Round Image Corners.
Yes. It is free, needs no sign-up, adds no watermark and has no daily limit. It is provided by Websolindia.
No. Your images are read and processed inside your browser on your own device. They are never sent to Websolindia or anyone else, which is why the tool is safe for private photos.
No. New files are created from the pixels, so camera details, GPS location and other embedded metadata are not copied. Keep your originals if you need that information.
Up to 30 images per batch and 150 MB per image. Images above roughly 120 megapixels are declined with a clear message rather than freezing your browser.
Current versions of Chrome, Edge, Firefox and Safari on computers, phones and tablets. Large images and AI or AVIF features run faster on a computer.
Websolindia built it. We are a New Delhi website design, SEO and digital marketing company serving businesses since 2014. See our website designing and SEO services.
More in this collection: Image Editing Tools Online